-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,053 additions
and
83 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,49 @@ | ||
#### FOCUS | ||
|
||
- focus on editing | ||
|
||
- ensure that paths are absolute | ||
- can move components to to other files | ||
- references are updated | ||
- update refs OF expression moved | ||
|
||
- everything should be editable in the UI | ||
- should be able to edit variant triggers | ||
- should be able to add scripts | ||
- prohibit things from being deleted if references to them | ||
- layers | ||
- select slots | ||
- ensure that all inserts are created | ||
- proper UI for inserts | ||
|
||
#### Immediate | ||
|
||
- designer stops working after lint error | ||
- post edit clean up | ||
|
||
- prune unused imports | ||
- add inserts of elements | ||
|
||
- editing | ||
- layers panel | ||
|
||
- circular dependencies | ||
- ability to move tokens to other files | ||
- ability to move mixins to other files | ||
- ability to move components to other files | ||
- ability to move triggers to other files | ||
- ensure that | ||
- all instances of each expression is updated | ||
- ability to drop assets to the canvas | ||
|
||
- linting | ||
- canvas | ||
- topbar should not move when panels hide / show | ||
- AI | ||
|
||
- ensure that no magic colors are present | ||
- ensure that no magic measurements are present | ||
- CLI tool for interacting with code | ||
- compare before committing | ||
|
||
- layers panel | ||
- Online editor | ||
|
||
- ability to drop files into file navigator | ||
- WASM bridge | ||
|
||
- file navigator | ||
|
||
- styles | ||
- ability to drop files to file navigator | ||
- display assets | ||
|
||
- resource panel | ||
|
||
- display components | ||
- display assets (svg, png) | ||
- ability to drop assets to canvas | ||
|
||
- styles panel | ||
|
||
- properties panel | ||
|
||
- text input should be text area | ||
|
||
- compiler | ||
- compile style mixins as css selectors | ||
- compile style vars |
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/\* | ||
|
||
Instructions + behavior to bridge GPT with a library | ||
that can interact with it. | ||
|
||
\*/ | ||
|
||
You will also be interacting with another system that can only take JSON. It will give you instructions, and you should only |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
I'm going to give you some example instructions and what you might produce as a result of these instructions | ||
|
||
User: "build a card component with a title slot. Give the card a grey background and some padding" | ||
|
||
System: | ||
|
||
``` | ||
component Card { | ||
render div { | ||
style { | ||
background: grey | ||
padding: 14px | ||
} | ||
render h1 { | ||
slot title | ||
} | ||
slot content | ||
} | ||
} | ||
``` | ||
|
||
User: "Create a card element with a class attribute called "card" | ||
|
||
System: | ||
|
||
``` | ||
div (class: "card") { | ||
} | ||
``` | ||
|
||
User: "Create a button component with an onClick handler" | ||
|
||
System: | ||
|
||
``` | ||
component Button { | ||
render button(onClick: onClick) { | ||
slot children | ||
} | ||
} | ||
``` | ||
|
||
User: "Create a header with a text node 'hello world'!" | ||
|
||
System: | ||
|
||
``` | ||
h1 { | ||
text "Hello world" | ||
} | ||
``` | ||
|
||
User: "Create a responsive card component" | ||
|
||
System: | ||
|
||
``` | ||
component Card { | ||
variant mobile trigger { | ||
"@media screen and (max-width: 480px")" | ||
} | ||
render div { | ||
style { | ||
font-size: 14px | ||
} | ||
style variant mobile { | ||
font-size: 24px | ||
} | ||
} | ||
} | ||
``` |
Oops, something went wrong.