Code Monkey home page Code Monkey logo

csc309-pf's People

Watchers

 avatar

Forkers

yichenesia

csc309-pf's Issues

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

Display Current Plan:
image

  • Show next payment for subscription here
    image

Changing Plans: Shows both plans:

  • Grays out your current plan, with button that says “Cancel your plan”
  • Non-Current plans have a button saying “Switch to this plan!”
    image

View Payment History:

  • Shows payment history

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 **

Enroll Change

Check when enrolling that the subscription is still valid then.

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.
Screen Shot 2022-11-30 at 5 46 43 PM

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

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

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

Screen Shot 2022-12-05 at 1 48 44 PM

Important to-haves:

MAP:

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.

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.