diff --git a/GEMINI.md b/GEMINI.md index 19ecdbec..8eebb5c3 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -223,28 +223,23 @@ The activity logging functionality is now working as expected. While the origina - **Search Logic Construction:** When building complex V3 `search_query` objects, avoid including empty `and` or `or` arrays, as some backend parsers may strictly validate their presence or content. Only attach these properties if they contain at least one filter. - **Backend Operator Support:** Always verify supported operators (`like`, `eq`, `gt`, etc.) in the backend FastAPI implementation. Using unsupported operators like `ilike` or `contains` will cause immediate backend `ValueError` crashes. -### Session Learnings (2026-01-06) +### Session Learnings (2026-01-06 - Evening) -**Context:** Migrated core modules (Accounts, Sites, Persons, Users, Activity Logs) and Event Badges to Aether API CRUD V3. Scaffolded the initial Core Management UI. +**Context:** Restructured core management into linkable routes, implemented User linking, and built the User Detail page. **Key Accomplishments:** -- **Full Core Module V3 Migration:** Implemented V3 CRUD logic for `Account`, `Site`, `Site Domain`, `Person`, `User`, and `Activity Log`. Standardized on the "API -> Processor -> DB Save" pattern. -- **Whitelist Implementation:** Created `editable_fields` files for all migrated modules to ensure only permitted fields are sent in POST/PATCH requests. -- **Database Schema Update:** Expanded the `ae_core_db` (Dexie) schema to include `account`, `site`, `site_domain`, and `user` tables, enabling local caching for these core objects. -- **Management UI Scaffolding:** - - Modernized `/core` dashboard with navigation cards and Lucide icons. - - Built list and detail pages for Accounts and Sites (including domain management). - - Built a User list and search page. - - Created a view-only System Lookups page for Countries and Time Zones. -- **SQL Schema Alignment:** Renamed `domain` property to `fqdn` in the Site Domain module to match the backend SQL schema provided in exports. -- **Badge V3 Completion:** Finished the V3 migration for Event Badges (Create, Update, Delete). +- **Route Restructuring:** Renamed `/core/person` to `/core/people` and ensured all management sub-pages are directly linkable standard `` tags. +- **Common Layout Navigation:** Implemented a unified `