Skip to content

Conversation

emma-sg
Copy link
Member

@emma-sg emma-sg commented Oct 2, 2025

Changes

This PR addresses some user feedback about filter chip dropdowns being confusing: specifically, about how when selecting a filter from a dropdown, it's not clear that you need to click outside the dropdown to apply the changes, leading to worries about user actions not being saved (see source in Discord).

This addresses this by changing filter chip behaviour to update its state (and re-fetch data) immediately when changes are made inside the dropdowns.

This also reworks the "schedule" filter chip in the workflow list page to show the selected option with a radio button so that it's more clear which state is selected and how switching states will work.

Finally, this addresses a bug in the archived item list where changing filters repeatedly would cause cascades of unnecessary re-fetches.

Demo

Screen.Recording.2025-10-02.at.3.24.59.PM.mov

Testing

On the workflow & archived item pages, try changing all of the filters, and make sure they all update & can be cleared (where relevant) as expected.

@emma-sg emma-sg requested a review from SuaYoo October 2, 2025 19:26
- remove redundant computed properties used as state, and instead track
  selected maps
- replace `requestUpdate` calls with assignment to new `Map`s
- use `updated` instead of `willUpdate` to dispatch events

Co-authored-by: sua yoo <[email protected]>
@emma-sg emma-sg requested a review from SuaYoo October 6, 2025 20:54
@emma-sg emma-sg merged commit e767e11 into main Oct 7, 2025
29 checks passed
@emma-sg emma-sg deleted the frontend-add-confirmation-to-filters branch October 7, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants