Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow selection and bulk actions #19336

Draft
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

itisAliRH
Copy link
Member

This PR introduces selectable workflow cards, enabling users to select multiple workflows for bulk actions such as delete, restore, and add tags. It also adds a new component to select tags, TagsSelectionDialog, and includes some logic and UI enhancements.

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. Open My Workflows list
    2. Select some workflows
    3. Delete or Add tags to the selected workflows using the displayed button on the bottom
    4. To restore deleted workflows, activate the Show deleted filter and select workflows to restore

License

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

Introduces `selected` and `selectable` props to `WorkflowCard`
Adds checkbox for bulk actions
Updates styles for selected cards
…t select

Adds default values to props and new prop for selected workflows
Introduces 'select' event emission and updates CSS for grid view
Introduces a temporary interface for selected workflows
Implements logic to select and deselect workflows
Clears selected workflows when showing deleted workflows
Passes selected workflow IDs to child components
Introduces props and emits for select-all feature
Includes checkbox for selecting all items with indeterminate state support
Introduces computed properties for tracking selection state
Implements method to select/deselect all workflows
Updates ListHeader component to support select all feature
Implements bulk delete and restore actions with confirmation dialogs
Adds loading indicators and success/error toasts for user feedback
Updates UI to include bulk action buttons in the workflow list footer
Introduces a new modal component for selecting tags
Includes props for title and initial tags, and emits events for cancel and ok actions
Introduces functionality to add tags to multiple workflows at once.
Includes UI elements and supporting logic for bulk tag addition.
Enhances workflow management by allowing bulk tag updates.
Removes unused FontAwesome library import
Simplifies computed property logic for noResults
Improve alerts logic
Enhances alert and pagination styling for better UI consistency
Changes workflow prop type to StoredWorkflowDetailed for better type safety
Adds optional chaining to prevent potential null reference errors
Adds missing BButtonGroup import from Bootstrap
Increases gap between filter elements for improved layout
Adds overflow auto to the  WorkflowCardList to fix overlay not covering the list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant