Skip to content

Upload/Last Updated Timestamps on Year Table & Favicon#182

Merged
shaynesidman merged 6 commits intomainfrom
dan/upload-timestamp
Apr 11, 2026
Merged

Upload/Last Updated Timestamps on Year Table & Favicon#182
shaynesidman merged 6 commits intomainfrom
dan/upload-timestamp

Conversation

@danglorioso
Copy link
Copy Markdown
Member

@danglorioso danglorioso commented Apr 11, 2026

Issue

#177 #178

Who worked on this sprint/bug?

@danglorioso

Features Implemented

  • Prevent deleting a year of data that doesn't exist-- replace with upload icon
  • Rename "Available" --> "Uploaded"; "Unavailable" --> "Missing"
  • Restyled status indicators
  • Add uploaded and last updated columns
    • Modified routes to update these fields when year-specific data is uploaded/updated
  • Entire action cell is now actionable (as if hovered over icon)
  • Add MHD favicon

NOTE: This PR modifies the Neon production branch, adding the year_metadata table

New files created

  • public/favicon.png

Existing files modified

  • api/delete-year/route.ts
  • api/projects/[id]/route.ts
  • api/teachers/[id]/route.ts
  • api/upload/route.ts
  • api/years-with-data/route.ts
  • layout.tsx
  • components/YearsOfData.tsx
  • components/YearDropdown.tsx
  • lib/schema.ts

Screenshots:

Screenshot 2026-04-11 at 1 29 22 AM

Tag Dan and Shayne

@danglorioso @shaynesidman

@danglorioso danglorioso added this to the Bug Bash milestone Apr 11, 2026
@danglorioso danglorioso self-assigned this Apr 11, 2026
@danglorioso danglorioso added the enhancement New feature or request label Apr 11, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mhd Ready Ready Preview, Comment Apr 11, 2026 5:31am

@danglorioso danglorioso changed the title Upload/Last Updated Timestamps on Year Table Upload/Last Updated Timestamps on Year Table & Favicon Apr 11, 2026
@shaynesidman shaynesidman merged commit 56e2582 into main Apr 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Delete Unavailable Years TODO: Add upload timestamp to years table

2 participants