-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add a user context provider to the app #24
Conversation
export default function Router() { | ||
return ( | ||
<NavigationContainer> | ||
<AppNavigation /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im thinking if onboarding ever gets added it can be its own nav stack. Or if we ever want to have another nav stack can also be separated here
Not sure if we should hold off on this, as refactoring app.tsx mid sprint is probably a bad idea |
Found solution to RNP components not utilizing tailwind styling, some changes to the components to make them more generic to allow it to be used in multiple places with different content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just adding a file input into swagger for file upload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically cleanup, but also adding context and paper provider so everywhere has access to RNP and our group and user context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
figured out how to get tailwind to work in RNP lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
figured out how to get tailwind to work in RNP lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted an example file people could visit for frontend stuff, this was basically my goal with this refactor
* feat: userContext stuff idk man * refactor: general all around fixes (removing unused imports, fixing navigation errors) * refactor: all over the place with this commit, but added swagger docs for file upload * refactor: make context more general * refactor: utilize card and popup in the medlist FE
* Added mock data * feat: get tasks by gid/uid/status/type/date * style: formatting * fix: Remove commitizen branch * test: fix task tests * style: quick reformat * feat: assign user(s) to a task CRUD and test * style: quick style * refactor: abstract queries, enable multiple * refactor: abstract filter query/arg building logic * crud routes for create new task, delete task, and update task info * Feat: generic card and popup modal (#20) * Intial card/button * Basic card and modal Basic card and modal skeleton * fixed card and popup to have the requirments fixed card and popup to have the requirments * wip for passing medication data into Card component * trying to get stuff workin * trying to get comps workin * stuff * Final Working Card + Popup --------- Co-authored-by: AdharshKan42 <[email protected]> * fix: go formatting stuff werent running through entire directory (#23) * feat: add a user context provider to the app (#24) * feat: userContext stuff idk man * refactor: general all around fixes (removing unused imports, fixing navigation errors) * refactor: all over the place with this commit, but added swagger docs for file upload * refactor: make context more general * refactor: utilize card and popup in the medlist FE * backend hot reload * feat: added hot reloading for backend code * refactor: abstract queries, enable multiple * refactor: routes are updated * feat: new route backend * feat: add a new label crud and test * feat: delete label crud and test * refactor: FE remove extra card file * test: fix typo in db, tests passing locally * refactor: modify task filter to bind to query * feat: update task name and color route and test * docs: fix swaggo comment style for task assignment and deletion * docs: same swagger changes for label routes * refactor: implement inclusive data range filter * refactor: keep consistency between route groups * docs: fix a swagger doc return type --------- Co-authored-by: bedrockdude10 <[email protected]> Co-authored-by: haleymartin-6 <[email protected]> Co-authored-by: CaitlinFlynn <[email protected]> Co-authored-by: AdharshKan42 <[email protected]> Co-authored-by: Matt McCoy <[email protected]> Co-authored-by: Matt McCoy <[email protected]>
Description
Link to Ticket
Please include a summary of the changes and the related issue. Please also
include relevant motivation, context, and images!
Added a user context provider to allow user things like id, email and other things in the future to be added globally to components.
Refactored App.tsx to clean up the code a bit and make it more expandable.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. If they are unit
tests, provide the file name the tests are in. If they are not unit tests,
describe how you tested the change.
I printed the stuffs on the main screen
Checklist