Skip to content

feat(website): clarify submit/approve workflow labels#6679

Draft
theosanderson wants to merge 5 commits into
mainfrom
review-pending-submissions-title
Draft

feat(website): clarify submit/approve workflow labels#6679
theosanderson wants to merge 5 commits into
mainfrom
review-pending-submissions-title

Conversation

@theosanderson

@theosanderson theosanderson commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

This PR clarifies the wording of the sequence submission → approval workflow on the website, making the two-step nature of the process explicit:

  1. Submit page — the form's primary action button is relabelled from "Submit sequences" to "Upload (and proceed to Approval)". This signals that uploading is the first step and is followed by an approval step, rather than implying the action immediately finalises the submission. The button on the revise page keeps the existing "Submit sequences" label (the change is scoped to action === 'submit').

  2. Review/approval page — the page heading is renamed from "Review current submissions" to "Approve pending submissions", matching the language above and better describing the page, which lists submissions awaiting approval.

Changes

  • website/src/components/Submission/DataUploadForm.tsx: submit-page button text is now conditional — 'Upload (and proceed to Approval)' for the submit action, 'Submit sequences' for revise.
  • website/src/pages/[organism]/submission/[groupId]/review.astro: SubmissionPageWrapper title → 'Approve pending submissions' (rendered as the page <h1>).
  • website/src/components/Submission/SubmissionForm.spec.tsx: unit test button-name lookups updated to the new label.
  • integration-tests/: updated the submit-page button name in the page object and submission flow spec, and updated review-page heading/text assertions across the affected specs to 'Approve pending submissions'.

Verification

  • npm run check-types — passes (0 errors)
  • npm run format — clean (website + integration-tests)
  • CI=1 npm run test src/components/Submission/SubmissionForm.spec.tsx — 13 passed

These are user-facing copy changes plus the corresponding test updates; no application behavior changes.

🤖 Generated with Claude Code

🚀 Preview: https://review-pending-submission.loculus.org

theosanderson and others added 2 commits June 15, 2026 22:24
Update the submission review page header from 'Review current submissions'
to 'Review pending submissions' to more accurately describe the page, which
shows submissions awaiting review.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@theosanderson theosanderson changed the title fix(website): rename review page title to 'Review pending submissions' fix(website): rename review page title to 'Approve pending submissions' Jun 15, 2026
@claude claude Bot added the website Tasks related to the web application label Jun 15, 2026
…val)'

Change the submit-page form button text from 'Submit sequences' to
'Upload (and proceed to Approval)' to make the two-step submit/approve
workflow clearer. The revise page keeps the 'Submit sequences' label.

Update unit and integration tests to match the new button text, and
update integration test heading assertions to the renamed review page
title 'Approve pending submissions'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@theosanderson theosanderson changed the title fix(website): rename review page title to 'Approve pending submissions' feat(website): clarify submit/approve workflow labels Jun 15, 2026
@theosanderson theosanderson added preview Triggers a deployment to argocd and removed preview Triggers a deployment to argocd labels Jun 15, 2026
theosanderson and others added 2 commits June 16, 2026 01:34
Change 'Upload (and proceed to Approval)' to 'Upload and proceed to Approval'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 website Tasks related to the web application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant