Skip to content

feat(LAN-0): toggle issue attachments between thumbnails and a list - #24

Closed
cornedor wants to merge 1 commit into
mainfrom
issue/LAN-0-attachments-list-view
Closed

cornedor wants to merge 1 commit into
mainfrom
issue/LAN-0-attachments-list-view

Conversation

@cornedor

Copy link
Copy Markdown
Owner

The issue panel shows image and video attachments as big thumbnails, which leaves no room for who added a file or when. This adds a list layout next to it and remembers the choice.

  • jira.Attachment now carries Author and Created from Jira's attachment JSON (zero when Jira leaves them out); the TUI doesn't use them.
  • Attachments section: a toggle button in its head, or alt+i in the panel, switches between thumbnails and a list. Pref issue.files (list, or empty for thumbnails, the default).
  • A list row: a small preview (or file icon), name, uploader, date (relative, full date on hover), size and a download link on hover. A click on an image or video opens the viewer; other files download. Non-media files use the same row in the thumbnail layout, so they show uploader and date too.
  • Dutch strings, the layout-grid Lucide icon, and the README's issue-panel keys.

Tests: TestIssueAttachmentUploader (Go) and alt+i lists the attachments with who added them, and it stays (Playwright) both fail on main and pass here. go vet, gofmt, go test ./internal/jira ./internal/web ./internal/i18n and tests/issue.spec.mjs (10) pass. Checked by eye on the demo in both layouts.

@cornedor

Copy link
Copy Markdown
Owner Author

Replaced by #25 (no ticket key in the commit).

@cornedor cornedor closed this Nov 17, 2026
@cornedor
cornedor deleted the issue/LAN-0-attachments-list-view branch November 17, 2026 13:23
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