Split flat docs/ into user-docs/ (guides, config, troubleshooting) and dev/ (ADRs, architecture, extension guides, proposals). Updated docs/README.md index to reflect new paths.
2.2 KiB
2.2 KiB
Pi Custom UI & TUI Component System
Split into individual files for easier consumption.
Table of Contents
- 01. The UI Architecture
- 02. The Component Interface — Foundation of Everything
- 03. Entry Points — How UI Gets on Screen
- 04. Built-in Dialog Methods
- 05. Persistent UI Elements
- 06. ctx.ui.custom() — Full Custom Components
- 07. Built-in Components — The Building Blocks
- 08. High-Level Components from pi-coding-agent
- 09. Keyboard Input — How to Handle Keys
- 10. Line Width — The Cardinal Rule
- 11. Theming — Colors and Styles
- 12. Overlays — Floating Modals and Panels
- 13. Custom Editors — Replacing the Input
- 14. Tool Rendering — Custom Tool Display
- 15. Message Rendering — Custom Message Display
- 16. Performance — Caching and Invalidation
- 17. Theme Changes and Invalidation
- 18. IME Support — The Focusable Interface
- 19. Building a Complete Component — Step by Step
- 20. Real-World Patterns from Examples
- 21. Common Mistakes and How to Avoid Them
- 22. Quick Reference — All UI APIs
- 23. File Reference — Example Extensions with UI
Split into per-section files for surgical context loading.