Uh oh!
There was an error while loading. Please reload this page.
feat(console-ai): package binding chip + latest-only handoff cards + honest send hint (#2458 / ADR-0057 A1.a) - #2461
Merged
Merged
Conversation
…honest send hint (#2458 / ADR-0057 A1.a) - A1.a binding chip in build header (deriveBoundPackageId: ?package= else latest draft/handoff package; 'New app' when unbound). Unit-tested; live-verified the New app -> bound-package transition after a build. - UX#5: only the LATEST 'Open in Builder' card is actionable; older superseded cards are disabled (derived from message order, survives navigation/remount). - UX#7: drop misleading cmd glyph from send hint (plain Enter already sends). Unit-tested (deriveBoundPackageId, superseded-card, ChatbotEnhanced). Package builds (tsc) clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub. |
This was referenced Jul 13, 2026
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
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 freeto 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.
Three UX fixes from the consolidated live-testing findings (#2458), all live-verified in the magic flow (screenshots below). Companion backend: objectstack-ai/cloud#823.
1. A1.a — package binding chip (ADR-0057 Amendment A1, PR #2457)
The build surface header now shows the package the conversation is bound to (
📦 <app>) or "✨ New app" when unbound — the Claude-Code-shows-the-repo idiom, for display only (no gating).deriveBoundPackageIdreads the explicit?package=else the latestdraftReview/builderHandoffpackage in the thread.Live-verified: a fresh build starts "✨ New app" and flips to "📦 客户管理" the moment its build mints the package.
2. UX#5 — only the latest handoff card is actionable
When an ask thread accumulates several "Open in Builder →" cards, only the newest stays clickable; older (superseded) cards are disabled (tooltip "A newer request is available"). Derived from message order, not click state, so it survives the navigation the button triggers and the pane remount that follows — the reason a naive "clicked → inert" approach fails here.
Live-verified: two handoff cards in one thread — the older greyed/disabled, the newer bright/actionable.
3. UX#7 — honest send hint
The composer already sends on plain Enter (Shift+Enter = newline); dropped the misleading
⌘glyph from the hint so it reads "↵ 发送" instead of implying Cmd+Enter.Live-verified.
Tests
deriveBoundPackageId(5), superseded-card (in ChatbotEnhanced, 82), no regressions in handoff/deferred-send suites; plugin-chatbot + app-shell package builds (tsc) clean.Not in this PR (deferred, tracked in #2458)
Login silent-failure (framework auth), ask-decline skeleton, i18n sweep, global pending-blueprint badge (P3 dock), free-tier usage indicator, bundle splitting.
Refs: #2458, #2457 (Amendment A1), epic #2409.
🤖 Generated with Claude Code