Skip to content

Add drag-and-drop file import and multi-format template export to OasisSubmitter#1895

Open
Mbeaulne wants to merge 1 commit into03-04-bulk_argument_upload_-_yamlfrom
03-04-bulk_argument_upload_-_template_selection
Open

Add drag-and-drop file import and multi-format template export to OasisSubmitter#1895
Mbeaulne wants to merge 1 commit into03-04-bulk_argument_upload_-_yamlfrom
03-04-bulk_argument_upload_-_template_selection

Conversation

@Mbeaulne
Copy link
Collaborator

@Mbeaulne Mbeaulne commented Mar 4, 2026

Description

Added drag-and-drop file import functionality to the Oasis submitter and expanded template export options. Users can now drag files directly onto the submit button area to automatically open the arguments dialog with imported values. The template download feature now supports CSV, JSON, and YAML formats through a dropdown menu.

Related Issue and Pull requests

Type of Change

  • New feature
  • Improvement

Checklist

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

Screenshots (if applicable)

Test Instructions

  1. Navigate to a pipeline with configurable inputs
  2. Test drag-and-drop functionality:
    • Drag a CSV, JSON, or YAML file onto the submit button area
    • Verify the area highlights when dragging over it
    • Confirm the arguments dialog opens with imported values
  3. Test template export:
    • Click the "Template" dropdown button
    • Verify CSV, JSON, and YAML options are available
    • Download each format and verify content is correctly formatted
  4. Test bulk input handling:
    • Set some inputs as bulk and verify templates expand correctly
    • Import files with bulk data and confirm proper parsing

Additional Comments

The refactor consolidates template generation logic into a single utility file with comprehensive test coverage. The drag-and-drop implementation uses proper event handling with drag counters to avoid flickering during nested element traversal.

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🎩 To tophat this PR:

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

`?tophat_location=03-04-bulk_argument_upload_-_template_selection/d12735e`

@Mbeaulne Mbeaulne changed the title bulk argument upload - template selection Add drag-and-drop file import and multi-format template export to OasisSubmitter Mar 4, 2026
Copy link
Collaborator Author

Mbeaulne commented Mar 4, 2026

@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_template_selection branch from 4775c03 to 4ea2b09 Compare March 4, 2026 20:42
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_yaml branch from 1cc2c3f to 18c27ad Compare March 4, 2026 20:43
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_template_selection branch from 4ea2b09 to 83fb8a8 Compare March 4, 2026 20:43
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_template_selection branch from 83fb8a8 to d12735e Compare March 4, 2026 20:45
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload_-_yaml branch from 18c27ad to f854b08 Compare March 4, 2026 20:45
@Mbeaulne Mbeaulne marked this pull request as ready for review March 5, 2026 16:35
@Mbeaulne Mbeaulne requested a review from a team as a code owner March 5, 2026 16:35
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