csc309-pf's People
Forkers
yichenesiacsc309-pf's Issues
Authentication
Add Start Date for class offering
Start Date for offering. Need to add changing stuff in the "Listener" for end date, but with start date.
Enroll All Future Change
if a user says "enroll all future" for a class offering, then admin increases end date, as long as subscription period allows it, user should be autoenrolled into these
Implementation:
Make a EnrollOffering object. Make the enroll
method do this enrolling to.
Whenever you increase end
date or decrease start date
(If it's still in the future) check for all the EnrollOffering
's tied to that CourseOffering
, and enroll those.
NOTE: Check if subscription is still valid for those dates.
Subscription Page
Class Scheduler Page
- Filter by Studio Name/ID and all the other filters that were predetermined in the backend.
- Each shown class should have an “ENROLL” button, which enrolls your user:
- If class is full capacity, enroll button is greyed out
- Gives option to “Enroll in this class (the class instance)” vs “Enroll in the class (the class offering)”
**NOTICE: should come before #2 **
Improve Class Scheduler UI
Enroll Change
Check when enrolling that the subscription is still valid then.
Not Authenticated Page
Form Validation
On Login, Sign Up and Edit Profile
Login & Signup
Login & Signup
NOTICE: Leave saving the auth token into the browser until everything else is finished.
When you click “Sign Up” it takes you to a separate sign up flow / page where the user has to fill in details such as: Name, Email, etc etc.
WHEN A USER FINISHES SIGNING UP, THEY ARE PROMPTED FOR THEIR CHOICE IN:
- Monthly / Yearly Subscription plan
- Credit Card Information
Profile Page
- Render all your profile info
- Button: Edit Profile
- Button: Edit Schedule -> Schedule Editor
- Section: Your current plan -> Subscription Page
User has subscripton endpoint
Comment out all extraneous admin stuff
Schedule Editor
- See logged in user’s schedule
- Tabs for [SU,M, …, SAT], renders classes for those days. Can change selected week
- Each class has “Drop Class” button:
- Pressing gives options: “Drop this class” vs. “Drop the class”
Should be completed after #4
Cancel a Subscription
- Future Payments should be removed (WHICH WE DO)
- Payment history should be persisted
bash file to start up whole project (both BE and FE)
and prepopulated database
Subscription Plan Endpoint
Add GET endpoint that retrieves all the subscription plans.
Also map the numbers to the Strings
Studio Page / Popup
Contains general info about studio:
- Address
- Location
- Directions
- Button Linking to Class Schedules page, with it filtered so that it is already autopopulated with current studio as Studio Name
Studio Finder
Looks like this: https://www.goodlifefitness.com/clubs.html#findaclub
Flow:
- Click on "STUDIOS" on the navbar and lands on the studios page.
Two buttons: Studios List, Map
Important to-haves:
MAP:
- Search by Postal Code or Lat/Long (https://www.npmjs.com/package/react-geocode) and render the ones closest to furthest
- Renders them on a map with pins
- Hopefully make pins clickable
STUDIO LIST:
- Filtering options (calls backend filter) each time the button "filter" is pressed
- Clicking on a studio info launches an info popup that slides in from a side. Grays out background. Has following properties:
Should come before #2
Filter Class Instances
As a user, I want to search/filter a studio's class schedule. The search/filter can be based on the class name, coach name, date, and time range.
This but with class instances.
Navbar & Front Page
Serve all enrolled class instances for User
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.