Git Product home page Git Product logo

capstone's People

Contributors

getaclue avatar getaclue00 avatar leann88 avatar nadaradwan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

capstone's Issues

Fix broken JS tests on Ember 2.11

as a result of #81, we have the following files that are currently broken:

  • tests/integration/components/service-editor-test.js
  • tests/unit/controllers/employees/delete-test.js
  • tests/unit/controllers/employees/new-test.js
  • tests/unit/controllers/my-calendar/appointments/show-test.js
  • tests/unit/controllers/services/delete-test.js
  • tests/unit/controllers/services/new-test.js
  • tests/unit/controllers/services/show-test.js

From what I can see, the majority of the problems is due to testing of async functions; Usually, the following error occurs:

Assertion after the final `assert.async` was resolved

However there are some other minute details as well. Each person who worked on one of these would probably be best to fix the broken tests.

Link Appointments to Services

  • waiting on #26

Appointments Side

  • add relationships on Ember
  • add relationships on Rails
  • add necessary service fields to the appointment-editor.js component
  • assign a service package to an appointment during appointment creation
  • change service package to an appointment during appointment modification
  • remove link between services and appointment during appointment deletion

Tests

  • modify appointment-editor.js component tests to include services - Ember
  • tests for relationships during creation/modification of an Appointment - Ember
  • tests for relationships during creation/modification of an Appointment - Rails

Research Push Notifications (iOS and Android)

  • we don't have experience with this
  • we told the client we aren't sure if this would be done but we would look into it if we had time
  • if this is possible this would probably need to be done via back end
  • probably need to have a separate process that is just responsible for this
  • purpose of this: notification for upcoming appointments (30 min before)

Running Rails AND Ember on Travis

  • we current run Rails tests
  • the plan is to keep running only Rails on Travis
  • Ember testing will be done locally
  • it will be a bit challenging to set up since our repo is private and I currently have 100 free builds per month (I am currently sitting at 51/100)
  • from what I understand we need to look into Build Matrix
  • found that from here
  • if we make our repo public... will be much easier but the code will be public
  • I have no problem with running our tests locally for now as long as each developer does their due diligence to run the tests before submitting code

link client to appointment

make car_id non optional for appointment
blocked until client and car are created in Ember and linked

Authorization and Authentication

Will be used to allow the staff of R & A detailing to log on and perform their desired actions. Should be used to identify whether the staff member is an employee or administrator.

Investigate Rails and Ember connection

Locally everything works fine.
However, when you want to test it with other devices, rails is not having a good time on mac for some reason. I haven't tested *nix or windows... so...

This is the temporary solution for mac

mac

  • type ifconfig and find your ip address (on my machine that is the en0 adapter)
  • start your rails server binding to 0.0.0.0 as rails s -b 0.0.0.0
  • manually change all references in Ember that references to localhost to the ip you found above. Currently this involves adapters/application.js and authenticators/devise.js files.

There has to be a different way as your ip is most likely to change...

Need to investigate... it seems more of a Rails issue than an Ember issue.

Rails Documentation

  • how to install rails (and dependencies)
  • how to make it run
  • directory structure
  • database and what is needed (postgres)
  • testing environment vs. development
  • production deployment??
  • this is NEEDED (for when we hand off project or for someone inspecting the code and not familiar with Rails)

Appointment History

  • related to appointment-history
  • who can view this?
  • I think for this one we need clarification:
  • can employees see their own appointment history?
  • why or why not? (way for them to make sure their payment is correct?)

Figure out why Appointment's date format is not correct for datetime-local input

image

If you look at the line that begins with Temp: ... it shows the current date that was bound to the start/end datetime-local input fields. For some reason datetime-local is being finicky with our display of date.

A good thing is that we have moment in our project that allows us to display the date in any way that we want. Unfortunately, I haven't had a chance to debug it yet.

From what I understand, it is either a bug in the way that date is formatted... or the binding between the input field and the model's date attribute (which changes start or end into a String rather than keeping it as a Date).

For now, the functionality works if you manually enter everything. Eventually that date input field will be fixed and the Temp: ... line will be removed.

Adjust how resources will be sent from Rails

  • we are going to assume that id 0 is going to be a default value for every resource (this is so we don't have dangling resources)
  • thus, we only send data that is after the first resource
  • it is fine for now... will be 2nd semester issue

Link Appointments to Employees

  • blocked by #31

Appointments Side

  • add relationships on Ember
  • add relationships on Rails
  • add necessary employee fields to the appointment-editor.js component
  • assign a employee to an appointment during appointment creation
  • change employee assignment to an appointment during appointment modification
  • remove link between employees and appointment during appointment deletion

Tests

  • modify appointment-editor.js component tests to include employees - Ember
  • tests for relationships during creation/modification of an Appointment - Ember
  • tests for relationships during creation/modification of an Appointment - Rails

Modify settings page

Currently the page is simply a plain form and needs to be updated to conform with the remainder of the site.

  • Clean up the my settings page

  • Make it more user friendly

  • Ensure it is mobile responsive

Modify appointment attributes

  • add cost (and calculate the initial cost based on the service's cost) #78
  • add location (and generate the google image) #98
  • change the way appointment start and end times are displayed #78
  • - the initial idea is to the follow: (1) pick a date (2) pick start time (2) pick end time

Bootstrap toogle menu does not close

When using the web application in a mobile screen, a hamburger menu can be used to navigate through different pages. Clicking the icon causes the menu to drop-down but it does not close if clicked again

Figure out why ESA doesn't redirect properly

ESA should be redirecting to a page on login simply by setting routeAfterAuthentication to a specific route;
However, when I set routeAfterAuthentication: 'my-schedule' it doesn't redirect.
#78

Getting more done in GitHub with ZenHub

Hola! @Leann88 has created a ZenHub account for the getaclue organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @Leann88.

ZenHub Board

Account Modification

  • related to my-account view
  • user can modify their own parameters

Ember

  • show view
  • show logic
  • show tests
  • update view
  • update logic
  • update testing
  • create view
  • create logic
  • create tests
  • delete view
  • delete logic
  • delete tests

Rails

  • show logic
  • show tests
  • update logic
  • update testing
  • create logic
  • create tests
  • delete logic
  • delete tests

Ember Documentation

  • how to install ember (and dependencies)
  • how to make it run
  • directory structure
  • testing environment vs. development
  • production deployment??
  • this is NEEDED (for when we hand off project or for someone inspecting the code and not familiar with Ember)

Change service's attributes

  • Change price_small and price_large to just "price"
  • we should be able to calculate the respective price rather than having 2 distinct attributes
  • needs changes in Rails + Ember

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.