Skip to content

Improve search bar appearance with icon and clear button#318

Merged
d4rken merged 1 commit into
mainfrom
feat/search-bar-improvements
Mar 17, 2026
Merged

Improve search bar appearance with icon and clear button#318
d4rken merged 1 commit into
mainfrom
feat/search-bar-improvements

Conversation

@d4rken

@d4rken d4rken commented Mar 17, 2026

Copy link
Copy Markdown
Member

What changed

Search bars on the apps, permissions, and watcher screens now have a polished appearance with a leading search icon, a trailing clear button (visible when text is entered), a pill shape, and a tinted background. Dismissing the search bar now consistently clears the search query on all screens, so the list is never silently filtered.

Technical Context

  • Extracted the existing styled search bar from WatcherDashboardScreen into a shared SearchTextField composable in common/compose/ — no new design, just deduplication
  • AppsScreen was missing AnimatedVisibility for the search bar and didn't clear the query on toggle-off; both are now fixed to match the other screens
  • Standardized toggle-off ordering across all three screens (clear first, then flip state) for consistency

Replace plain OutlinedTextField search bars with a shared SearchTextField composable that has a leading search icon, trailing clear button, pill shape, and tinted container. Standardize toggle-off behavior to clear the search query on all three screens (Apps, Permissions, Watcher) so the list is never silently filtered when the search bar is hidden.
@d4rken d4rken added the enhancement New feature or request label Mar 17, 2026
@d4rken d4rken marked this pull request as ready for review March 17, 2026 11:04
@d4rken d4rken merged commit 14f5940 into main Mar 17, 2026
9 checks passed
@d4rken d4rken deleted the feat/search-bar-improvements branch March 17, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant