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

Aperta
#155 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, react, typescript

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
1
Fork
1
Merge medio
4h 46m
PR unite (30g)
55

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 falbany/ProFiles

Tutte le issue di falbany/ProFiles

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.