Skip to content

design(wip): product redesign — goal-first closed-loop Storefront Agent#3738

Draft
rafavalls wants to merge 4 commits into
mainfrom
rafavalls/product-redesign
Draft

design(wip): product redesign — goal-first closed-loop Storefront Agent#3738
rafavalls wants to merge 4 commits into
mainfrom
rafavalls/product-redesign

Conversation

@rafavalls

@rafavalls rafavalls commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds new route structure: /me (personal home), /$org/inbox, /$org/goal, /$org/onboarding
  • New agent settings sub-pages: /settings/agent, /agent/personalization, /agent/automations, /agent/findings, /agent/memory, /agent/files, /settings/findings
  • New deco-redesign view directory with full mock-data-driven UI for the goal-first redesign (home, inbox, goal detail, onboarding, agent settings, personal home, primitives)
  • New tool-call part renderers: cms.tsx, system-health.tsx
  • Settings layout restructured; chat store/hooks updated to support redesign flows

Test plan

  • bun run fmt — passes (no changes)
  • bun run check — type check passes
  • Navigate to /$org/ — org home still loads
  • Navigate to /$org/inbox — inbox route renders
  • Navigate to /$org/goal — goal route renders
  • Navigate to /me — personal home renders
  • Navigate to /$org/settings/agent — agent settings page renders
  • Navigate to /$org/onboarding — onboarding demo renders
  • Existing chat + settings routes unaffected

🤖 Generated with Claude Code


Summary by cubic

Extends the goal‑first redesign with a personal /me landing, a real Preview beside chat, and an agent‑centric switcher. Findings and CMS proposals are seeded as real threads to support a closed‑loop review across shell, sidebar, and settings, with a refined System Health fix card for clearer decisions.

  • New Features

    • Added routes: /me, /$org/inbox, /$org/goal, /$org/onboarding, /$org/content, plus agent settings under /$org/settings/* (personalization, memory, files, automations, findings).
    • Real Preview: top‑right button opens the agent shell with the main panel set to Preview via ?main=preview (no standalone mock).
    • New deco-redesign views (home, inbox, goal detail, onboarding, agent settings, personal home, content, primitives); preview shows beside chat with a toolbar and modes.
    • Tool‑call UIs for tool-system_health_spike, tool-system_health_fix, and tool-cms_content, with approve/publish actions that update the brief and sidebar.
    • Seeded System Health findings and CMS proposals as threads shown in the sidebar and opened in standard chat; local mock threads render without backend calls.
  • Refactors

    • Navigation/sidebar: default to /me; added Content item, teammate “+”, and a Preview button; simplified task groups.
    • Account switcher now lists Agents (orgs + teammates) and shows the user; search placeholder set to “agents”.
    • Agent settings now include org‑admin surfaces: Knowledge & access (incl. Subagents) and Manage (Monitoring, Roles & permissions, …).
    • Settings polish: “Agents” list retitled “Subagents”, Profile & Preferences width aligned; sidebar settings button opens /$org/settings/profile.
    • System Health fix finding card refined: one cohesive card with a state pill, actions moved to a footer, and a quiet “Live · Undo” resolved state.

Written for commit 826fcf2. Summary will update on new commits.

Review in cubic

Adds the new navigation structure and view scaffolding for the Studio redesign:
goals as the root object, inbox/findings, onboarding flow, personal home (/me),
agent settings sub-pages, and a full deco-redesign view directory with mock data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

🧪 Benchmark

Should we run the Virtual MCP strategy benchmark for this PR?

React with 👍 to run the benchmark.

Reaction Action
👍 Run quick benchmark (10 & 128 tools)

Benchmark will run on the next push after you react.

@rafavalls rafavalls marked this pull request as draft June 9, 2026 18:15
rafavalls and others added 3 commits June 9, 2026 15:57
…cher

- Land on /me (personal space) instead of an org
- Account switcher lists Agents (orgs + teammates), footer shows the user
- Preview opens as a sandbox-style panel beside a chat panel (top-right)
- Content page mirrors the deco-sites content browser (pages → sections)
- Sidebar: Content item; teammate "+" dropdown (Storefront / New)
- Agent updates match Figma; Profile & Preferences width aligned

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ngs tweaks

- Preview opens the real agent shell (chat | main-panel Preview tab) via
  ?main=preview, defaulting to the org agent; removed the standalone mock
- Agent settings include org-admin surfaces (org = agent): Knowledge & access
  (incl. Subagents) + Manage (Monitoring, Roles & permissions, ...)
- Sidebar settings button → Profile & Preferences

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- One cohesive card (rounded-xl + shadow); state pill (Published / Needs
  review / #PR)
- Move decide actions into a card footer instead of floating below it
- Resolved state shows a quiet "Live · Undo" rather than a lone button

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rafavalls rafavalls changed the title feat(web): product redesign — goal-first closed-loop UI scaffolding design(wip): product redesign — goal-first closed-loop UI scaffolding Jun 9, 2026
@rafavalls rafavalls changed the title design(wip): product redesign — goal-first closed-loop UI scaffolding design(wip): product redesign — goal-first closed-loop Storefront Agent Jun 9, 2026
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