Skip to content

Next: filtering improvements#1959

Merged
niemyjski merged 6 commits intomainfrom
feature/next-filtering-improvements
Aug 26, 2025
Merged

Next: filtering improvements#1959
niemyjski merged 6 commits intomainfrom
feature/next-filtering-improvements

Conversation

@niemyjski
Copy link
Copy Markdown
Member

@niemyjski niemyjski commented Aug 25, 2025

  • Accessability imporovements and way better keyboard navigation.
  • Automatically show project filters
  • Fixed boolean filters
  • Added ability to quickly create keyword filters
image

Simplifies the faceted filter actions component by using the Button component and Separator component instead of the Command component.

Improves the faceted filter builder by enhancing searchability by including builder titles as keywords.

Adds autofocus to the input field in dropdown and multi-select components.
Ensures that the project filter is always present in events views by default.

This change ensures that the events, issues and stream pages will always have a default project filter applied when the page loads.
It also sets a priority for the project builder in the faceted filter.
@niemyjski niemyjski requested a review from Copilot August 26, 2025 03:26
@niemyjski niemyjski self-assigned this Aug 26, 2025
@niemyjski niemyjski changed the title Feature/next filtering improvements Next: filtering improvements Aug 26, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the filtering functionality with improved accessibility features and UI consistency. The changes focus on keyboard navigation, screen reader support, and better project filtering across different pages.

  • Adds comprehensive keyboard navigation support (Enter/Escape) to filter components
  • Improves accessibility with ARIA labels and screen reader friendly help text
  • Enhances project filtering by adding ProjectFilter to default filters across multiple pages

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/routes/(app)/stream/+page.svelte Adds ProjectFilter import and includes empty ProjectFilter in default filters
src/routes/(app)/issues/+page.svelte Adds ProjectFilter import and includes empty ProjectFilter in default filters
src/routes/(app)/+page.svelte Adds ProjectFilter import and includes empty ProjectFilter in default filters
src/lib/features/shared/components/faceted-filter/faceted-filter-string.svelte Adds keyboard navigation, accessibility attributes, and cancel functionality
src/lib/features/shared/components/faceted-filter/faceted-filter-number.svelte Adds keyboard navigation, accessibility attributes, and cancel functionality
src/lib/features/shared/components/faceted-filter/faceted-filter-multi-select.svelte Always shows search input and adds autofocus
src/lib/features/shared/components/faceted-filter/faceted-filter-keyword.svelte Adds keyboard navigation, accessibility attributes, and cancel functionality
src/lib/features/shared/components/faceted-filter/faceted-filter-drop-down.svelte Always shows search input, adds autofocus, and fixes code formatting
src/lib/features/shared/components/faceted-filter/faceted-filter-builder.svelte Adds keyword filter creation from search and improves UI consistency
src/lib/features/shared/components/faceted-filter/faceted-filter-boolean.svelte Replaces text input with radio group interface and adds keyboard navigation
src/lib/features/shared/components/faceted-filter/faceted-filter-actions.svelte Replaces Command components with Button components for better consistency
src/lib/features/events/components/filters/organization-defaults-faceted-filter-builder.svelte Sets priority for ProjectBuilder component

@niemyjski niemyjski requested a review from ejsmith August 26, 2025 03:28
Changes the aria-describedby attribute to reference the "-help" element
instead of the "-description" element for improved accessibility.

This ensures screen readers correctly associate the button with its
help text.
{#if options.length > 10}
<Command.Input placeholder={title} />
{/if}
<Command.Input placeholder={title} autofocus={open} />
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you conditionally show this, then usability goes way down because focus is all kinds of messed up and you can't tab between the components.

@niemyjski niemyjski marked this pull request as ready for review August 26, 2025 03:33
@niemyjski niemyjski merged commit 3ed78fe into main Aug 26, 2025
4 of 5 checks passed
@niemyjski niemyjski deleted the feature/next-filtering-improvements branch August 26, 2025 03:34
@github-actions
Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Web 44% 32% 2938
Exceptionless.AppHost 19% 8% 87
Exceptionless.Insulation 27% 24% 231
Exceptionless.Core 66% 44% 8566
Summary 57% (9913 / 17249) 40% (3906 / 9690) 11822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants