Skip to content

[Sprint 6c]: Deleting/Modifying Data for a Year & Gateway Schools#69

Open
ajbarba01 wants to merge 5 commits intomainfrom
data-change-gateway
Open

[Sprint 6c]: Deleting/Modifying Data for a Year & Gateway Schools#69
ajbarba01 wants to merge 5 commits intomainfrom
data-change-gateway

Conversation

@ajbarba01
Copy link
Collaborator

Sprint

#63

Who worked on this sprint?

Zander Barba
Anne Wu

Who did what on this sprint?

We both worked together

Features Implemented

Created settings page component for adding and removing gateway schools (api route added)
Created settings page component for displaying and removing years of data (api route added)
Modified upload flow for uploading data to delete existing year first
Added group by for gateway vs non-gateway schools
Added gateway filter for chart

New files created

src/app/api/delete-year/route.ts
src/app/api/schools/[name]/gateway/route.ts

src/components/GatewaySchools.tsx
src/components/YearsOfData.tsx

Existing files modified

src/lib/schema.ts
src/app/api/schools/route.ts
src/app/upload/route.ts
src/app/settings/page.tsx
src/app/chart/page.tsx

src/components/GraphFilters/GraphFilters.tsx
src/components/GraphFilters/constants.ts

Acceptance Criteria

All completed

  1. Schools are not a gateway schools (FALSE) by default
    2 .User can select and search for gateway schools in the dropdown of all schools, database is updated accordingly
  2. User can delete gateway school from data table by clicking delete button
  3. Filter by gateway schools displays just data relevant to the gateway schools
  4. Group by gateway schools displays data across gateway schools vs non-gateway schools
  5. UI matches Figma exactly
  6. Code runs locally without errors and builds successfully
  7. Merge via PR

Testing: how did you test?

We tested using a branch on neon, adding and removing gateway schools to check the db, and checking that deleting a years data has the intended effect in the db, and overwriting a years data.

Features Not Implemented/Incomplete

N/A

Bugs Discovered

N/A

Screenshots:

image image image image

Tag Dan and Shayne

@danglorioso @shaynesidman

@vercel
Copy link

vercel bot commented Mar 3, 2026

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

Project Deployment Actions Updated (UTC)
mhd Ready Ready Preview, Comment Mar 3, 2026 5:56pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sprint 6c]: Deleting/Modifying Data for a Year & Gateway Schools 🗓️ - Anne & Zander

3 participants