Skip to content

feat(library): the view count is a chip beside Published - #67

Merged
DarrellVS merged 1 commit into
devfrom
feat/view-count-chip
Sep 23, 2026
Merged

DarrellVS merged 1 commit into
devfrom
feat/view-count-chip

Conversation

@DarrellVS

Copy link
Copy Markdown
Owner

Follow-up to #65.

The view count moves off the metadata line and into a chip beside Published, top right of the card: (Published) (eye 37). A count only exists for a published clip, so it belongs with the chip that says so, and the line under the title goes back to length, game, date and size.

  • ClipPublishedBadge draws the second chip (BaseChip numeric, material-symbols:visibility-outline); ClipMetadata is back to exactly what it was before feat(library): show view count on published clips' cards #65.
  • The chip is an eye and a number; aria-label and title carry 37 views, last opened 2 days ago.
  • Null and zero still draw nothing.
  • viewCountFigure (the number) beside viewCountLabel (the words), both unit tested to agree.

npm run check green, 877 tests. e2e not run.

🤖 Generated with Claude Code

A count only exists for a published clip, so it sits with the chip that
says so: (Published) (eye 37), top right of the card. The metadata line
under the title goes back to length, game, date and size, which was one
fact too long with the count on the end.

The chip is an eye and a number; its accessible name and tooltip carry
the words and when it was last opened. Null and zero still draw nothing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@DarrellVS DarrellVS added the enhancement New feature or request label Sep 23, 2026
@DarrellVS
DarrellVS merged commit b5f8ca1 into dev Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant