Skip to content

feat(filters): add empty and error states - #712

Merged
mikewheeleer merged 2 commits into
StableRoute-Org:mainfrom
Fabluchy:feature/filters-91-states
Jul 30, 2026
Merged

feat(filters): add empty and error states#712
mikewheeleer merged 2 commits into
StableRoute-Org:mainfrom
Fabluchy:feature/filters-91-states

Conversation

@Fabluchy

Copy link
Copy Markdown
Contributor

Summary

Adds explicit empty and error states to filters views across events and pairs pages, with retry affordance on error.

Changes

  • Events page: Adds filter-empty state ("No events match the filter") when the type filter returns no results but events exist. Enhances error state with a styled alert container and a Retry button.
  • Pairs page: Enhances error state with a styled alert container and a Retry button (filter empty states already existed).
  • Both error states announce via role="alert" and retry via refetch/api.refetch.
  • Filter-empty state lives inside the existing aria-live="polite" region for screen-reader announcements.

Related Issue

Closes #668

Type Of Change

  • Feature

Testing

$ npm run lint
✔ No ESLint warnings or errors

$ npm test
Test Suites: 71 passed, 71 total
Tests: 1204 passed, 1204 total

Contributor Checklist

  • Branch name follows type/area-slug where possible.
  • Tests were added or updated for new UI or behaviour.
  • Accessibility was considered (role="alert", aria-live, focus-visible).
  • No unrelated CI workflow changes are included.

Fabluchy and others added 2 commits July 30, 2026 05:33
- Add filter-empty state to events page when filter matches nothing
- Add retry buttons to error states on both events and pairs pages
- Style error states with visual container and accessible alert role
- Test filter-empty state, retry behavior, and live region announcements

Closes StableRoute-Org#668
@mikewheeleer
mikewheeleer merged commit 449d12d into StableRoute-Org:main Jul 30, 2026
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.

Add explicit empty and error states to the filters view

3 participants