Skip to content

Allow sequence name to be chosen during sequence expansion filter application#1908

Merged
dandelany merged 8 commits into
developfrom
feature/sequence-filter-name
Apr 23, 2026
Merged

Allow sequence name to be chosen during sequence expansion filter application#1908
dandelany merged 8 commits into
developfrom
feature/sequence-filter-name

Conversation

@JosephVolosin
Copy link
Copy Markdown
Contributor

Currently, when applying a sequence filter in a plan the name of the outcome sequence is auto-generated in the format of ${filter.name} Sequence (Plan ${plan.id}). This is problematic as two sequences for the same simulation cannot use the same name, but, it should be perfectly legal to apply two separate filters to a plan.

This PR adds a field for the user to enter a name for the output sequence, while still using the previously mentioned format as a default. Validation is also included to not permit overlapping sequence names to be used when applying the sequence filter.

@JosephVolosin JosephVolosin requested a review from a team as a code owner April 20, 2026 20:26
Comment thread src/components/modals/ApplySequenceFilterModal.svelte Outdated
Comment thread src/components/modals/ApplySequenceFilterModal.svelte Outdated
Group reactive statements for `sequenceNameField`
@duranb duranb temporarily deployed to test-workflow April 22, 2026 23:21 — with GitHub Actions Inactive
@duranb duranb temporarily deployed to test-workflow April 22, 2026 23:25 — with GitHub Actions Inactive
@duranb duranb temporarily deployed to test-workflow April 22, 2026 23:48 — with GitHub Actions Inactive
Copy link
Copy Markdown
Collaborator

@dandelany dandelany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JosephVolosin we tested this and agree it fixes the main issue you brought up - so we're going to merge for today's release.

That said, there was a bit of not-sure-if-expected behavior around creating Sequences - specifically, the UI allows you to have duplicate named sequences as long as they are on different simulation datasets - this could be a bit confusing but it's not super clear what is more correct. Just wanted to call it out for future discussion.

@dandelany dandelany merged commit 155ffe5 into develop Apr 23, 2026
5 checks passed
@dandelany dandelany deleted the feature/sequence-filter-name branch April 23, 2026 00:12
@dandelany dandelany added the feature New feature or request label Apr 23, 2026
@dandelany dandelany changed the title Allow sequence name to be chosen during filter application Allow sequence name to be chosen during expansion filter application Apr 23, 2026
@dandelany dandelany changed the title Allow sequence name to be chosen during expansion filter application Allow sequence name to be chosen during sequence expansion filter application Apr 23, 2026
JosephVolosin added a commit that referenced this pull request Apr 23, 2026
* Allow sequence name to be chosen during filter application

* Disable confirm when name is invalid

* Lint

* Fix validation for initial value

* Declare FieldStore variables
Group reactive statements for `sequenceNameField`

* cleanup

* Removed height specification to avoid content being cut off

---------

Co-authored-by: duranb <duran.bry@gmail.com>
Co-authored-by: Dan Delany <dan.delany@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants