Commit fc7257e
OQL builder table round 8 (#575): editable numeric predicate, no parens, the-chip, trash delete, and… button
Jason's round-8 screenshot batch:
- Predicate slot is now DARKER + clickable on numeric (range) filters, opening an
operator menu (=/≥/≤/>/<) that rewrites the clause op (edit.setOperator + swap);
fixed predicates (has/is/boolean) stay light + inert.
- Parens are HIDDEN in the advanced view (kept in OQL/OQO): .val-paren display:none,
text-block display strips bare (/) parts, standalone paren chip renders nothing.
- Leading → arrow chip → the word 'the' ('the title has foo'); OQL-spec 'the' support
filed to the oql-bulletproof job (elastic-api grammar, separate).
- End-of-line 'or' now appends at the END of the value bag (edit.appendAdjacentValue),
so the draft lands after value-block AND sub-groups — single/multi chips intermingle.
- Left-gutter kebab → a trash-can DELETE button (hover-revealed, reddens).
- Toolbar filter-plus removed; add-filter lives on the canvas.
- Empty canvas = a single 'Add a filter' button; trailing line = an 'and…' button.
- Field-picker menu card back to WHITE (was peach); draft field menu drops 'Delete
filter' (a draft isn't a committed filter yet).
798 gui unit tests green (8 pre-existing offline dedup-404s); prod build clean;
dev-verified on :8093 (all 10 items, 0 console errors).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6450ab0 commit fc7257e
6 files changed
Lines changed: 216 additions & 132 deletions
File tree
- src/components
- OqlPlayground
- Oql
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
| |||
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
103 | 99 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 100 | + | |
| 101 | + | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
| |||
168 | 163 | | |
169 | 164 | | |
170 | 165 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 166 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
0 commit comments