Skip to content

Commit fda4e9d

Browse files
os-zhuangclaude
andcommitted
chore: changeset for validation issue-path labels
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent df02d3f commit fda4e9d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
Validation messages name the offending widget + field
6+
7+
A nested Zod issue (e.g. `widgets.2.layout`) was shown as just its head field label — "Widgets: Invalid input" — so an author couldn't tell which widget or sub-field was at fault. `labelForIssuePath` now appends a readable trail, resolving each array index to the item's stable identity (id/name/title, incl. I18nLabel objects) from the draft: "Widgets → priority_split → layout". Single-segment paths are unchanged.

0 commit comments

Comments
 (0)