Commit b22473a
feat(tui-components): add ASCII preview generator and UI documentation (#469)
- Add dump_previews example to generate ASCII art previews of all UI components
- Create ui-previews/ directory with markdown documentation for each component
- Generate COMPONENTS.md with a complete gallery of all component previews
- Components documented: Card, Modal, Dropdown, TextInput, Panel, Selector,
CheckboxGroup, RadioGroup, ScrollableList, Toast, LoadingSpinner, KeyHintsBar,
Popup, Form, and Border Styles
- Fix unused mut warning in modal.rs test
Run with: cargo run -p cortex-tui-components --example dump_previews
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 8f53f31 commit b22473a
File tree
20 files changed
+1205
-1
lines changed- cortex-tui-components
- examples
- src
- ui-previews
20 files changed
+1205
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
0 commit comments