[codex] diagram studio home clarity and metadata#192
Merged
anand-testcompare merged 1 commit intomainfrom Mar 2, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Browserbase Replays
Workflow run: 22600754306 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR redesigns the diagram home/list experience to make re-entry clearer and more useful, while preserving fast access to local recents and improving source visibility for OpenCode-created sessions.
It also removes redundant home-page status badges and simplifies the signed-in header actions to match expected navigation behavior.
Problem
The previous diagrams landing experience had several usability issues:
Root Cause
sketchivsopencode), prompt context, derived title, and diagram type.What Changed
Backend
diagramSessionsschema with session metadata:title,titleEditedAt,source,firstPrompt,lastPrompt,diagramType.by_owner_updatedAtfor list ordering.diagramSessions.createto accept optionalsourceandtitleand normalize title input.diagramSessions.listMinesummary query with:hasSceneandhasRenderableContentto drive empty filtering.diagramSessions.renamemutation.diagramTypefrom tool output.source: "opencode"for OpenCode-origin sessions.Frontend
/diagramspage as a focused re-entry surface:Hide emptyfilter,diagram-list-item.tsxdiagram-scene-preview.tsx(lightweight SVG preview render)diagram-recents.ts/diagrams/[sessionId]page to use shared recents helper and explicitsource: "sketchi"for manual new-session creation.Visual Source Indicators
User Impact
Validation
Executed locally:
bun x ultracite fixbun x ultracite checkbun run check-typesbun run buildcd packages/backend && bunx convex codegen && bun run testAdditional OpenCode integration validation against local app (
http://localhost:3001):SKETCHI_API_URL=http://localhost:3001 SKETCHI_ACCESS_TOKEN="$(cat .memory/workos-auth/local-access-token.txt)" SKETCHI_SKIP_PNG_RENDER=1 bun run --cwd packages/opencode-excalidraw test:integrationNotes
agent-browserread-lock issues during WorkOS password-step interaction (os error 35), so final confidence was established through deterministic build/test/integration checks above.