Skip to content

(feat): SeqSet details page graphs and layout updates #6173

Draft
tombch wants to merge 25 commits intomainfrom
seqset-details-update
Draft

(feat): SeqSet details page graphs and layout updates #6173
tombch wants to merge 25 commits intomainfrom
seqset-details-update

Conversation

@tombch
Copy link
Collaborator

@tombch tombch commented Mar 20, 2026

This PR addresses #5916 by adding graphs for SeqSet collection dates, countries and use terms, as well as adding a few layout changes to the SeqSet details page generally.

Open to suggestions as this is still a work in progress!

Screenshot

Existing SeqSet details page:

image

This PR changes it to:

image

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by appropriate, automated tests.
  • Any manual testing that has been done is documented (i.e. what exactly was tested?)

🚀 Preview: https://seqset-details-update.loculus.org

@claude claude bot added website Tasks related to the web application seqset Related to seqsets labels Mar 20, 2026
@tombch tombch added the preview Triggers a deployment to argocd label Mar 20, 2026
## Summary
- Replaces `colors.cjs` with `colors.json`, which is natively importable
by both `require()` (Tailwind config) and ESM `import` (Astro/Vite)
- Removes the custom `inline-colors-cjs` Vite plugin and `createRequire`
workaround from `astro.config.mjs`
- Removes the `src/colors.ts` re-export wrapper (no longer needed)
- Updates `.dockerignore` allowlist accordingly

Net result: -20 lines of bridging code, same behavior.

## Test plan
- [ ] Verify Tailwind classes using `primary-*` colors still work (the
JSON is the same palette)
- [ ] Verify the SeqSet detail page bar charts still pick up the correct
color
- [ ] Verify Docker build still includes the color config

🤖 Generated with [Claude Code](https://claude.com/claude-code)

🚀 Preview: Add `preview` label to enable

Co-authored-by: theosanderson-agent <theo@theo.io>
Co-authored-by: Claude Opus 4.6 (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 seqset Related to seqsets website Tasks related to the web application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants