Files
OSIT-AE-App-Svelte/TODO.md

105 lines
6.3 KiB
Markdown

# One Sky IT's Aether UI/UX Project TODO
This is a list of tasks to be completed before the next event/show/conference.
---
## Current Priorities (Jan 20, 2026)
1. **Aether Native V3 (NEW):** Technical planning complete. Ready to scaffold the new Electron 33+ shell and implement the V3 "Zero-Config" bridge.
2. **Jitsi Module Updates:** Prepare for upcoming demo. Audit `video_conferences/+page.svelte` for UI/UX improvements and stability.
3. **Journals Module Audit:** Phase 1 complete. Focus on Phase 2: UI/UX Excellence.
4. **Core UI Polish:** Restored System Lookups view with Country Subdivisions.
---
## Frontier Journals Module (Vision 2026-01-08)
*Goal: Transform Journals into the platform flagship with premium UI/UX and robust security.*
- [ ] **Phase 1: Codebase Audit & Schema**
- [x] Audit `src/lib/ae_journals` and `src/routes/journals` for Tailwind compliance and code quality.
- [x] Refactor `ae_comp__journal_entry_obj_id_view.svelte` (Header, Editor, Settings extracted).
- [x] Fix type safety in `[journal_id]/+layout.svelte` (Recent entries history view).
- [/] Verify `db_journals.ts` schema for metadata and encryption support.
- [x] Identify and replace non-standard CSS with Tailwind utility classes.
- [x] Update `db_journals.ts` types using the new `agents_sync` exported interfaces.
## 🛠️ DX & Tooling (MCP)
- [ ] **Enhance `ae_obj_info`**: Include field types, constraints (NOT NULL), and default values.
- [ ] **Payload Validation**: Create a dry-run tool to check payloads against Pydantic models.
- [x] **Error Transparency**: Update backend to return specific SQLAlchemy/Pydantic errors in `meta.details`. (Completed 2026-01-19)
- [ ] **Automated Source of Truth**: Generate `V3_OBJECT_MODELS.md` automatically in `agents_sync/Aether/`.
- [x] **Fix V3 Search for IDAA Recovery Meetings**
- *Resolution:* Isolated IDAA module to a specialized legacy function `qry_ae_obj_li__event_v2` for stability. Restored 154-result capacity and fixed Inclusive OR location filters. (Completed 2026-01-20)
- *V3 General Status:* Refined general `qry_ae_obj_li__event` to use 'Body + Header' injection and 'q' property, resolving the 'Integer Trap'.
- [ ] Run raw CURL trace to bypass browser CORS and see full backend traceback.
- [ ] Perform SQL Audit on `v_event` view types (string vs integer mismatch).
- [x] **Restore System Lookups**
- *Resolution:* Reverted `get_ae_obj_li_for_lu` to stable V2 endpoints (/v2/crud/lu/.../list) and added subdivision view. (Completed 2026-01-20)
- [ ] **Phase 2: UI/UX Excellence**
- [x] Implement "Quick Add" for high-velocity entry.
- [x] Add rapid append/prepend functionality to existing entries.
- [x] Standardize Module, Journal, and Entry configuration modals (Aether Orange pattern).
- [x] Implement "Quick Actions" (Zap icon) for common journal/entry operations.
- [ ] Ensure full cross-platform responsiveness (Mobile -> Workstation).
- [ ] **Phase 3: Content Portability**
- [x] Implement Structured Markdown import (with metadata).
- [x] Implement Bulk Export (Markdown, HTML) to file or clipboard.
- [ ] Integrate Outbound Email sharing.
- [ ] **Phase 4: Security & Privacy**
- [ ] Solidify E2EE passcode system for Journals and Entries.
- [x] Resolve V3 Patch payload errors (Whitelisting implementation).
- [ ] Perform security audit on V3 Journal endpoints (including new auto-save).
---
## Aether API CRUD V3 Integration
- [x] **Foundational Refinement:**
- [x] Refactor core helpers and resolve Bootstrap Paradox.
- [x] **Core API Wrappers:** ... (Completed)
- [x] **Unified Type Migration:**
- [x] Establish `src/lib/types/ae_types.ts`.
- [x] Migrate all 42 active Aether modules (Identity, Logistics, Content, Storage).
- [x] Synchronize triple-ID patterns and hardened Promise return types across the stack.
- [x] **Module Migration:** ... (Journals, Events, Core, IDAA mostly completed)
---
## Core Module Improvements
- [x] **Person Management:**
- [x] Create dedicated page/form for creating/editing person records. (Standardized 2026-01-15)
- [x] Finalize Person-User linking. (UI implemented in [person_id]/+page.svelte)
- [x] **Address & Contact Management:**
- [x] Implement full V3 CRUD UI (Standardized 2026-01-15).
- [x] Create dynamic detail routes.
- [x] **Logic Consolidation:**
- [x] Merged legacy logic files into modern `ae_core__*` counterparts.
- [x] Renamed Activity Log to `ae_core__activity_log.ts` for consistency.
- [x] Unified Person-User logic and ensured correct Triple-ID / V3 helper usage.
---
## Development Workflow & Tools
- [ ] **Backend Integration Tools:**
- [ ] Integrate `schema_sync(obj_type)` for automated TS interface generation.
- [ ] Utilize `sql_query(query)` for DB state verification during debugging.
- [ ] Use `docker_restart` / `docker_logs` for environment control.
- [ ] **Refactor `api.ts` God Object:**
- [ ] Extract Lookup, Hosted File, Legacy CRUD, and Utility functions to dedicated modules.
- [ ] Convert `api.ts` into a pure barrel file.
---
## Recent Accomplishments (Jan 14, 2026)
- [x] **Config Interface Standardization:** Completed the refactor of Module, Journal, and Entry configuration modals using the unified "Config" naming and standardized icons (Wrench, Gear, Zap).
- [x] **Auto-Save & Stability:** Implemented background auto-saving for Status & Security fields. Resolved critical HTTP 400 schema errors via strict payload whitelisting.
- [x] **Journal Entry Refactor:** Modularized the monolithic `ae_comp__journal_entry_obj_id_view.svelte` into `JournalEntry_Header` (w/ Settings) and `JournalEntry_Editor` components (~1000 lines reduced).
- [x] **Unified Type Migration (Phase 1-3):** Established `src/lib/types/ae_types.ts` and migrated Account, Site, SiteDomain, Person, JournalEntry, Event, EventBadge, User, Address, Contact, and ActivityLog.
- [x] **API Robustness:** Refactored all core helpers (`get`, `post`, `patch`, `delete`) for SvelteKit SSR parity and resolved the Bootstrap Paradox.
- [x] **System Testing Dashboard:** Upgraded `/testing` with deep verification logic and created a CLI test suite.
- [x] **Backend Consistency:** Confirmed 100% consistency between Pydantic models and V3 search whitelists for all primary AE objects.
- [x] **Tooling:** Integrated `ae_obj_info` into the Aether Ops extension for real-time field and whitelist lookups.