Web UI: file-list QoL — persist column widths/sort per config, export the filtered rows + JSON option, clickable filter chips

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, react, typescript

調査の方向性

Start with FileListTable.tsx:273-295 and App.tsx:82 to trace column widths and sort state, then App.tsx:1005-1024 and App.tsx:218-224 for export scope. Read utils/searchSyntax.ts:107-137 alongside FilterSyntaxHelper.tsx:42-62 for parsed filter groups. Done when all three features work per the issue: settings persist per config, exports support filtered rows and JSON, and clicking a chip removes its token.

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

説明

enhancement frontend

Idea

Three file-list features, all grounded in existing code:

1. Persist column widths and sort order per config. Column widths live only in FileListTable state (FileListTable.tsx:273-295) and sort in App state (App.tsx:82); both reset every reload. Persist { columnWidths, sort } to localStorage keyed by config.config_path, hydrate on mount — small change, big QoL for the 10k-row tables this component targets.

2. Export the visible (filtered) rows and a JSON option. handleExport (App.tsx:1005-1024) always exports the raw loaded list while the toast advertises the filter; visibleFiles is already computed (App.tsx:218-224). Add a small choice in the StatusBar flow (or export visibleFiles when a prefilter is active and say so), plus a format=csv|json flag reusing exportCsvToDisk. (Sharpens the "export scope unclear" note in #35 into a concrete feature.)

3. Removable filter-token chips. describeQuery (utils/searchSyntax.ts:107-137) already yields OR groups with includes/excludes — the same structure FilterSyntaxHelper renders read-only (FilterSyntaxHelper.tsx:42-62). Render each parsed token as a chip above the table; clicking one removes that term from filterText (re-serialize the remaining groups). Fits the existing operator UX without new syntax.

主要言語
Python
スター
1
フォーク
1
平均マージ
4時間 46分
マージ済み PR(30日)
55

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

falbany/ProFiles のほかの issue

falbany/ProFiles の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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