Skip to content

feat: add SQL operator symbols to filter menu#842

Merged
datlechin merged 1 commit intomainfrom
feat/filter-operator-symbols
Apr 23, 2026
Merged

feat: add SQL operator symbols to filter menu#842
datlechin merged 1 commit intomainfrom
feat/filter-operator-symbols

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Add symbol computed property to FilterOperator with SQL operator symbols (=, !=, LIKE %..%, >, >=, etc.)
  • Filter operator picker now shows symbols alongside localized names (e.g. = equals, LIKE %..% contains)
  • FilterDefaultOperator.displayName delegates to FilterOperator for consistent formatting
  • Fix layout bug where no-value operators (IS NULL, IS EMPTY) caused the filter row to center

Closes #834

Test plan

  • Open filter panel (Cmd+Shift+F), click operator dropdown — verify symbols appear with correct format
  • Select "is NULL" / "is not NULL" — verify no symbol prefix, row stays left-aligned
  • Open filter settings (⋯ > Filter Settings) — verify default operator picker shows consistent symbol format
  • Switch to a non-English language — verify symbols remain while text is translated
  • Enable VoiceOver, navigate to operator picker — verify it reads display names not symbols

@datlechin datlechin merged commit 0c8fe5a into main Apr 23, 2026
2 checks passed
@datlechin datlechin deleted the feat/filter-operator-symbols branch April 23, 2026 06:50
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 operator symbols to filter menu for quick visual recognition

1 participant