Skip to content

feat(website): revise defaults to single-sequence form (bulk-first tabs, Preview tag) - #6973

Draft
theosanderson-agent wants to merge 5 commits into
mainfrom
feat/revise-single-sequence-preview-tag
Draft

feat(website): revise defaults to single-sequence form (bulk-first tabs, Preview tag)#6973
theosanderson-agent wants to merge 5 commits into
mainfrom
feat/revise-single-sequence-preview-tag

Conversation

@theosanderson-agent

@theosanderson-agent theosanderson-agent commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

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:

  1. Reversed tab order — the revise page now shows the tabs in the original left-to-right order, with "Upload bulk revisions" left-most and "Revise single sequence" second. (In feat(website): default revision to the single sequence form #6964 the single-sequence tab was moved to the left.) The single-sequence form remains the default active mode when landing on the page — only the visual tab order differs.
  2. "Preview" tag — the "Revise single sequence" tab is now marked with a small Preview badge 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 Preview badge sets expectations that the single-sequence revision form is a newer path.

Changes

  • website/src/components/Submission/DataUploadForm.tsx — reversed the revise tab list order and added an optional preview flag that renders a Preview pill 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
  • Prettier — clean

🤖 Generated with Claude Code

🚀 Preview: https://feat-revise-single-sequen.loculus.org

theosanderson and others added 3 commits July 22, 2026 15:03
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>
@theosanderson

Copy link
Copy Markdown
Member

@theosanderson-agent remove the "Preview" bit

@claude claude Bot added the website Tasks related to the web application label Jul 23, 2026
@theosanderson theosanderson added preview Triggers a deployment to argocd and removed website Tasks related to the web application labels Jul 23, 2026
@claude

claude Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR may be related to: #6963

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@theosanderson-agent

Copy link
Copy Markdown
Collaborator Author

Removed the "Preview" badge from the "Revise single sequence" tab (and the now-unused preview field). Pushed as 3d53bb9.

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

Labels

preview Triggers a deployment to argocd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants