[Sprint 6c]: Deleting/Modifying Data for a Year & Gateway Schools#69
Open
[Sprint 6c]: Deleting/Modifying Data for a Year & Gateway Schools#69
Conversation
Co-authored-by: ajbarba01 <ajbarba01@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8 tasks
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.
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
2 .User can select and search for gateway schools in the dropdown of all schools, database is updated accordingly
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:
Tag Dan and Shayne
@danglorioso @shaynesidman