Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Sources/DynamicUI/DynamicUI.docc/Views/DisclosureGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This example demonstrates how to define a `DisclosureGroup` using DynamicUI's JS
"type": "DisclosureGroup",
"title": "Title",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/Group.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `Group` using DynamicUI's JSON schema.
{
"type": "Group",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing bracket for the "children" array is indented with 8 spaces, but it should be indented with 7 spaces to align with the opening of the "children" property on line 9. The closing bracket should match the indentation of the line that opened the array.

Suggested change
]
]

Copilot uses AI. Check for mistakes.
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/GroupBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `GroupBox` using DynamicUI's JSON sche
{
"type": "GroupBox",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/HSplitView.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `HSplitView` using DynamicUI's JSON sc
{
"type": "HSplitView",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/HStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `HStack` using DynamicUI's JSON schema
{
"type": "HStack",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/List.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `List` using DynamicUI's JSON schema.
{
"type": "List",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/NavigationView.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `NavigationView` using DynamicUI's JSO
{
"type": "NavigationView",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
35 changes: 17 additions & 18 deletions Sources/DynamicUI/DynamicUI.docc/Views/Picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,23 @@ This example demonstrates how to define a `Picker` using DynamicUI's JSON schema
{
"type": "Picker",
"children": [
{
"identifier": "item1",
"type": "Text",
"title": "Item 1"
},
{
"identifier": "item2",
"type": "Text",
"title": "Item 2",
"disabled": true
},
{
"identifier": "item3",
"type": "Text",
"title": "Item 3"
}
]
}
{
"identifier": "item1",
"type": "Text",
"title": "Item 1"
},
{
"identifier": "item2",
"type": "Text",
"title": "Item 2",
"disabled": true
},
{
"identifier": "item3",
"type": "Text",
"title": "Item 3"
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/ScrollView.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ This example demonstrates how to define a `ScrollView` using DynamicUI's JSON sc
{
"type": "ScrollView",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
11 changes: 5 additions & 6 deletions Sources/DynamicUI/DynamicUI.docc/Views/Section.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ This example demonstrates how to define a `Section` using DynamicUI's JSON schem
"type": "Section",
"title": "Section Title",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
]
}
{
"type": "Text",
"title": "Content goes here",
}
]
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing bracket for the "children" array is indented with 8 spaces, but it should be indented with 7 spaces to align with the opening of the "children" property on line 10. The closing bracket should match the indentation of the line that opened the array.

Suggested change
]
]

Copilot uses AI. Check for mistakes.
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
]
```
Expand Down
8 changes: 4 additions & 4 deletions Sources/DynamicUI/DynamicUI.docc/Views/VSplitView.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ This example demonstrates how to define a `VSplitView` using DynamicUI's JSON sc
{
"type": "VSplitView",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
}
Copy link

Copilot AI Dec 20, 2025

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.

Copilot uses AI. Check for mistakes.
Expand Down
8 changes: 4 additions & 4 deletions Sources/DynamicUI/DynamicUI.docc/Views/VStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ This example demonstrates how to define a `VStack` using DynamicUI's JSON schema
{
"type": "VStack",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
Expand Down
8 changes: 4 additions & 4 deletions Sources/DynamicUI/DynamicUI.docc/Views/ZStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ This example demonstrates how to define a `ZStack` using DynamicUI's JSON schema
{
"type": "ZStack",
"children": [
{
"type": "Text",
"title": "Content goes here",
}
{
"type": "Text",
"title": "Content goes here",
}
]
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
Comment thread
0xWDG marked this conversation as resolved.
Outdated
}
Expand Down