feat(reviews): add Priority badge for applications submitted by Oct 3 11:59pm CT - #182
Merged
Merged
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
balebbae
enabled auto-merge (squash)
October 3, 2026 02:41
balebbae
disabled auto-merge
October 3, 2026 02:43
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.
Summary
Frontend-only: reviewers can now see which applications were submitted before the priority deadline.
pages/admin/_shared/priority.tsowns the cutoff and predicate:PriorityBadge(_shared/PriorityBadge.tsx) renders a purpleZap+ "Priority" badge, ornullwhen!isPriorityApplication(submittedAt). Tooltip shows the cutoff in CT.reviews/components/ReviewsTable.tsx(rows useApplicationListItem.submitted_at),reviews/grading/GradingPage.tsxheaderreviews/grading/GradingPage.tsxheader,ReviewsPage.tsxcompleted-review sheet,all-applicantstable +ApplicationDetailPanelheader, andTimelineSection"Submitted" line (which also shows in the grading details panel)Not covered: the admin Reviews list rows (
Reviewtype) don't carrysubmitted_at, so the badge only appears once a review is opened — adding it to the list would need an API change.Cutoff timezone is assumed Central; change the
-05:00offset inpriority.tsif that's wrong.Screenshots
Super admin reviews table (Riley/Morgan submitted after cutoff, no badge):

Super admin grading:

Admin grading:

Link to Devin session: https://app.devin.ai/sessions/f23c7daefd9e4c57834ef8cf6bf28d8e
Open in Devin Desktop: https://app.devin.ai/desktop/session/f23c7daefd9e4c57834ef8cf6bf28d8e?variant=devin
Requested by: @balebbae