Skip to content

feat(den): replace mocked usage insights with real download section#1776

Merged
benjaminshafii merged 1 commit into
devfrom
feat/den-dashboard-download-section
May 13, 2026
Merged

feat(den): replace mocked usage insights with real download section#1776
benjaminshafii merged 1 commit into
devfrom
feat/den-dashboard-download-section

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • Remove the entire "Usage Insights" enterprise-only section from the Den dashboard (mocked sparklines, area charts, fake plugin/skill tables, telemetry settings panel, EnterpriseBadge)
  • Add a Download OpenWork section at the top of the dashboard that fetches real release assets from the GitHub API
  • Show per-platform installers: macOS (Apple Silicon + Intel), Windows (x64), Linux (AppImage x64 + ARM64) with OS auto-detection badge

What was removed

All mocked/preview data:

  • pluginRows (Productivity, Enterprise Search, Sales, Customer Support, Product Management, Engineering)
  • skillRows (Release readiness, Research brief, Meeting prep, Bug triage, Changelog draft)
  • FALLBACK_WEEKLY_TREND, hard-coded "1,284" tasks completed
  • Sparkline, AreaChart, EnterpriseBadge, GradientTile, TabBar, CapTable components
  • Telemetry settings panel (Collection, Identity, Retention, Prompt data)

What was added

  • GitHub releases API client-side fetch (via react-query, 1hr stale time) using the same asset selection logic as ee/apps/landing/lib/github.ts
  • Download cards for macOS, Windows, Linux with architecture-specific links
  • OS auto-detection with "Detected" badge

Evidence

Build verification

  • pnpm --filter @openwork-ee/den-web build -- passed
  • tsc --noEmit -- passed (zero type errors)

UI verification

  • No console errors expected (client-side GitHub API fetch is best-effort with fallback)

Test instructions

  1. pnpm dev:den
  2. Sign in and navigate to the org dashboard
  3. Verify the download section appears at the top with real release links
  4. Verify no mocked usage insights / enterprise analytics section remains
  5. Verify live org data cards (OpenWork users, Pending invites) still work

Remove enterprise-only usage insights section with all mocked data
(sparklines, area charts, fake plugin/skill tables, telemetry settings).

Add a proper Download OpenWork section at the top of the dashboard
that fetches real release assets from the GitHub API and presents
per-platform installers (macOS Apple Silicon/Intel, Windows x64,
Linux AppImage x64/ARM64) with OS auto-detection.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment May 13, 2026 3:32am
openwork-den Ready Ready Preview, Comment May 13, 2026 3:32am
openwork-den-worker-proxy Ready Ready Preview, Comment May 13, 2026 3:32am
openwork-landing Ready Ready Preview, Comment, Open in v0 May 13, 2026 3:32am
openwork-share Ready Ready Preview, Comment May 13, 2026 3:32am

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