Skip to content

Add session search, tags, and archive controls#103

Merged
slashdevcorpse merged 4 commits into
mainfrom
feature/session-organization
May 31, 2026
Merged

Add session search, tags, and archive controls#103
slashdevcorpse merged 4 commits into
mainfrom
feature/session-organization

Conversation

@slashdevcorpse
Copy link
Copy Markdown
Owner

@slashdevcorpse slashdevcorpse commented May 31, 2026

Summary

  • Add local session tags, archive state, failed-run metadata, and server-side full-text search across session titles, message text, and command output summaries.
  • Add session metadata client helpers, tag editing, archive/unarchive controls, and an archived section in the sidebar.
  • Replace the session command palette search with server-backed search and saved filters for workspace, pinned, recent, failed, tagged, and archived sessions.

Testing

  • pnpm -C apps/codex-claw lint
  • pnpm -C apps/codex-claw test
  • pnpm -C apps/codex-claw build

Notes

Closes #90


Summary by cubic

Adds server-backed session search, tags, and archive controls to help organize and find sessions faster. Closes #90 by delivering full-text search, tagging, archived views, and saved filters across the app.

  • New Features
    • API: GET /api/sessions now supports q, filter, tag, and includeArchived; PATCH /api/sessions accepts tags and archived.
    • Search: Full-text across titles, messages, and tool outputs with filters for workspace, pinned, recent, failed, tagged, and archived (server-backed except pinned).
    • Metadata: Normalize and persist tags; track archived and hasFailedRun; expose via SessionMeta.
    • UI: Tag editor dialog, archive/unarchive actions, archived section in the sidebar, and badges for tags/archived/failed.
    • Command Palette: Replaced local search with server-backed results, added filter pills, and status messages.
    • Client: useSessionMetadata for optimistic updates; new query keys and helpers; sidebar fetch includes archived for proper grouping.

Written for commit b51dd60. Summary will update on new commits.

Review in cubic

Copilot AI review requested due to automatic review settings May 31, 2026 09:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@slashdevcorpse slashdevcorpse merged commit 6457b09 into main May 31, 2026
5 of 6 checks passed
@slashdevcorpse slashdevcorpse deleted the feature/session-organization branch May 31, 2026 09:18
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 12 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: session search, tags, archive, and saved filters

2 participants