Use SortTableHeader For Remaining Un-Refactored Sortable Tables
#13,167 建立於 2026年8月7日
倉庫指標
- 星標
- (776 顆星)
- PR 合併指標
- (平均合併 20天 9小時) (30 天內合併 84 個 PR)
描述
What problem are you trying to solve with Submitty Table sorting logic has been unified in a Vue component (SortableTableHeader) in #12996. However, some tables have been left un-refactored because the original PR was getting big. The following two tables are not yet refactored, but this list is not exhaustive.
student activity dashboard table (http://localhost:1511/courses/f26/sample/activity) bulk upload stats/forensics (http://localhost:1511/courses/f26/sample/gradeable/bulk_upload_test/bulk_stats)
EDIT: Barb is especially excited about allowing sorting on the forensics page. At a minimum, the date column should be sortable, and you can use regular alphanumeric string sorting for that column, but is should be simple and feasible to make all of the columns sortable.
Describe the way you'd like to solve this problem The new SortableTableHeader should be used on the remaining un-refactored tables, or a good reason should be documented as to why the sorting functionality on these tables is not compatible with the new component. If necessary, changes should be proposed in a PR to make SortableTableHeader compatible with these tables as well as the currently refactored tables.