WIP - Rewrite frontend components to use React Query#1080
Draft
lhvy wants to merge 19 commits intoserver-rewritefrom
Draft
WIP - Rewrite frontend components to use React Query#1080lhvy wants to merge 19 commits intoserver-rewritefrom
lhvy wants to merge 19 commits intoserver-rewritefrom
Conversation
f643c88 to
d6554e5
Compare
… as react queries
3207e00 to
ad30d44
Compare
* feat: add mutation and route for add event * feat: add event form with refactored closing to unmount instead of manually resetting states * feat: add mutation call for new event added * feat: add back colors * feat: add back in color options and refactored calculation of color chunks * feat: add color to add event request * feat: refactor again to have 1parent-2children architecture using useImperativeHandle hook * feat: implement course and class time fetch * feat: add back in tutoring form with proper gql queries + have gql query work now * fix: make a separate hook for the tutoring information fetch to not interfere with optimal fetch used in CourseSelect * feat: add event ids returned from get timetable route * fix: build error due to typing of gql query * Address review comments * Fix minor issues and cleanup * Fix bugs with graphql and tutoring events * Add todo for later * Apply lint fix --------- Co-authored-by: Lucas <me@lhvy.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TBD