Skip to content

[Rules] Add tags, search, and filters #7

Description

@emi-ran

Feature

Add rule tags, search, and filters for growing rule libraries.

Proposed behavior

  • Persist normalized user tags such as Home, Work, Car, Security, and Battery on each rule.
  • Enforce trim, case-insensitive uniqueness, a modest tag count/length limit, and safe plain-text rendering.
  • Home list supports debounced name/tag search plus filters for tag, enabled state, trigger category, action category, and attention state (failed/permission blocked where data supports it).
  • Filters combine predictably and expose clear/reset state; search/filter must not alter rule ordering or data.
  • Include tags in normal/encrypted exports according to existing backup rules.

Acceptance criteria

  • User can add, remove, search, and filter tags in Turkish and English UI.
  • Search result updates are deterministic and accessible to TalkBack.
  • Existing rules migrate with empty tags.

Verification

  • Pure normalization/filter tests, DataStore migration test, export/import test, Compose UI tests for empty/no-result/clear cases.
  • Device smoke test with 50+ representative rules; verify scrolling and no sensitive field exposure.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions