Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize data store and routing #3

Merged
merged 23 commits into from
Jun 7, 2020
Merged

Initialize data store and routing #3

merged 23 commits into from
Jun 7, 2020

Conversation

WillieCubed
Copy link
Member

Resolves #1, resolves #2

Description of Changes

All the data types for Comet Planning have been defined in src/lib/types.js. If you're using a code editor with IntelliSense like VSCode, these should help code autocomplete.

Redux data store

This PR creates a Redux data store to hold reducers that manage app state. Each reducer corresponds to a different feature/data collection of the app such as planner for schedules and courses for courses.

Router

This PR uses the React Router library to set up the routes described in #2.

Other Notes

Although this PR sets up the places to write code for rendered UI, it doesn't actually create pages. These should be created in laster PRs.

This uses react-router-dom to introduce three main paths:
- /, the default landing page
- /auth, the interim authentication page
- /schedules, /schedules/:id, the schedule list page and schedule
  planning page.

TODO: Display list of schedules and handle sign-in.
This is temporary and will eventually be integrated as a dialog in the
SchedulePlanner component.
Instead of keeping track of which students own which schedules through an
owners array for each student, each schedule keeps track of its own
owner.
aidigii
aidigii previously approved these changes May 22, 2020
@lokeshyerneni lokeshyerneni mentioned this pull request Mar 24, 2023
This was referenced Mar 24, 2023
@lokeshyerneni lokeshyerneni mentioned this pull request Mar 25, 2023
@jasonappah jasonappah mentioned this pull request Mar 29, 2023
akevinge pushed a commit that referenced this pull request Apr 7, 2023
This was referenced Apr 11, 2023
This was referenced Apr 24, 2023
@vaipos vaipos mentioned this pull request Aug 27, 2023
@NoWhere-2-Go NoWhere-2-Go mentioned this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Set up routing Set up Redux store
2 participants