feat(tracker): Gantt — #9 inline filter chips + advanced search + view-option toggles
Summary
Successor to the closed #10849. Same Plan-2 substance (inline filter chips + advanced search bar + view-option toggles for the Tracker viewlets) plus several rounds of encoder hardening based on review feedback after #10849 was closed.
The 14 commits in this PR break into three groups:
- Plan-2 core (7 commits) — the same content as #10849: All/Active/Backlog inline filter chips, advanced search with field-prefix support (
title:,id:,comments:), Customize-View popover withSearch in...scope + highlight-match + quick-filter toggles, empty-state card with reset actions, match-highlight in list and Gantt sidebar. - Search-encoder hardening (5 commits) — found while extending Plan-2 to a Gantt viewlet. Each fixes a real Elasticsearch
query_stringparse failure that surfaced as silent zero-hit results:2461879b4b— fixes three independent issues: (a) IssuesView search state leaking across route switches, (b) prefix-targeted values with Lucene-reserved chars (title:C++,comments:foo/bar) crashing the parser, (c) Saved Gantt View reload being a no-op when re-selecting the active view. Includes a 12-line saved-view-reload fix inGanttView.sveltethat was discovered while testing the Plan-2 search-state leak; bundled here for atomicity rather than carried in a follow-up PR.19024b8a65— colon-in-value escape (title:POC:123,title:12:30) so the inner colon doesn't re-enter field-targeted parsing.ff1bf76105— broaden orphan-token escape from:only to the full reserved set, plus quoted-phrase-aware tokenizer.56326b81ef— capture attached parens/brackets as part of the bare value (title:foo(bar),title:list[0]).28c9712e01— refactor: replace the 2-pass regex encoder with a single typed-tokenizer + per-type renderer. Each token kind has exactly one rendering rule; future edge cases need only either a new token kind or a tweak to the relevant renderer, not a cross-cutting regex re-think. Behavior preserved bit-for-bit (all 30 existing encoder tests pass without modification).
- Final correctness + cleanup (2 commits) —
a5a6018851— escape leading hyphens in prefix-routed search tokens. Without this,title:-fooandtitle:meeting -cancelledwere sent verbatim to ES and interpreted as Lucene NOT-operator clauses.3f4c4342cc— neutralize internal-review section headers in the encoder tests (cosmetic, no behavior change).
Test coverage
packages/uiSearchInputAdvanced test suite: 33 cases (up from 27 before the encoder hardening rounds), covering reserved-char wrapping, colon-in-value, orphan-token escape, attached parens/brackets, leading-hyphen escape, quoted-phrase passthrough, AND/OR/NOT preservation, and*/?wildcard preservation.- All
packages/ui(62),plugins/tracker-resources(663), andplugins/view-resources(19) tests pass — 744 total. - 0
svelte-checkerrors across all three packages.
Spec + design
Design captured in docs/superpowers/specs/2026-05-12-tracker-filter-search-redesign-design.md in the related infra repo. The encoder design is documented inline in the SearchInputAdvanced.encoder.ts header JSDoc and the tokenize/renderToken function comments.
DCO
All 14 commits are Signed-off-by: Michael Uray.
Follow-up
A separate PR for the Gantt bar-coloring feature (overlays + color modes + sub-issue progress + saved-view bar-color snapshot) will open after this PR merges; the bar-colors branch will be rebased onto upstream develop so that follow-up PR shows a clean diff that does not duplicate this PR's content. The companion docs PR huly-docs#70 covers both this PR's surface and the bar-coloring follow-up.
Connected to Huly®: UBERF-16462
Stack update — companion PR10 is now open as Draft: #10873 (Gantt bar coloring + overlays + sub-issue progress). It is stacked on top of this PR. When this PR merges, PR10 will be rebased to drop the duplicated content and the diff there collapses to bar-colors only.