Skip to content

Files: details-only hover card, grouped digits in usage counts - #1277

Merged
Zach Dunn (zachdunn) merged 1 commit into
mainfrom
claude/project-thread-1xds70
Oct 22, 2026
Merged

Zach Dunn (zachdunn) merged 1 commit into
mainfrom
claude/project-thread-1xds70

Conversation

@zachdunn

Copy link
Copy Markdown
Member

Summary

  • Hover card: the tile hover card no longer shows a larger copy of the image. It shows the filename and the PR line, plus Page, State, Device and Uploaded rows when the item has those fields. The new shotPreviewCaption fields are page (from path, falling back to screen), state and device (from ai.surface). Every tile shows the card now, not only tiles with an image preview. Placement still uses shotPreviewPosition, measured before paint.
  • Numbers: usage counts use grouped digits (10,000, not 10000) in the sidebar meters, the object count, the plain usage text and the admin limits editor. This goes through a new formatCount / objectCountLabel in workspace-ui.ts.

By page items don't carry per-file metadata, so in that view the card shows the name and upload time. The page is already the group heading there. No API or D1 changes.

Test plan

  • pnpm --filter @uploads/web exec vitest run: 1351 tests pass, including a new caption test for page, state and device.
  • Web typecheck clean; oxlint shows no new warnings.
  • Checked locally on By page in both the grouped and newest-first layouts.

Generated by Claude Code

- The tile hover card drops the enlarged image and shows the filename,
  PR, then Page, State, Device and Uploaded rows when the item has them.
  Every tile gets the card now, not just ones with an image preview.
- Usage counts use grouped digits everywhere they render (sidebar, rail
  fallback text, admin limits): 10,000, not 10000.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FsGRzxzuHgaKiSjXwGmWL6
@changeset-bot

changeset-bot Bot commented Oct 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 11fd573

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 2
  • coderabbit:review
  • review
🚫 Excluded labels (none allowed): 1
  • wip

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8e581050-b978-4c19-a6cb-e36fcef94856

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@uploads-sh

uploads-sh Bot commented Oct 22, 2026

Copy link
Copy Markdown

hover-card-details.png
/account/workspaces/dev-demo/files · after

AI notes · nothing to flag
  • ✅ After screens look ready
  • ➖ Before and after not compared
    • Needs a file marked as before and one marked as after.

View on uploads.sh

1 file · add media: uploads put <file> --pr 1277 · docs

@zachdunn
Zach Dunn (zachdunn) merged commit 5bc3c6d into main Oct 22, 2026
4 checks passed
@zachdunn
Zach Dunn (zachdunn) deleted the claude/project-thread-1xds70 branch October 22, 2026 23:03
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.

2 participants