feat(website): revise defaults to single-sequence form (bulk-first tabs, Preview tag) - #6973
Draft
theosanderson-agent wants to merge 5 commits into
Draft
feat(website): revise defaults to single-sequence form (bulk-first tabs, Preview tag)#6973theosanderson-agent wants to merge 5 commits into
theosanderson-agent wants to merge 5 commits into
Conversation
Revising a single sequence is now the default mode of the revise page, and its tab is the left-most one. Tab labels for revision are now "Revise single sequence" and "Upload bulk revisions". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…as preview Alternative presentation to #6964. Keeps the single-sequence form as the default revise mode, but restores the original tab order so "Upload bulk revisions" is left-most and "Revise single sequence" sits second, marked with a small "Preview" badge to signal it as a newer / in-development flow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Member
|
@theosanderson-agent remove the "Preview" bit |
Contributor
|
This PR may be related to: #6963 |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Collaborator
Author
|
Removed the "Preview" badge from the "Revise single sequence" tab (and the now-unused |
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
This is an alternative presentation to #6964 (same underlying feature: making the single-sequence form the default mode on the revise page). It is built on top of that branch, so it carries #6964's changes plus the two tweaks requested in review:
Previewbadge to signal it as a newer / in-development flow while it settles in.The submit page (as opposed to revise) is unchanged.
Rationale
Keeping "Upload bulk revisions" left-most preserves the familiar layout for existing bulk users, while still defaulting new users into the simpler single-sequence flow. The
Previewbadge sets expectations that the single-sequence revision form is a newer path.Changes
website/src/components/Submission/DataUploadForm.tsx— reversed therevisetab list order and added an optionalpreviewflag that renders aPreviewpill next to the tab label.How to choose between this and #6964
These two PRs are mutually exclusive alternatives — merge whichever presentation is preferred; both keep the single-sequence form as the default revise mode.
Testing
npm run check-types— passes (0 errors)npx vitest run src/routes/SubmissionRoute.spec.ts— passes🤖 Generated with Claude Code
🚀 Preview: https://feat-revise-single-sequen.loculus.org