Link highlight colors directly to Saved Filter Profiles (#860 follow-up)

Aperta
#862 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

Start from FilterProfile's JSON schema and FilterSet.matches(cache), the per-row evaluation the issue proposes reusing, and check how WhereClauseFilter populates _matching_ids through a SQL pre-run. The work is a design-heavy feature touching profile storage, the Filter Profile Manager ordering, and re-evaluation triggers, so settle the design with maintainers before coding. Done means the highlight fields persist, first-match priority holds, and the view refreshes on db load, cache edit and profile edit.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: filters area: UI improvement

Feature request from Discussions #860 (VeeN13): let a saved Filter Profile optionally carry a highlight color (text/background/map pin), so highlighting stays in sync with filter criteria instead of being recreated separately (as in GSAK's Mfilter → Waypoint→Highlight split workflow).

Proposed v1 scope:

Add optional highlight_enabled, text_color, bg_color, pin_color fields to FilterProfile's JSON schema
Reuse FilterSet.matches(cache) for per-row evaluation, decoupled from the active list-narrowing filter
Note: profiles containing a WhereClauseFilter need one SQL pre-run per profile to populate _matching_ids before matches() works correctly
Priority-ordered list of highlight-enabled profiles in the Filter Profile Manager; first match wins (no color blending)
Re-evaluate on the same triggers as other derived per-row visuals (db load, cache edit, profile edit)

Related but separate from the filter-criteria parity work tracked in #821.

Lingua principale
Python
Stelle
37
Fork
17
Merge medio
16h 7m
PR unite (30g)
128

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenSAK-Org/OpenSAK

Tutte le issue di OpenSAK-Org/OpenSAK

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.