Skip to content

feat(admin): surface hidden data across catalog, packs, users, and analytics screens#2392

Merged
andrew-bierman merged 2 commits into
mainfrom
feat/admin-rich-display
May 8, 2026
Merged

feat(admin): surface hidden data across catalog, packs, users, and analytics screens#2392
andrew-bierman merged 2 commits into
mainfrom
feat/admin-rich-display

Conversation

@andrew-bierman
Copy link
Copy Markdown
Collaborator

Summary

  • Catalog page: renders 40×40 thumbnail from images[0] (muted placeholder when absent)
  • Packs page: renders 40×40 cover image thumbnail; shows "upd" sub-line when updatedAt ≠ createdAt
  • Users page: shows "act" sub-line for last activity date when updatedAt ≠ createdAt
  • Analytics overview: replaces "Avg Price" stat with "Price Range" ($min–$max)
  • Analytics ETL table: adds filename (truncated) and scraperRevision (7-char prefix) sub-lines under Source

Testing

  • All changes are display-only — no API modifications
  • Images use next/image (already configured with unoptimized: true)
  • All pre-push hooks pass (cast checks, route guards, package ordering)

Post-Deploy Monitoring & Validation

No additional operational monitoring required: display-only changes with no new API calls or state mutations.


🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Catalog: 40×40 thumbnail from first image in images[]
Packs: cover image thumbnail; sub-line shows updatedAt when different from createdAt
Users: sub-line shows last activity date (updatedAt) when different from joined date
Analytics overview: replace Avg Price card with Price Range (min–max)
Analytics ETL table: show filename and scraper revision (truncated) under source

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 8, 2026 03:48
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Warning

Rate limit exceeded

@andrew-bierman has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 38 minutes and 7 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: eea41f91-c2bb-440a-9c46-bc185fa6e694

📥 Commits

Reviewing files that changed from the base of the PR and between bd8d1d2 and 475c220.

📒 Files selected for processing (4)
  • apps/admin/app/dashboard/catalog/page.tsx
  • apps/admin/app/dashboard/packs/page.tsx
  • apps/admin/app/dashboard/users/page.tsx
  • apps/admin/components/analytics/catalog-analytics.tsx

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: String must contain at most 250 character(s) at "tone_instructions"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/admin-rich-display

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 and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages Bot commented May 8, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
packrat-admin 475c220 Commit Preview URL

Branch Preview URL
May 08 2026, 03:55 AM

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Admin dashboard UI to surface additional “hidden” metadata across catalog, packs, users, and catalog analytics views to improve operational visibility without changing any APIs.

Changes:

  • Add thumbnails to Catalog and Packs list rows, with muted placeholders when missing.
  • Show secondary timestamps (“upd” for packs, “act” for users) when updatedAt differs from createdAt.
  • Enhance catalog analytics: show “Price Range” in the overview and add filename + scraper revision details to ETL rows.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
apps/admin/components/analytics/catalog-analytics.tsx Swaps avg price for price range; expands ETL “Source” column to include filename and scraper revision.
apps/admin/app/dashboard/users/page.tsx Adds a secondary “act” line for updatedAt under the joined date.
apps/admin/app/dashboard/packs/page.tsx Adds pack cover thumbnails and a secondary “upd” date line.
apps/admin/app/dashboard/catalog/page.tsx Adds catalog item thumbnails sourced from images[0] with placeholder fallback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +209 to +215
label: 'Price Range',
value:
overview.minPrice != null && overview.maxPrice != null
? `$${overview.minPrice.toFixed(0)}–$${overview.maxPrice.toFixed(0)}`
: overview.avgPrice != null
? `avg $${overview.avgPrice.toFixed(2)}`
: '—',
@andrew-bierman andrew-bierman merged commit dccdef3 into main May 8, 2026
8 checks passed
@andrew-bierman andrew-bierman deleted the feat/admin-rich-display branch May 8, 2026 05:44
andrew-bierman added a commit that referenced this pull request May 14, 2026
feat(admin): surface hidden data across catalog, packs, users, and analytics screens
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