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

Đang mở
#155 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
4 giờ 46 phút
Pull request đã merge (30 ngày)
55

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của falbany/ProFiles

Tất cả issue của falbany/ProFiles

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.