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

オープン
#862 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
37
フォーク
17
平均マージ
16時間 7分
マージ済み PR(30日)
128

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenSAK-Org/OpenSAK のほかの issue

OpenSAK-Org/OpenSAK の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。