feat(workspace): session rename / delete / export / search #604
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!604
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/workspace-session-crud-567"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Session management UX additions for the workspace sidebar and toolbar.
Test plan
.mdfile downloads with role headers + timestampsPATCH /foreman/sessions/:idwith{ title }: 200 + updated row; empty/long/newline titles → 400GET /foreman/sessions/:id/export?format=jsonreturns JSON file attachmentGET /foreman/sessions/:id/export?format=markdownreturns Markdown file attachmentCloses #567
apps/web/src/routes/workspace.index.tsx— JSON export is never reachable from the UI. The AC (issue #567) explicitly says "Export menu → markdown or JSON".exportForemanSessionandonExportSessionboth accept aformatparam, but every call site hardcodes"markdown": sidebar Download button (exportForemanSession(s.id, "markdown")), toolbar button (onExportSession("markdown")). Add a format selector (e.g. a split-button or short dropdown) so users can trigger JSON export from the UI without hitting the API directly.Re-posting reviewer feedback to retrigger the address-review dispatch (the original
pull_request_reviewevent from #838 did not enqueue a follow-up task — see #610).Same actionable point as before:
apps/web/src/routes/workspace.index.tsx— JSON export is never reachable from the UI. The AC (issue #567) explicitly says "Export menu → markdown or JSON".exportForemanSessionandonExportSessionboth accept aformatparam, but every call site hardcodes"markdown": sidebar Download button (exportForemanSession(s.id, "markdown")), toolbar button (onExportSession("markdown")). Add a format selector (e.g. a split-button or short dropdown) so users can trigger JSON export from the UI without hitting the API directly.d9dfea90a8484ff1c455Round-1 finding addressed:
ExportSessionMenunow wraps both the sidebar Download button and the toolbar Export button with Markdown/JSON choices — JSON export is reachable from the UI. CI green.