fix: read spec-canonical keys for dashboard header title and field length rules#2806
Merged
Conversation
…ngth rules Naming-drift closeouts (framework#1878 / framework#1891): - DashboardRenderer header falls back to spec-canonical `label` when the legacy `title` is absent (mirrors DashboardGridLayout, #2666). - Field validation rules read spec-canonical camelCase minLength/maxLength (what the server record-validator enforces), snake_case kept as fallback. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CMaDBhnZEUu1fcw8Rvo6Yq
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
os-zhuang
marked this pull request as ready for review
July 24, 2026 15:05
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.
What
Closes the two remaining objectui-side naming-drift items of
objectstack-ai/objectstack#1891 (umbrella objectstack-ai/objectstack#1878):
spec key ≠ consumed key, so the authored property silently did nothing.
Changes
DashboardRenderer— the header title now falls back to thespec-canonical
label(@objectstack/specDashboardSchema) when thelegacy
titleis absent, mirroring theDashboardGridLayoutfallback fromfix(metadata-admin): dashboard label fallback + skill activation editors (#1878) #2666. A spec-compliant dashboard arriving via the spec bridge gets its
header title.
@object-ui/fields— auto-generated length validation rules now readthe spec-canonical camelCase
minLength/maxLength(what the serverrecord-validator enforces), keeping the legacy snake_case
min_length/max_lengthas fallback — authored length constraints reachthe client form instead of only failing server-side.
Changeset:
@object-ui/plugin-dashboard+@object-ui/fieldspatch.Testing
type-checkgreen (fields, plugin-dashboard + deps).Pairs with the framework PR folding agent
knowledge.topics→sourcesandmarking unenforced AI config experimental.
🤖 Generated with Claude Code
Generated by Claude Code