Repository navigation
refactor(frontend): enhanced submission form - #389
Merged
Merged
Conversation
The backend now uses `result` for the repository URL and plans to rename it `repository_url` after the hackathon. Map it once in `submissionVersions` so the frontend already uses the new name, and the rename becomes a one-line change here. No behaviour change: the export header still reads "Result".
The Manage Submissions export only carried the repository link. Add an "Attachments" column just before "Result", which stays last because an older version may hold a paragraph of notes there. The description is deliberately not exported: it is Markdown meant to be read on the page, not in a spreadsheet cell.
Move the repository link, attachments link and description rendering out of the team's submissions page into SubmissionContent, so the organizer overview and the team card can show the same three fields the same way. No visible change on the submissions page.
Organizers only saw a version's repository link. Render every version through SubmissionContent, so the attachments link and description show too. The description is folded behind a toggle: the page lists every team, and one long description would push the rest out of view.
The team page's entry showed only the repository link. Pass the attachments link and description through from the load and render the entry with SubmissionContent, description in full: the page shows one team, and is where a voter goes to read its entry.
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.
Teams can describe their submission, not just link it
Before, a submission had a single box that took a link or free-text notes, so teams squeezed everything into it.
Now, a submission stores a repository link, a link to a folder of attachments, and a description. This branch brings those three fields to the frontend.
Deliberately left out