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

6.3 KiB

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
    • Audit src/lib/ae_journals and src/routes/journals for Tailwind compliance and code quality.
    • Refactor ae_comp__journal_entry_obj_id_view.svelte (Header, Editor, Settings extracted).
    • Fix type safety in [journal_id]/+layout.svelte (Recent entries history view).
    • [/] Verify db_journals.ts schema for metadata and encryption support.
    • Identify and replace non-standard CSS with Tailwind utility classes.
    • 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. (Completed 2026-01-19)
  • Automated Source of Truth: Generate V3_OBJECT_MODELS.md automatically in agents_sync/Aether/.
  • 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).
  • 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
    • Implement "Quick Add" for high-velocity entry.
    • Add rapid append/prepend functionality to existing entries.
    • Standardize Module, Journal, and Entry configuration modals (Aether Orange pattern).
    • Implement "Quick Actions" (Zap icon) for common journal/entry operations.
    • Ensure full cross-platform responsiveness (Mobile -> Workstation).
  • Phase 3: Content Portability
    • Implement Structured Markdown import (with metadata).
    • 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.
    • Resolve V3 Patch payload errors (Whitelisting implementation).
    • Perform security audit on V3 Journal endpoints (including new auto-save).

Aether API CRUD V3 Integration

  • Foundational Refinement:
    • Refactor core helpers and resolve Bootstrap Paradox.
  • Core API Wrappers: ... (Completed)
  • Unified Type Migration:
    • Establish src/lib/types/ae_types.ts.
    • Migrate all 42 active Aether modules (Identity, Logistics, Content, Storage).
    • Synchronize triple-ID patterns and hardened Promise return types across the stack.
  • Module Migration: ... (Journals, Events, Core, IDAA mostly completed)

Core Module Improvements

  • Person Management:
    • Create dedicated page/form for creating/editing person records. (Standardized 2026-01-15)
    • Finalize Person-User linking. (UI implemented in [person_id]/+page.svelte)
  • Address & Contact Management:
    • Implement full V3 CRUD UI (Standardized 2026-01-15).
    • Create dynamic detail routes.
  • Logic Consolidation:
    • Merged legacy logic files into modern ae_core__* counterparts.
    • Renamed Activity Log to ae_core__activity_log.ts for consistency.
    • 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)

  • Config Interface Standardization: Completed the refactor of Module, Journal, and Entry configuration modals using the unified "Config" naming and standardized icons (Wrench, Gear, Zap).
  • Auto-Save & Stability: Implemented background auto-saving for Status & Security fields. Resolved critical HTTP 400 schema errors via strict payload whitelisting.
  • 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).
  • 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.
  • API Robustness: Refactored all core helpers (get, post, patch, delete) for SvelteKit SSR parity and resolved the Bootstrap Paradox.
  • System Testing Dashboard: Upgraded /testing with deep verification logic and created a CLI test suite.
  • Backend Consistency: Confirmed 100% consistency between Pydantic models and V3 search whitelists for all primary AE objects.
  • Tooling: Integrated ae_obj_info into the Aether Ops extension for real-time field and whitelist lookups.