Skip to content

Add feature flags for bulk argument upload and parameter sweep#1927

Draft
Mbeaulne wants to merge 1 commit into03-05-add_paramater_sweepfrom
03-11-clean_up_sweep_and_bulk_import
Draft

Add feature flags for bulk argument upload and parameter sweep#1927
Mbeaulne wants to merge 1 commit into03-05-add_paramater_sweepfrom
03-11-clean_up_sweep_and_bulk_import

Conversation

@Mbeaulne
Copy link
Collaborator

@Mbeaulne Mbeaulne commented Mar 11, 2026

Description

Added feature flags to control bulk argument upload and parameter sweep functionality. The bulk-argument-upload flag controls file import capabilities, template downloads, bulk mode toggles, and multi-run submission. The parameter-sweep flag controls the parameter sweep dialog and related UI elements. Both features are now disabled by default and can be enabled independently through the feature flag system.

Refactored file import utilities by extracting common logic into fileImportCommon.ts, consolidating shared functionality between CSV and JSON import handlers while maintaining existing behavior.

Type of Change

  • New feature
  • Cleanup/Refactor

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Test Instructions

  1. Verify that bulk upload features (drag/drop, import buttons, bulk toggles) are hidden when bulk-argument-upload flag is disabled
  2. Verify that parameter sweep button and dialog are hidden when parameter-sweep flag is disabled
  3. Enable both flags and confirm all bulk upload and parameter sweep functionality works as expected
  4. Test CSV and JSON file imports to ensure refactored import logic maintains existing behavior

Additional Comments

This change provides better control over experimental features and allows for gradual rollout of bulk argument and parameter sweep capabilities. The refactoring improves code maintainability by reducing duplication between import handlers.

@github-actions
Copy link

github-actions bot commented Mar 11, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=03-11-clean_up_sweep_and_bulk_import/d04a9e3`

@Mbeaulne Mbeaulne changed the title Clean up sweep and bulk import Add feature flags for bulk argument upload and parameter sweep Mar 11, 2026
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from cf69263 to f00cc7f Compare March 11, 2026 20:20
@Mbeaulne Mbeaulne force-pushed the 03-11-clean_up_sweep_and_bulk_import branch from 10ae003 to 3ae6cca Compare March 11, 2026 20:20
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from f00cc7f to 1d2e8e5 Compare March 11, 2026 20:24
@Mbeaulne Mbeaulne force-pushed the 03-11-clean_up_sweep_and_bulk_import branch 2 times, most recently from 7a5977a to 89a589a Compare March 11, 2026 20:27
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from 1d2e8e5 to 56a603f Compare March 11, 2026 20:27
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from 56a603f to a3e812b Compare March 11, 2026 21:18
@Mbeaulne Mbeaulne force-pushed the 03-11-clean_up_sweep_and_bulk_import branch from 89a589a to 135ff7a Compare March 11, 2026 21:18
@Mbeaulne Mbeaulne force-pushed the 03-11-clean_up_sweep_and_bulk_import branch from 135ff7a to d04a9e3 Compare March 11, 2026 21:32
@Mbeaulne Mbeaulne force-pushed the 03-05-add_paramater_sweep branch from a3e812b to e0195c1 Compare March 11, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant