Merged
Conversation
3 tasks
There was a problem hiding this comment.
Pull request overview
This PR updates the judges “Projects / Unscored” flow by enhancing the venue map experience with pinch-to-zoom and replacing the inline missing-team confirmation UI with a dedicated “Flag Team As Missing” modal.
Changes:
- Add pinch/zoom support for the expanded venue map modal via
react-zoom-pan-pinch. - Replace the old
ReportModal+ inline “Are you sure?” UI with a newReportTeamModalconfirmation modal and new supporting SVG assets. - Update dependencies/lockfile to include the new zoom library.
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| public/judges/projects/whiteArrow.svg | Adds an arrow asset used in the new missing-team modal CTA. |
| public/judges/projects/missingTeams.svg | Adds a “missing teams” illustration used in the new modal. |
| package.json | Adds react-zoom-pan-pinch dependency. |
| package-lock.json | Lockfile updates to include react-zoom-pan-pinch (and associated reshuffling). |
| app/(pages)/judges/(app)/_components/Projects/UnscoredPage.tsx | Wires up the new expanded map modal + missing-team modal flow. |
| app/(pages)/judges/(app)/_components/Projects/ReportTeamModal.tsx | New modal component for confirming a team is missing. |
| app/(pages)/judges/(app)/_components/Projects/ReportModal.tsx | Removes the prior report modal implementation. |
| app/(pages)/judges/(app)/_components/Projects/ReportModal.module.scss | Removes styling for the deleted report modal. |
| app/(pages)/judges/(app)/_components/Projects/ExpandedMapModal.tsx | New pinch-to-zoom enabled map modal implementation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/(pages)/judges/(app)/_components/Projects/ExpandedMapModal.tsx
Outdated
Show resolved
Hide resolved
app/(pages)/judges/(app)/_components/Projects/ExpandedMapModal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Add pinch to zoom feature on map modal
Add new Flag Team As Missing section