QUA-1806: Add Filter Presets and Filter and Sort documentation#1125
QUA-1806: Add Filter Presets and Filter and Sort documentation#1125RafaelOsiro wants to merge 5 commits into
Conversation
- Add 10-page Filter and Sort subtree under the Filtering Controls section (getting started, deep dive, 4 how-tos, API, FAQ). - Extract the Filtering Controls section from insights.md into the new subtree. - Add mkdocs nav entries for Filtering Controls (filter-and-sort + filter-presets). - Align filter-presets/introduction.md and how-it-works.md with verified backend behavior (Report Date and Timeframe are Insights-specific; remove backend spec vocabulary from how-it-works). - Remove unused insights screenshots (filter-3-light.png, fuzzy-insights.png).
…n tables - Add Filter and Sort rows (filter Explore by team datastores, by all workspace datastores, by any tag) to admin.md, manager.md, member.md, and the overview.md matrix. - Add Filter Presets rows (create, edit/delete own, edit/delete any) to the same files. - "Edit or delete a filter preset you created" wording aligned with filter-presets/deep-dive/permissions.md.
- Add a new "Report Date and Timeframe" section to the Insights page, positioned between Navigation and "Understanding Timeframes and Timeslices". - The section introduces the two Insights-specific controls (Report Date, Timeframe) with a reference image and a table mapping the numbered callouts to each control. - Note that these controls do not appear on other Explore tabs. - Add the new screenshot asset (report-date-and-timeframe.png). - Remove the orphan docs/explore/image.png (not referenced anywhere).
Greptile SummaryThis PR adds two new documentation subtrees under Explore — Filter and Sort (filter-bar reference: datastores, tags, and Insights-specific controls) and Filter Presets (save, apply, update, delete named filter combinations) — each with Getting Started, Deep Dive, How-tos, API, and FAQ pages. It also refactors
Confidence Score: 4/5Safe to merge after resolving the timeframe contradiction between the deep-dive and API pages. The deep-dive how-it-works page and the FAQ both tell users that presets store only datastores and tags, while the API page in the same PR documents a docs/explore/filtering-controls/filter-presets/deep-dive/how-it-works.md and docs/explore/filtering-controls/filter-presets/faq.md need to align with the timeframe behavior documented in docs/explore/filtering-controls/filter-presets/api.md. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Explore Page Filter Bar] --> B[Source Datastores Dropdown]
A --> C[Tags Dropdown]
A --> D[Report Date - Insights only]
A --> E[Timeframe - Insights only]
B --> F{Filters applied?}
C --> F
F -- Yes --> G[Save as new preset icon]
F -- Always --> H[Saved Filters dropdown]
G --> I[Add Filter Preset dialog]
H --> I
I --> J[Filter Preset stored - Name · Description · Datastores · Tags + timeframe via API]
J --> K[Apply via Saved Filters dropdown]
J --> L[Share via URL ?filter=id]
J --> M[Update: rename / re-save filters]
J --> N[Delete: permanent]
K --> A
L --> A
subgraph Permissions
O[Member: own presets only]
P[Manager: any visible preset]
Q[Admin: all workspace presets]
end
M --> Permissions
N --> Permissions
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[Explore Page Filter Bar] --> B[Source Datastores Dropdown]
A --> C[Tags Dropdown]
A --> D[Report Date - Insights only]
A --> E[Timeframe - Insights only]
B --> F{Filters applied?}
C --> F
F -- Yes --> G[Save as new preset icon]
F -- Always --> H[Saved Filters dropdown]
G --> I[Add Filter Preset dialog]
H --> I
I --> J[Filter Preset stored - Name · Description · Datastores · Tags + timeframe via API]
J --> K[Apply via Saved Filters dropdown]
J --> L[Share via URL ?filter=id]
J --> M[Update: rename / re-save filters]
J --> N[Delete: permanent]
K --> A
L --> A
subgraph Permissions
O[Member: own presets only]
P[Manager: any visible preset]
Q[Admin: all workspace presets]
end
M --> Permissions
N --> Permissions
Reviews (2): Last reviewed commit: "docs(filter-presets): add Apply row to r..." | Re-trigger Greptile |
|
@greptileai review |
Overview
Documents the Filter Presets feature (governance and ownership delivered in QUA-1806) and extracts the Filter and Sort filter-bar section from
insights.mdinto a dedicated subtree under Filtering Controls. Also adds Report Date and Timeframe documentation to the Insights page.Key Changes
insights.md(now covered by the dedicated Filter and Sort pages) and added a new "Report Date and Timeframe" section documenting the Insights-specific controls.filter-3-light.png,fuzzy-insights.png) and the unuseddocs/explore/image.png.Pages to Test