Skip to content

feat: Add search/filter input to Color Inspector sidebar (#1)#4

Open
Chizaram-Igolo wants to merge 1 commit into
rodclemen:mainfrom
Chizaram-Igolo:feat/add-search-filter-input-to-sidebar
Open

feat: Add search/filter input to Color Inspector sidebar (#1)#4
Chizaram-Igolo wants to merge 1 commit into
rodclemen:mainfrom
Chizaram-Igolo:feat/add-search-filter-input-to-sidebar

Conversation

@Chizaram-Igolo
Copy link
Copy Markdown

Resolves #1

Overview

  • Adds a search input at the top of the sidebar (above the file groups / list).
  • Filter results in real-time.
  • Search matches:
    • CSS variable label (e.g. --border)
    • Color value text (e.g. #aabbcc, rgba(0,0,0,.25))
    • File/group name
  • Filtering does the following:
    • Hides non-matching rows
    • Hides file groups with zero matching rows
    • Keeps group headers visible when they still contain matches

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 search/filter input to Color Inspector sidebar

1 participant