-
-
Notifications
You must be signed in to change notification settings - Fork 1
Fix typos and indentation #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR standardizes the indentation of JSON code examples across documentation files for various DynamicUI view components. The changes improve code consistency and readability in the documentation.
Key Changes
- Corrected indentation of JSON objects within code examples from inconsistent spacing to a standardized 12-space indent for nested children
- Aligned closing brackets to match their corresponding opening brackets
- Applied consistent formatting across 13 documentation files
Reviewed changes
Copilot reviewed 9 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| ZStack.md | Fixed indentation of children array content in JSON example |
| VStack.md | Fixed indentation of children array content in JSON example |
| VSplitView.md | Fixed indentation of children array content in JSON example |
| Section.md | Fixed indentation and aligned closing brackets in JSON example |
| ScrollView.md | Fixed indentation and aligned closing brackets in JSON example |
| Picker.md | Fixed indentation for multiple picker items and aligned closing brackets |
| NavigationView.md | Fixed indentation and aligned closing brackets in JSON example |
| List.md | Fixed indentation and aligned closing brackets in JSON example |
| HStack.md | Fixed indentation and aligned closing brackets in JSON example |
| HSplitView.md | Fixed indentation and aligned closing brackets in JSON example |
| GroupBox.md | Fixed indentation and aligned closing brackets in JSON example |
| Group.md | Fixed indentation and aligned closing brackets in JSON example |
| DisclosureGroup.md | Fixed indentation of children array content in JSON example |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 9 out of 13 changed files in this pull request and generated 13 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
| } |
Copilot
AI
Dec 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JSON structure has an extra closing brace. After line 14 which closes the "children" array, there should only be ONE closing brace to close the object that started on line 7. Currently there are two closing braces (lines 15 and 16), which creates invalid JSON syntax. Line 15 should be removed.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 9 out of 13 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 11 out of 13 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 12 out of 13 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.