Skip to content

Commit 68e3ecc

Browse files
committed
refactor: remove local filesystem workspace system and replace with demo data
This commit removes the entire filesystem-access based workspace system: 1. Deletes workspace types and file system access store modules 2. Removes filesystem-related logic from App component and sidebar/nav components 3. Replaces dynamic workspace handling with hardcoded demo project data 4. Simplifies the UI to show placeholder dashboard content instead of project editor
1 parent 4bd6ca8 commit 68e3ecc

26 files changed

Lines changed: 462 additions & 740 deletions

.agents/skills/agent-html/references/examples.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Use the closest valid fixture before inventing new structure.
1111
## Valid Patterns
1212

1313
- `card-tabs-grid.xml`
14+
- `codeblock-basic.xml`
1415
- `complex-dashboard.xml`
1516
- `icon-basic.xml`
1617
- `image-basic.xml`
@@ -24,6 +25,9 @@ Use the closest valid fixture before inventing new structure.
2425
- `bare-text-under-section.xml`
2526
- `carousel-missing-content.xml`
2627
- `chart-missing-series.xml`
28+
- `codeblock-empty.xml`
29+
- `codeblock-invalid-language.xml`
30+
- `codeblock-missing-language.xml`
2731
- `image-invalid-fit.xml`
2832
- `image-invalid-src.xml`
2933
- `image-with-child.xml`

.agents/skills/agent-html/references/grammar.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
- `ChartSeries:key=string, label?=string`
8787
- `ChartTooltip:hideLabel?="true|false" -> none`
8888

89+
- `CodeBlock:language="ahtml|html|tsx|jsx|ts|js|json|bash", title?=string -> raw code text`
90+
8991
- `Icon:name=string -> none`
9092
- `Image:src=string, alt=string, fit?="cover|contain" -> none`
9193
- `Text:variant?="h1|h2|h3|h4|p|lead|large|small|muted|inline-code" -> Text`
@@ -97,6 +99,11 @@
9799
<Section width="reader">
98100
<Stack>
99101
<Text variant="muted">Use Text for standalone copy inside layout nodes.</Text>
102+
<CodeBlock language="tsx" title="Example.tsx">
103+
function Example() {
104+
return <div>Hello</div>
105+
}
106+
</CodeBlock>
100107
</Stack>
101108
</Section>
102109

0 commit comments

Comments
 (0)