From 43d32f2e3e40718667775aa8dd269680a563b806 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 6 Jan 2026 17:47:17 -0500 Subject: [PATCH] Migrate Bulletin Board (Posts) to V3 and finish IDAA V3 migration - Migrated Post and Post Comment modules to Aether API CRUD V3 - Added editable_fields for Posts and Post Comments - Implemented local filtering for 'archive_on' in BB route as V3 workaround - Verified IDAA Archives and Recovery Meetings are functional on V3 - Ensured all IDAA logic follows the API -> Processor -> DB Save pattern --- GEMINI.md | 29 +- TODO.md | 13 +- .../ae_posts__post.editable_fields.ts | 23 + src/lib/ae_posts/ae_posts__post.ts | 747 ++++-------------- .../ae_posts__post_comment.editable_fields.ts | 17 + src/lib/ae_posts/ae_posts__post_comment.ts | 341 ++------ src/routes/idaa/(idaa)/bb/+page.ts | 8 +- 7 files changed, 295 insertions(+), 883 deletions(-) create mode 100644 src/lib/ae_posts/ae_posts__post.editable_fields.ts create mode 100644 src/lib/ae_posts/ae_posts__post_comment.editable_fields.ts diff --git a/GEMINI.md b/GEMINI.md index 8eebb5c3..5d036353 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -223,23 +223,26 @@ 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 - Evening) +### Session Learnings (2026-01-06 - Night) -**Context:** Restructured core management into linkable routes, implemented User linking, and built the User Detail page. +**Context:** Fixed critical IDAA loading issues, optimized API retry logic, and continued V3 migration for IDAA modules. **Key Accomplishments:** -- **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 `