-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend(queries): refactor to unified query interface to help mainta…
…inability (#1205) * feat: main three user queries abstracted * fix: bad imports for new use queries * wip: doing removeCourseMutation * wip: refactored hook creation and added addToUnplanned and removeCourse * feat: updateMark, removeAllCourses, and resetUser hooks... also fixes type no-arg mutations * feat: toggleLockedTerm, toggleSummer, updateStart and updateLength * feat: added support for queryClient and toggleShowMarks, hideYears, showYears hooks * feat: final few mutations * fix: removed user/mutation imports * wip: created most hooks, working on static hooks * Add more static queries * wip: finished all the static hooks * wip: temporary fixed non-null assertion issues * fix: replace combo extended info query with 3 separate queries * feat: applied sensible default settings for queries * fix: refactored graphical selector slightly to finally fix bubble highlighting * fix: final to keys * fix: extracted out the default options --------- Co-authored-by: Lucas <[email protected]>
- Loading branch information
1 parent
3a4ce84
commit d9440ad
Showing
46 changed files
with
841 additions
and
872 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.