Skip to content

Require description for shared media#42

Merged
selfcontained merged 1 commit into
mainfrom
worktree-media-description
Mar 12, 2026
Merged

Require description for shared media#42
selfcontained merged 1 commit into
mainfrom
worktree-media-description

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • dispatch-share and dispatch-stream stop now require a short description as a positional argument
  • Backend rejects media uploads missing a description (400)
  • Media sidebar displays descriptions instead of filenames; lightbox caption uses description
  • CLAUDE.md updated to require screenshot sharing via dispatch-share for UI validation

Test plan

  • Backend: upload without description returns 400, with description returns 201
  • CLI: dispatch-share and dispatch-stream stop exit with error if description is missing
  • UI: media sidebar shows description text, no filenames
  • UI: lightbox caption shows description
  • Legacy items (no description) degrade gracefully — show only file size
  • Web build passes (npm run finalize:web)
  • Backend type check passes (tsc --noEmit)

🤖 Generated with Claude Code

Makes the description parameter required (positional arg) for
dispatch-share and dispatch-stream stop. The backend now rejects
uploads without a description. The media sidebar displays
descriptions instead of filenames.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit 0ed6698 into main Mar 12, 2026
1 check passed
@selfcontained
selfcontained deleted the worktree-media-description branch March 12, 2026 02:59
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.

1 participant