hackforla / hackforla/tdm-calculator
Bug: Selected project checkboxes are cleared after clicking Reset in filter modal
- Dominant language
- JavaScript
- Stars
- 68
- Forks
- 47
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 25
Description
#### Describe the bug
On the My Projects page, when users select multiple projects using the left-side checkboxes and then open any column filter modal and click `Reset`, the entire table refreshes and all previously selected checkboxes are cleared.
This behavior may cause users to lose their current bulk selection unexpectedly while interacting only with filter settings.
#### Steps to Reproduce
1. Go to `My Projects`
2. Select multiple projects using the left-side checkboxes
3. Open any column filter (example: Status filter)
4. Click `Reset` inside the filter modal
5. Observe the table and selected rows
#### Actual Result
- All selected project checkboxes are cleared after clicking `Reset` in the filter modal.
Screenshots
Before clicking `Reset` inside filter modal:
Projects are selected using left-side checkboxes.
After clicking `Reset`:
All selected project checkboxes are cleared.
#### Expected Result
- Clicking `Reset` inside a filter modal should only reset the filter values for that specific filter.
- Previously selected project checkboxes should remain selected unless the user explicitly clears the selection.
#### Device Configuration
- Device: Laptop/Desktop
- OS version: Windows 11
- Browser: Chrome
- Browser version: Latest
#### Action Items
- [ ] See comment, and write a decision record
- [ ] Review with product, development, and research teams.
- [ ] Once finalized, update slide in the staging deck (see resources)
- [ ] Get Stakeholder sign-off via the stakeholder meeting slide deck.
### Resources/Instructions
#### Staging and Release decks
- [Staging Deck](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/)
- [Staging slide, 3201](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/edit?slide=id.g3e9280fa56e_32_14#slide=id.g3e9280fa56e_32_14)
- Release Deck
- [2025-MM-DD Release deck, slide ISSUE NUMBER]
Contributor guide
Research direction
Start on the My Projects page by reproducing the issue with multiple project checkboxes selected, then inspect the column filter modal and its Reset handler. The fix is done when resetting a filter refreshes or updates only that filter and previously selected project checkboxes remain selected; verify this with the Status filter and other column filters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100