Shift details#53
Merged
Merged
Conversation
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
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.
Developer: Kyle Fan, Ashley Navos
Closes #42
Pull Request Summary
Display all the shifts visible to user based on the day.
NOTE: Although the branch is called shift-details, the way the routing works is through the route "/day-details/[dayId]". We took the liberty of doing this change because it made more sense (since we're doing a lookup of shifts to be displayed based on the dayId).
Modifications
Files Modified:
src/components/Dashboard.tsxsrc/styles/Dashboard.module.cssFiles Created:
src/components/GreyNavbar.tsxsrc/styles/Navbar.module.csssrc/app/day-details/[dayId]/page.tsxsrc/components/shift-details/ShiftDetails.tsxsrc/styles/ShiftDetails.module.csssrc/app/api/signup/route.tssrc/database/models/Shift.tsTesting Considerations
Shift.tsschema to include information about the volunteer coordinator and the day/program description (to be shown above the Available Shifts section), but for now this version is functional.fetch("/api/auth/sign-in/email", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ email: "john.mustang.test@example.com", password: "Password123!", }), }).then(() => location.reload());(Or you can do this with any other mock user that you have the credentials for)
Pull Request Checklist
Screenshots/Screencast
Screen.Recording.2026-05-14.at.8.01.01.AM.mov
Screen.Recording.2026-05-14.at.8.31.28.AM.mov