From 0de79fba26c542be13d1719f4c1a89f7617881a6 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Thu, 1 Jan 2026 22:56:47 +0100 Subject: [PATCH] docs: add UI patterns guidance and update gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add UI Patterns section to AGENTS.md (read docs/UI_LAYOUT.md before changes) - Ignore .vscode/launch.json in gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .gitignore | 1 + AGENTS.md | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cf087fd..ba0176c 100644 --- a/.gitignore +++ b/.gitignore @@ -119,3 +119,4 @@ secrets/ # Uploads (reference images, not tracked) uploads/ logs/ +.vscode/launch.json diff --git a/AGENTS.md b/AGENTS.md index 2aff633..09125e1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -51,4 +51,12 @@ This document contains instructions and documentation references for AI assistan ### 📝 Changelog Maintenance * **Update `CHANGELOG.md`** with every user-facing change. -* Format: `## [Unreleased] - YYYY-MM-DD` followed by `### Added`, `### Changed`, or `### Fixed`. \ No newline at end of file +* Format: `## [Unreleased] - YYYY-MM-DD` followed by `### Added`, `### Changed`, or `### Fixed`. + +### 🎨 UI Patterns (MUST READ BEFORE CHANGES) + +* **Before modifying the widget tree**, read `docs/UI_LAYOUT.md` to understand established patterns. +* Investigate existing implementations in the codebase before creating new components. +* **DO NOT** reinvent wheels - check if shared components already exist in `lib/shared/components/`. +* Look at similar features for reference patterns (e.g., how other list views, forms, or CRUD screens are built). +* Deviating from established patterns creates inconsistency and technical debt.