DependencyTrack / DependencyTrack/frontend
Bootstrap Table selections are lost in Team Permissions when changing page size in pagination
- Dominant language
- Vue
- Stars
- 171
- Forks
- 250
- Avg merge
- 10h 56m
- Merged PRs (30d)
- 84
Description
### Current Behavior
When using the permissions selection modal (or any table with checkboxes), the selected rows are cleared after changing the “rows per page” value in pagination.
The issue occurs because the table re-renders the data subset when the page size changes, and the checkbox selection state is not persisted across renders.
### Steps to Reproduce
1. Open Teams page in Access Management section under Adminstraction Tab.
2. Open Permissions Modal
3. Tick a few rows on the current page.
4. Change the “Rows per page” value in the pagination dropdown.
5. Observe that the previously selected checkboxes are lost.
### Expected Behavior
Changing the number of rows per page should not clear existing selections.
All previously selected rows (based on their unique ID) should remain checked after pagination or page-size changes, providing a consistent and intuitive user experience.
### Dependency-Track Frontend Version
4.7.x
### Browser
Google Chrome
### Browser Version
_No response_
### Operating System
macOS
### Checklist
- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the checkbox reset in Administration > Access Management > Teams > Permissions on frontend 4.7.x. Locate the modal's Bootstrap Table setup and trace selection state through pagination changes; no source files or tests are named. Done means selected rows remain checked by unique ID after page-size changes and pagination. The issue has no comments after 345 days, so maintainer availability is unconfirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100