-
Notifications
You must be signed in to change notification settings - Fork 26
PR2: Show modal button #1854
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
Closed
luSteven01
wants to merge
14
commits into
SCE-Development:dev
from
luSteven01:luSteven/20250729_show_modal_button
Closed
PR2: Show modal button #1854
luSteven01
wants to merge
14
commits into
SCE-Development:dev
from
luSteven01:luSteven/20250729_show_modal_button
Conversation
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
… chatMessage in the db (SCE-Development#1822) * added ChatMessage schema & modified writeMessage function to write to mongodb * modified /getLatestmessage to get the latest message, need to test it out in postman now * updated writeMessage to be async for proper mongoDB chatMessage creation * getLatestMessage now works for specific chatRoom ids, gets the userid via querying the User database by username and then extracting the userId * uncommented out some token and apikey logic * fixed lint errors yay * reverted the package-lock.json file to the one from dev branch * removed all the random styling changes, kept only the logic changes * changed from expiresAt to expireAt and added TTL index for automatic expiration * made writing to mongoDb as a seperate function * removed the extracting username logic from writeMessage. * fixed lint errors * removed writeToMongo function, just added it inside the /send route * Fixed lint errors
* updated forgot page to match login page ui * Fix linting issues on ForgotPassword.js * removed originalForgot.js * disable button sometimes --------- Co-authored-by: evan <[email protected]>
…#1865) * Fix: Set lastLogin date in /login route * delete the api function * delete updateLastLoginDate * delete comment
* add basic audit logs page for admin dashboard * change items per page from 5 to 50 + lint updates * add formatting for audit log cards * remove unused error + loading components * move utils to components file * combine utils into AuditLogCard.js * lint fix * implement filtering and updated pagination * update activityTypes.js to match mongodb schema * ensure filtering takes into account 0-indexed currentPage + adjust useEffect to trigger when applying filter * lint fix * change filtering to one input that searches for first name, last name, and email * add key per auditLogCard + combine FilterActivityTypes to AuditLog.js page * lint fix * implement colors for light mode + redirect to user edit when pressing on audit log username * minor css change
* add audit logs on led sign update + tests * lint fix * lint fix * remove editedBy field in audit log details Co-authored-by: Evan Ugarte <[email protected]> * fix api test --------- Co-authored-by: Evan Ugarte <[email protected]>
) * add audit logs for ad creation/deletion * i accidentally changed the wrong file lol * remove createdBy field in audit log details Co-authored-by: Evan Ugarte <[email protected]> * remove redundant fields in audit logs * lint fix * Update api/main_endpoints/routes/Advertisement.js Co-authored-by: Evan Ugarte <[email protected]> --------- Co-authored-by: Evan Ugarte <[email protected]>
* add audit on user password/profile change * Update api/main_endpoints/routes/User.js Co-authored-by: Evan Ugarte <[email protected]> * delete unused endpoint * fix User tests + lint --------- Co-authored-by: Evan Ugarte <[email protected]>
…light mode for now cause it was bugging out on me, and changed the input text to white
Author
|
i screwed up this branch, i made a new one. see #1868 |
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.
Merge #1853 first!
Added a modal button to the navbar for users who are on mobile to be able to access the modal using sce context!!!!!