docs: add ui consistency note to agents guidance

This commit is contained in:
Ogulcan Celik 2026-03-31 23:27:06 +03:00
parent c12825d737
commit da99c08918
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Terminal workspace manager for AI coding agents. Rust + ratatui.
- **No god objects.** If a module is doing too many things, split it. `app/` is already split into state, actions, and input. Keep it that way.
- **Platform code is isolated.** OS-specific behavior lives in `src/platform/`. Core modules don't have `#[cfg(target_os)]`.
- **Detection is decoupled.** The detector reads a screen snapshot, never touches the parser or viewport state.
- **UI patterns should be reused.** Herdr is a mouse-first TUI. New dialogs, onboarding, settings, and post-update flows should follow the existing UI/UX language and interaction patterns instead of inventing one-off screens. Prefer reusing existing modal/screen structure, affordances, and close actions so the app feels consistent.
## Testing