feat(studio): object field designer Tier-2 ergonomics#1444
Merged
Conversation
Editing affordances for the human-confirms-AI-output workflow: - Default value: a type-aware editor in the field inspector (tri-state select for boolean, number input for numeric, option dropdown for single picklists, text otherwise). Skipped for computed / relational / media / structural types that have no literal default. Persists on `Field.defaultValue`. - Duplicate field: clones the selected field below itself with a collision-free name and a "(copy)" label, then selects the clone. - Keyboard reorder: Alt+↑/↓ on a focused field row swaps it with its nearest same-group neighbour (never changes groups), reusing the drag-reorder write path. All strings localized (en-US / zh-CN). Tests: +11 RTL cases (default-value commit per kind, computed/lookup omit the editor, duplicate naming + selection + collision, Alt-arrow reorder / bounds / no-Alt / read-only). metadata-admin suite green (97); tsc clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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 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
Tier-2 editing ergonomics for the object field designer — the "human makes simple modifications to AI-authored objects" path.
Field.defaultValue.<name>_copy,_copy_2, …) and a "(copy)" label, then selects the clone.Alt+↑/↓on a focused field row swaps it with its nearest same-group neighbour (never crosses groups), reusing the existing reorder write path. A11y win for non-drag users.All new strings localized (en-US / zh-CN).
Tests
+11 RTL cases: default-value commit per kind, computed/lookup omit the editor, boolean uses a select; duplicate naming + selection + collision handling; Alt-arrow reorder + bounds + plain-arrow-noop + read-only inert.
metadata-adminsuite green (97);tscclean; 0 lint errors.Not included (still open from the evaluation)
description+placeholder).Note
Live browser verification remains blocked by a local framework dev-backend auth issue (
/api/v1/auth/get-session404 → console SPA can't restore a session), unrelated to this change; covered by unit tests.🤖 Generated with Claude Code