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

[MTV-1969] Add bulk select dropdown for selectable tables #1448

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpuzz0
Copy link
Contributor

@jpuzz0 jpuzz0 commented Jan 30, 2025

📝 Links

References: MTV-1969
PF guidelines for bulk selection: https://v5-archive.patternfly.org/patterns/bulk-selection/#bulk-selector

📝 Description

Replaced the previous temp solution of displaying the amount of VMs selected with muted text next to pagination (floated to the top right of tables), with a bulk select dropdown which more clearly shows what is selected on a given page for the VMs list table. This change is in accordance with PF guidelines referenced above and introduces a new package, @patternfly/react-component-groups to use an existing BulkSelect component.

🎥 Demo

Screen.Recording.2025-01-30.at.11.28.19.AM.mov

📝 CC://

@mmenestr

@jpuzz0 jpuzz0 added the enhancement Categorizes issue or PR as related to a new feature. label Jan 30, 2025
@jpuzz0 jpuzz0 force-pushed the MTV-1969-bulk-select-dropdown branch from d781acf to b6e322a Compare January 30, 2025 16:35
@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.32%. Comparing base (13484d0) to head (5db9ac8).
Report is 212 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1448      +/-   ##
==========================================
- Coverage   36.81%   36.32%   -0.50%     
==========================================
  Files         158      156       -2     
  Lines        2548     2522      -26     
  Branches      599      602       +3     
==========================================
- Hits          938      916      -22     
+ Misses       1428     1421       -7     
- Partials      182      185       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jpuzz0 jpuzz0 force-pushed the MTV-1969-bulk-select-dropdown branch 7 times, most recently from 28a5a9d to 120dd0c Compare January 31, 2025 17:03
@jpuzz0 jpuzz0 force-pushed the MTV-1969-bulk-select-dropdown branch from 120dd0c to 5db9ac8 Compare January 31, 2025 17:27
@sgratch sgratch added this to the next milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants