# 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 8, 2026) 1. **Journals Module Audit:** Begin Phase 1 (Codebase Audit & Tailwind compliance). 2. **Core UI Polish:** Finalize Person and Address/Contact management forms using unified types. 3. **Svelte 5 / Runes Migration:** Continuous refactoring. --- ## 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. - [ ] **Error Transparency**: Update backend to return specific SQLAlchemy/Pydantic errors in `meta.details`. - [ ] **Automated Source of Truth**: Generate `V3_OBJECT_MODELS.md` automatically in `agents_sync/Aether/`. - [ ] **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.