Skip to content

Add Onboarding page + restructure team-knowledge detail panel#17

Merged
Bogzx merged 1 commit intomainfrom
feature/dashboard-onboarding-page
Apr 26, 2026
Merged

Add Onboarding page + restructure team-knowledge detail panel#17
Bogzx merged 1 commit intomainfrom
feature/dashboard-onboarding-page

Conversation

@bbeatricecretu
Copy link
Copy Markdown
Collaborator

Summary

  • Adds /onboarding route — a flat catalog of every graduated prompt and every learning (durable + draft), so a new teammate can see all prompting patterns at once without clicking through the tree. Replaces the old "Behavioral metrics" home-page link.
  • Restructures the Team's-knowledge tree DetailPanel into three clearly-labeled sections with bigger neutral headings: Onboarding info (prompts) · Learnings (durable + draft, with status pill) · Description of project (cumulative narrative from root → current folder).
  • Adds author attribution to every prompt card (✍ name), so newcomers can see who wrote each prompt. API + shared types updated to surface prompts.author_user_id on /wiki/tree.
  • Tones down the rainbow color tinting — color is now reserved for true status (best, durable, draft); paths/topics/reuse counts use neutral muted chips.

Test plan

  • cd apps/dashboard && npm run dev and open http://localhost:3001
  • Click any team → see new "Onboarding" button (replaces "Behavioral metrics")
  • On /onboarding: verify the summary strip + two sections (Graduated prompts, All team patterns) render with all entries
  • On /wiki: click a tree node → verify the three new sections (Onboarding info, Learnings, Description of project) render with the bigger headings
  • Verify author chips show on every prompt card (✍ ana, ✍ marco, etc., or ✍ anonymous for legacy rows)

🤖 Generated with Claude Code

Dashboard:
- New /onboarding route lists ALL graduated prompts and ALL learnings
  (durable + draft) in flat catalog form. Single fetch over /wiki/tree,
  flattened + sorted client-side. Replaces the old "Behavioral metrics"
  link from the team picker home page.
- Restructure WikiTree DetailPanel into three clearly-labeled sections:
  Onboarding info (graduated prompts), Learnings (durable + draft with
  status pill), Description of project (cumulative body_md from root →
  current folder). Bigger neutral headings with thin underline; pulled
  back the rainbow tints — color now reserved for true status (best,
  durable, draft).
- Added author chip (✍ name) on every prompt card so newcomers can see
  who wrote what.

API + types:
- /wiki/tree now returns prompts.author_user_id so the dashboard chips
  can attribute each prompt. WikiTreePrompt gains author_user_id field.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

@bbeatricecretu is attempting to deploy a commit to the Bogdan's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:

  • Make your repository public. Collaboration is free for open source and public repositories.
  • Upgrade to pro and add @bbeatricecretu as a member. A Pro subscription is required to access Vercel's collaborative features.
    • If you're the owner of the team, click here to upgrade and add @bbeatricecretu as a member.
    • If you're the user who initiated this build request, click here to request access.
    • If you're already a member of the Bogdan's projects team, make sure that your Vercel account is connected to your GitHub account.

To read more about collaboration on Vercel, click here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

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

Project Deployment Actions Updated (UTC)
learnloop Blocked Blocked Apr 26, 2026 6:17am
polihackwinners-dashboard Blocked Blocked Apr 26, 2026 6:17am

@Bogzx Bogzx merged commit 2c5f45f into main Apr 26, 2026
2 of 4 checks passed
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