sillsdev / sillsdev/languageforge-lexbox

Allow clearing filters and display entry filtered count

Open
#910 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💻 FW Lite
Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

Description

We already display the full entry count. We'd also like to show the filtered entry count.
This is potentially intertwined with a "clear filters" button, so both tasks are a single issue.

I think we want to differentiate between clearing filters and clearing the search text. But...I'm not sure.
Off the cuff, my favorite idea is:

  • An X in the search box to clear the text
  • The badge (see below) for seeing the filtered count and clearing it

I'm not convinced that's the ultimate solution though.

Some ideas for this were generated here:

Image

I commonly see a count show on mobile apps when configuring filters. It's often combined with the close button e.g. "Show 434 matching results". The point is that the user can't configure filters and see the results loading in the background at the same time, so you give them an indication of what the current filters returned. I like that. On mobile we now use a drawer for the filters, which could align well with that pattern.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the existing full entry count and the filter UI, then review the linked discussion for the proposed interaction patterns. Define how filtered-count display, filter clearing, and search-text clearing should differ, including the mobile filter drawer; done means the chosen behavior is implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.