-
Notifications
You must be signed in to change notification settings - Fork 451
Open
Labels
bugSomething isn't workingSomething isn't workingfeatureNew feature or requestNew feature or requestfrontendRelates to the project frontendRelates to the project frontendtypescriptRelates to TypeScript codeRelates to TypeScript codevueRelates to Vue codeRelates to Vue code
Description
Terms
- I have searched all open bug reports
- I agree to follow activist's Code of Conduct
Behavior
Summary
Event filters get “stuck” once you pick a value. In SidebarLeftFilterEvents.vue, the radio fields (Days ahead, Event type, Location type) and the auto-submitting form provide no way to remove an applied filter. After selecting anything, you can’t trigger the unfiltered state.
Steps to Reproduce
- Visit the events list (sidebar filter visible).
- Click a “Days ahead” radio option (1/7/30); it auto-submits.
- Click the same radio again—nothing happens; the filter stays applied.
- Repeat with event type or location type radios — you remain filtered.
Actual Behaviour
- Radio inputs behave as immutable once chosen; clicking the active option does nothing.
- There is no “Clear filters” button to reset the entire form/query.
Expected Behaviour
- Clicking a selected radio option toggles it off (radio group returns to “no filter”).
- A visible “Clear filters” button resets all filters, including query params, and restores default results.
Acceptance Criteria
- Radio components emit “deselect” when the currently selected option is clicked again; the corresponding form value becomes empty and router query omits that key.
- A “Clear filters” button resets all form values, pushes only the default
view, and triggers the unfiltered event list. - Add tests covering radio toggle-off behaviour and the global clear action.
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't workingfeatureNew feature or requestNew feature or requestfrontendRelates to the project frontendRelates to the project frontendtypescriptRelates to TypeScript codeRelates to TypeScript codevueRelates to Vue codeRelates to Vue code
Type
Projects
Status
Todo