Idea detail
ideas_table_filters
reqlan rq/extension/module/ideas_summary/webview.rq:248
Summary
the ideas table should support text search, column sorting, and attribute-column filters driven by chip clicks.
attribute filters require a non-null attribute value in sqlite json per webview-table-queries.ts
reference chip filters match outbound / inbound edges by target or source id per webview-table-queries.ts
chips are right-aligned so truncated labels keep the informative suffix visible.
active attribute and reference filters appear as removable chips in the table toolbar.
Also table_column_filters, table_column_options, and group_by_type.
Ancestor context
Every data table supports a global search and a per-column filter row ( [ColumnFilterRow] ), matching the usability of [html_export.html_export_list_views]. Text / path / body columns use searchable inputs; closed sets ( idea kind, reference type, ideaset kind, base ready ) use select / multi-select from a fixed option list. Column filters are applied in the ui-sql layer ( [webview_table_queries] ) together with existing chip filters. Table panels must bind AppState query / rows via Svelte 5 `$derived` ( not legacy `$:` ) so filtered results from the extension message listener re-render — same pattern as [graphical_graph_doc.graphical_graph] / GraphView. Bases table filters client-side in the webview; other tables round-trip search through [ideas_summary_panel].
table_column_optionsEach table has an Options control ( [TableOptionsMenu] ) to show or hide columns. Visibility persists per tab in workspaceState via [table_ui_state].
group_by_typeIdeas table can group by idea kind ( block / oneliner ). References table can group by reference type ( file / comment / sub-idea ). Grouping is a toolbar toggle; rows are ordered by group then the active sort; UI shows collapsible group headers.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| file_reference | webview_table_queries | packages/analytical/src/index-store/webview-table-queries.ts | webview-table-queries.ts |
| file_reference | ../../../../packages/analytical/test/webview-table-queries.test.ts | packages/analytical/test/webview-table-queries.test.ts | webview-table-queries.test.ts |
| references | group_by_type | reqlan rq/extension/module/ideas_summary/webview.rq | group_by_type |
| references | table_column_filters | reqlan rq/extension/module/ideas_summary/webview.rq | table_column_filters |
| references | table_column_options | reqlan rq/extension/module/ideas_summary/webview.rq | table_column_options |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Initialising graph…