Skip to content

Migrate Workflow Components from BTable to GTable#22228

Merged
itisAliRH merged 13 commits intogalaxyproject:devfrom
itisAliRH:btable-to-gtable-workflows
Apr 7, 2026
Merged

Migrate Workflow Components from BTable to GTable#22228
itisAliRH merged 13 commits intogalaxyproject:devfrom
itisAliRH:btable-to-gtable-workflows

Conversation

@itisAliRH
Copy link
Copy Markdown
Member

This PR migrates workflow-related components (Workflow/Import/TrsSearch.vue, WorkflowInvocationState/JobStepJobs.vue, and WorkflowInvocationState/ParameterStep.vue) from Bootstrap-Vue's components to our GTable` as part of the ongoing effort tracked in #21703

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@itisAliRH itisAliRH added area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes labels Mar 23, 2026
@github-actions github-actions Bot added this to the 26.1 milestone Mar 23, 2026
@itisAliRH itisAliRH marked this pull request as draft March 23, 2026 14:58
@itisAliRH itisAliRH marked this pull request as ready for review March 25, 2026 13:10
@ahmedhamidawan ahmedhamidawan self-requested a review March 31, 2026 14:49
Comment thread client/src/components/Workflow/Import/TrsSearch.vue Outdated
Comment thread client/src/components/Workflow/Import/TrsSearch.vue Outdated
Copy link
Copy Markdown
Member

@ahmedhamidawan ahmedhamidawan left a comment

Choose a reason for hiding this comment

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

Other than these minor typing suggestions (and I also pushed 1 tiny commit which is kind of unrelated but no-wraps the JobState), this looks good to me! Thank you!

@mvdbeek mvdbeek marked this pull request as draft April 7, 2026 12:54
@mvdbeek
Copy link
Copy Markdown
Member

mvdbeek commented Apr 7, 2026

@itisAliRH can you take a look at Ahmed's comments ?

itisAliRH and others added 12 commits April 7, 2026 15:30
- Updated the component to use GTable instead of BTable for improved functionality.
- Removed unused imports and cleaned up the showRowDetails function.
- Adjusted the template to reflect changes in the table structure.
- Removed BTable component and replaced it with GTable for improved functionality.
- Updated fields definition to include new sortable columns.
- Adjusted event handling for row clicks and sorting.
- Modified styles to align with GTable's structure.
- Changed import paths to use absolute paths for consistency.
- Modified jobClicked function to accept an event object for better clarity.
- Cleaned up the template by ensuring proper binding for row-click events.
- Updated the ParameterStep component to use GTable instead of BTable.
- Adjusted the fields and props to align with GTable's requirements.
- Improved code readability and consistency by removing unused imports.
- Changed props definition to use an interface for better clarity and type safety.
- Enhanced code readability by organizing the structure of the component.
- Add isInputParameter function to check for input parameters.
- Update template to handle unsupported input/output values gracefully.
- Refined the JOB_ROW selector in JobStep.test.ts and JobStepJobs.test.ts
  to exclude detail and empty rows, ensuring accurate job state representation
  in the tests.
Co-authored-by: Ahmed Hamid Awan <qe66653@umbc.edu>
@itisAliRH itisAliRH force-pushed the btable-to-gtable-workflows branch from 995399f to 89eceda Compare April 7, 2026 13:32
@itisAliRH
Copy link
Copy Markdown
Member Author

@ahmedhamidawan Thanks Ahmed! I applied the suggestions👍🏻

@itisAliRH itisAliRH marked this pull request as ready for review April 7, 2026 13:36
@itisAliRH itisAliRH merged commit cacf25f into galaxyproject:dev Apr 7, 2026
28 checks passed
@itisAliRH itisAliRH deleted the btable-to-gtable-workflows branch April 7, 2026 17:23
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in Galaxy Dev - weeklies Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/UI-UX kind/enhancement kind/refactoring cleanup or refactoring of existing code, no functional changes

Projects

Development

Successfully merging this pull request may close these issues.

3 participants