Search: scope dropdown in the search field + Type/Modified filter pills on results #734

Closed
opened 2026-09-25 03:37:43 +00:00 by Cordy · 0 comments
Owner

From the OpenCloud comparison (#695 item 11), modelled on demo.opencloud.eu and mockup-approved.

  • Scope: a dropdown inside the search field — "All files" (default) / "This folder" (roots at the folder currently open, including space folders). Backend: GET /api/v1/search gains an optional path parameter that roots the existing bounded BFS there instead of "/" (validated via the house qpath; per-user scope overlay unchanged). Sticky for the session; when no folder view is open, folder scope falls back to all.
  • Filters on the results view: Type (multi-select: documents, spreadsheets, presentations, PDFs, images, audio/video, folders, archives, other) and Modified (today / last 7 days / last 30 days / this year / last year), applied client-side over the server's capped 200 ranked results — pure helpers in a lift-block, with a "n of m" count when filtering. Active filters render as green pills; Clear resets.
  • Deliberately no "Title only" pill: OpenCloud needs it because its default is full-text; Cairn's search is name+tag matching by design. tag: queries unchanged. No suggestion popover either — Cairn's typing-is-search already renders live results in the main view.
  • i18n ×4 for all new labels.
From the OpenCloud comparison (#695 item 11), modelled on demo.opencloud.eu and mockup-approved. - **Scope**: a dropdown inside the search field — "All files" (default) / "This folder" (roots at the folder currently open, including space folders). Backend: `GET /api/v1/search` gains an optional `path` parameter that roots the existing bounded BFS there instead of "/" (validated via the house `qpath`; per-user scope overlay unchanged). Sticky for the session; when no folder view is open, folder scope falls back to all. - **Filters** on the results view: Type (multi-select: documents, spreadsheets, presentations, PDFs, images, audio/video, folders, archives, other) and Modified (today / last 7 days / last 30 days / this year / last year), applied client-side over the server's capped 200 ranked results — pure helpers in a lift-block, with a "n of m" count when filtering. Active filters render as green pills; Clear resets. - **Deliberately no "Title only" pill**: OpenCloud needs it because its default is full-text; Cairn's search is name+tag matching by design. `tag:` queries unchanged. No suggestion popover either — Cairn's typing-is-search already renders live results in the main view. - i18n ×4 for all new labels.
Cordy closed this issue 2026-09-25 03:56:03 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#734
No description provided.