jakob / jakob/Postico

filter operator menu is different depending on how column is selected

Open
#385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
485
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The "operator" dropdown in the filter bar is different depending on how the column is selected.

When clicking "filter" in the context menu of a column header for a column of type uuid, the operator menu is like the one for text columns.
When selecting the column through the column drop down, the operator menu is like the one for numbers.

While the "text" operator menu is probably the correct one for uuid the default operator should be "is exactly" instead of "contains".

![column_filter_menu_bug](https://cloud.githubusercontent.com/assets/384993/26066451/354c9688-3997-11e7-9f79-839bdbc6063f.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the filter behavior for a UUID column using both the column-header context menu and the column dropdown, then trace the UI code that builds each operator menu. Done means both paths use the text-style operators and the default operator is “is exactly” rather than “contains”.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.