feat!(config, website): split mutation search by segment and remove segment prefix#5936
feat!(config, website): split mutation search by segment and remove segment prefix#5936anna-parker merged 34 commits intomainfrom
Conversation
|
This PR may be related to: #5566 (feature: add option to hide metadata fields from web interface) |
|
Comments from @rneher and @theosanderson in https://loculus.slack.com/archives/C094HTT8XEJ/p1770225352248569 (I made issues only for the more complicated sections:
Other issues:
|
5c8e274 to
5de3f7f
Compare
a431ec1 to
4f315f5
Compare
182437c to
d4c6ca2
Compare
4f315f5 to
c2976e7
Compare
ce85872 to
cf49f1e
Compare
50b44df to
11fe263
Compare
cf49f1e to
6978fda
Compare
cac6268 to
97235ea
Compare
6978fda to
7679605
Compare
7679605 to
30fb152
Compare
4344b80 to
4d1969f
Compare
d1f9173 to
9942bda
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9fa4c93d8d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
resolves # ### Screenshot ### 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://search-ui-demo-thoe.loculus.org
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b2db5e3b8a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…cting a reference (#5986) resolves #5980 ### Screenshot <img width="1744" height="1340" alt="image" src="https://github.com/user-attachments/assets/4ff62e3f-da8e-4fab-b5a3-52ffec3c915b" /> ### PR Checklist - [x] The implemented feature is covered by appropriate, automated tests. - [x] Any manual testing that has been done is documented (i.e. what exactly was tested?) 🚀 Preview: https://allow-download-all.loculus.org
resolves #5842, #5945, #5943
Summary
A. Allows mutation search for multi-seg, multi-ref organisms without having to select all references.
mutation_<segmentName>in the case where an organism has multiple segments.B. It is now possible to configure segment and reference displayNames which are shown in the searchUI and reference selection dropdowns and on the sequenceDetails page (in the mutation section)
Screenshot
Screen.Recording.2026-02-13.at.09.49.52.mov
Config Changes
Metadata relating to the sequence should now be marked with the argument
isSequenceFilter: true(the default isfalse):becomes
If a sequence-related field should be created/shown only for one segment add the field
relatesToSegment: S. Additionally, the config will now populate preprocessing args related to the reference and segment for you from these fields, this means you should change:to:
This is also true for fields with
onlyForReference, for example:can be changed to:
If you would like to use a displayName instead of the segment or reference name you can add this to the
referenceGenomessection, for example:PR Checklist
🚀 Preview: https://search-ui-demo.loculus.org