Commit Graph

1401 Commits

Author SHA1 Message Date
Scott Idem
96adf1fa26 Better looking testing dashboard. Still needs work though. It does not scroll correctly. 2026-01-15 17:28:26 -05:00
Scott Idem
52f5d0bab6 fix(core): use multi-call strategy for inclusive User Management scope
- Updated load_ae_obj_li__user to handle 'All' scope by fetching account and global users separately.
- Ensured Search API uses authorized account_id_random field with op: 'eq' for null.
- Fixed 404 for global lookups by avoiding [NULL] in standard List API.
2026-01-15 16:17:25 -05:00
Scott Idem
c219c78e8f fix(core): use supported NULL comparison operator in User Management search
- Switched from 'op: is' to 'op: eq' for NULL values, as 'is' was returning 400.
- Refined search query structure to ensure compatibility with user search endpoint.
2026-01-15 15:16:40 -05:00
Scott Idem
f23b515f11 fix(core): resolve zero-results and incorrect scoping in User Management
- Refined load_ae_obj_li__user to use List API for simple account filtering and Search API for complex cases.
- Fixed 'Global Only' scope returning all users by ensuring correct NULL filtering.
- Improved search query structure with top-level 'or' for inclusive global support.
- Added detailed logging to load_ae_obj_li__user for easier debugging.
2026-01-15 14:58:52 -05:00
Scott Idem
227c806318 fix(core): improve User Management filtering and scope support
- Updated load_ae_obj_li__user to use search_ae_obj_v3 for complex account OR global filtering.
- Fixed zero-results issue by defaulting to 'All' scope (Current Account + Global).
- Added visual 'Account' vs 'Global' badges to user cards.
- Added 'Scope' selector to User Management page.
2026-01-15 14:45:34 -05:00
Scott Idem
111c828a04 feat(core): default User Management to current account context
- Updated load_ae_obj_li__user to support for_obj_id filtering.
- Updated create_ae_obj__user to support account_id for new users.
- Updated User Management page to default to current account_id for listing and creation.
2026-01-15 14:40:09 -05:00
Scott Idem
df9e14d896 feat(core): enhance Person management and modernize Address/Contact lists
- Improved Person table with 'Not Linked' badge for better visibility.
- Updated Person form with 'prefix' field and direct User account linking.
- Standardized Address and Contact list views to show all records (enabled/hidden).
- Amending previous refactor to include all verified import and type fixes.
2026-01-15 14:36:25 -05:00
Scott Idem
74d107f157 refactor(core): consolidate logic and modernize imports
- Unified Person and User logic into ae_core__* counterparts and marked legacy files.
- Renamed Activity Log to ae_core__activity_log.ts for naming consistency.
- Updated all core function imports across the identity, logs, and video conference modules.
- Fixed missing 'prefix' field in Person form payload and corrected return types in Activity Log.
- Updated project TODO to reflect completed core module refinements.
2026-01-15 14:29:35 -05:00
Scott Idem
7ce9c5e093 fix(auth): resolve sign-in crashes and email authentication 500 error
- Refactored authentication calls in core__user.ts to explicitly set x-account-id and remove x-no-account-id, ensuring correct account context for legacy endpoints.
- Updated emailed sign-in link logic to use the correct /user/{user_id}/email_auth_key_url endpoint and avoid 500 crashes caused by extraneous URL parameters.
- Fixed person search query field names (enable/hide) and broadened search scope to 'all' to ensure records are found regardless of status.
- Added safety checks and documentation to prevent UI crashes when API responses are empty or NULL.
2026-01-15 14:03:49 -05:00
Scott Idem
b88d5fbabf Fixes for username and password sign in! Quick save while Gemini still working. 2026-01-15 11:28:57 -05:00
Scott Idem
380e80ed7d Saving notes 2026-01-14 19:14:03 -05:00
Scott Idem
98cd35078d feat(journals): implement background auto-save for status and security fields
- Refactored handle_update_journal and handle_update_entry to support non-closing background persistence.
- Implemented strict payload whitelisting for journal and journal_entry updates to resolve HTTP 400 schema errors.
- Added onchange triggers to enable, hide, priority, and sort fields for real-time background syncing.
- Standardized 'Status & Security' tab labeling across configuration components.
2026-01-14 19:08:37 -05:00
Scott Idem
dbb45e10ae style(journals): standardize and stabilize 'Config' interfaces across all levels 2026-01-14 18:52:45 -05:00
Scott Idem
0108e28f59 More clean up. Saving notes. 2026-01-14 18:30:36 -05:00
Scott Idem
9caeb91394 Quickly saving good looking and mostly working config menus. 2026-01-14 18:27:46 -05:00
Scott Idem
cdf318e744 style(journals): stabilize and standardize all configuration interfaces
- Implemented 'untrack' safeguards in all modal effect blocks to prevent reactivity loops.
- Standardized Module, Journal, and Entry configuration with unified tabbed UI and Aether Orange theme.
- Fixed critical 'journal is undefined' and ReferenceErrors in configuration modals.
- Restored missing button toggles and visibility options in journal-level settings.
- Documented Dexie liveQuery '$' prefix mandate in GEMINI.md and project documentation.
- Eliminated legacy JournalEntry_SettingsMenu in favor of ModalJournalEntryConfig.
2026-01-14 17:50:48 -05:00
Scott Idem
8ae23cdcd9 style(journals): standardize configuration interfaces across module
- Refactored Module, Journal, and Entry configs to use consistent tabbed layouts.
- Adopted unified 'Aether Orange' aesthetic with Skeleton UI and Lucide icons.
- Replaced overcrowded inline settings menu with 'ModalJournalEntryConfig'.
- Cleaned up Header component logic and improved visual consistency.
2026-01-14 17:17:56 -05:00
Scott Idem
04e4350fbf feat(journals): implement force reset for lost passcodes and harden sync
- Added 'Force Reset to Plain Text' button in the editor for decryption failure states.
- Guarded reset functionality with '.edit_mode'.
- Refactored background sync logic to properly isolate 'untrack' calls and prevent content resets.
2026-01-14 17:06:00 -05:00
Scott Idem
cd0702b8cc fix(journals): resolve AI tools ReferenceError and finalize modularization
- Corrected template usage to 'JournalEntry_AITools'.
- Finalized Chunk 3: Modularized AI tools wrapper.
2026-01-14 16:52:00 -05:00
Scott Idem
bb3e4f4095 fix(journals): resolve browser hang during privacy toggle
- Refactored effects to use selective tracking and 'untrack' for all store reads.
- Implemented manual 'deep_copy' to handle Svelte 5 reactive proxies safely.
- Added concurrency locks ('is_processing') to decryption and save workflows.
- Stabilized state synchronization to prevent circular reactivity loops.
2026-01-14 16:48:50 -05:00
Scott Idem
11e022d21e Lots of updates to the notes. Style/layout fix for main Journals page. 2026-01-14 16:48:00 -05:00
Scott Idem
c907a95c57 fix(journals): eliminate reactivity loops and browser hangs during privacy toggle
- Refactored all effects to use 'untrack' for rigorous dependency isolation.
- Implemented 'deep_copy' helper to safely handle Svelte 5 reactive proxies.
- Added concurrency locks to 'update_journal_entry' and decryption workflows.
- Completed integration of 'JournalEntry_Metadata' component.
2026-01-14 16:35:25 -05:00
Scott Idem
b9fc4addfc fix(journals): resolve browser hang and integrate Metadata component
- Implemented manual 'deep_copy' to handle reactive proxies safely.
- Added concurrency locks ('is_processing') to prevent PATCH loops.
- Standardized metadata display by switching to 'JournalEntry_Metadata'.
2026-01-14 16:31:27 -05:00
Scott Idem
58a41e093b fix(journals): resolve reactivity loop and hang during privacy toggle
- Refactored effects to use 'untrack' for store isolation.
- Implemented content normalization in 'has_unsaved_changes' to avoid circular triggers.
- Ensured atomic state sync after successful PATCH updates.
- Added comprehensive flow diagnostics to track effect execution.
2026-01-14 16:20:44 -05:00
Scott Idem
574403244b fix(journals): harden privacy toggle and add effect diagnostics
- Ensured content is decrypted before allowing conversion to plain text.
- Added detailed diagnostic logging to reactive effects to debug loop issues.
- Integrated background sync skip logic to preserve decrypted state.
2026-01-14 16:10:30 -05:00
Scott Idem
693a2e42c4 fix(journals): resolve decryption UI update and background sync issues
- Cleared 'content_encrypted' from local state upon successful decryption to update UI.
- Modified background sync effect to preserve decrypted content during active sessions.
- Enhanced decryption logging for better diagnostics.
2026-01-14 16:04:15 -05:00
Scott Idem
05bf348e0f fix(journals): resolve decryption toggle issues and component errors
- Added diagnostic logging to decryption helper to track passcode source.
- Refactored 'handle_content_decryption' to prioritize unlocking content.
- Fixed 'updated_obj' reference error in main view.
2026-01-14 16:00:05 -05:00
Scott Idem
6562d4ba04 feat(journals): extract decryption logic to helper and improve Quick Add behavior
- Extracted journal entry decryption workflow to 'ae_journals_decryption.ts' to decouple it from Svelte reactivity and address loop issues.
- Updated 'ae_comp__journal_entry_obj_id_view.svelte' to use the new decryption helper.
- Refactored 'Quick Add' to use the first line as the title and remove it from the content before saving.
2026-01-14 15:52:02 -05:00
Scott Idem
8c9788bd41 feat(journals): modernize UI with responsive grid and fix Quick Add integration 2026-01-14 15:20:05 -05:00
Scott Idem
283053e4a4 feat(journals): stabilize V3 API integration and restore cryptographic toggles 2026-01-14 14:35:55 -05:00
Scott Idem
17870bc0a2 Bug fix for the auto save saving over and over and over. 2026-01-14 13:18:35 -05:00
Scott Idem
56fa003382 feat(journals): implement centralized export templates and bulk interop
- Added 'ae_journals_export_templates.ts' with Markdown, HTML, and JSON support
- Refactored 'ae_comp__modal_journal_export.svelte' to use the new template system
- Optimized bulk export with automated template selection based on Journal type
- Integrated 'Import Entries' action directly into the Journal menu
- Updated project documentation to reflect portability features and implementation status
2026-01-14 12:55:45 -05:00
Scott Idem
b80cbb7c2b A quick save while the new exports are fully working. The prepend and append also work now. 2026-01-14 12:29:47 -05:00
Scott Idem
228f0ecf06 docs(journals): update project status tracking
- Marked Phase 2 (Rapid Entry) and Phase 3 (Content Portability) as complete
- Logged new Auto-Save functionality in Phase 4
- Updated TODO.md and module documentation to reflect current state
2026-01-13 23:59:35 -05:00
Scott Idem
0143f18ebb feat(journals): implement auto-save toggle and visual status
- Added 'auto_save' preference to journals store
- Added toggle and status indicators (Check/X/Loader) to JournalEntry_Header
- Implemented auto-save logic with debounce in Journal Entry view
2026-01-13 23:52:42 -05:00
Scott Idem
b1e9902285 feat(journals): expose export functionality in UI
- Added 'Export Entries' button to Journal Index and Journal Detail views
- Wired buttons to trigger the new export modal
2026-01-13 23:43:50 -05:00
Scott Idem
b3ac910832 fix(journals): resolve Svelte parser error in export modal
- Replaced  directive with string interpolation for Tailwind classes containing colons and slashes (e.g. ), which caused build failures.
2026-01-13 23:42:41 -05:00
Scott Idem
07bb31f412 feat(journals): add drag-and-drop zone to import modal 2026-01-13 23:30:30 -05:00
Scott Idem
d691fa8cb3 feat(journals): implement bulk Markdown import with multiple parsing strategies
- Added 'ae_journals_parsers.ts' with Standard, Personal Log, and Amazon Vine parsers (ported from Python)
- Created 'AeCompModalJournalImport' for file selection, preview, and API submission
- Integrated Import button into Journals list view
2026-01-13 23:22:46 -05:00
Scott Idem
8fd11d7224 feat(journals): implement Quick Add and unified Append/Prepend shared component
- Created AeCompJournalEntryQuickAdd for high-velocity note creation
- Extracted robust append/prepend logic from List View into AeCompModalJournalEntryAppend
- Unified List and Detail views to use the shared modal for content manipulation
- Added explicit Append/Prepend actions to Journal Entry settings menu
- Updated TODO.md and Journals module documentation
2026-01-13 22:59:08 -05:00
Scott Idem
80bc5e453a Changes related to the directory name change. 2026-01-13 14:42:02 -05:00
Scott Idem
93dd8271eb fix: resolve Svelte 5 'props_invalid_value' error by removing defaults from $bindable props
Binding to an undefined value when a $bindable prop has a default fallback causes a runtime error in Svelte 5 runes mode. Defaults are now applied within the component logic.
2026-01-12 12:50:35 -05:00
Scott Idem
bb964edfc5 Saving notes 2026-01-09 16:51:11 -05:00
Scott Idem
5056d5d8f0 Standardize Core UI forms and unify schemas for V3 API compatibility
- Implement new Svelte 5 Person, Address, and Contact form components with surgical payload logic.
- Refactor core routes (People, Addresses, Contacts) to support unified Create/Edit workflows.
- Update ae_types.ts, db_core.ts, and db_journals.ts to align with V3 backend object models.
- Fix type safety issues in Journal history views and refine metadata display.
- Migrate person core functions to the newer ae_core__person module.
2026-01-09 15:14:36 -05:00
Scott Idem
8e205b2db9 Saving notes 2026-01-08 19:27:32 -05:00
Scott Idem
09995eb0d7 Fix type safety in Journal Entry Settings Menu 2026-01-08 19:08:06 -05:00
Scott Idem
5947459330 Remove unused local state from Journal Entry view 2026-01-08 19:06:47 -05:00
Scott Idem
d1853f51f4 Refactor Journal Entry view: Extract Header and clean up Editor bindings 2026-01-08 19:05:33 -05:00
Scott Idem
4fa59c3c0f Saving these files that should be pretty good. 2026-01-08 18:56:44 -05:00
Scott Idem
ca73a5376a Finalize Journal Entry view cleanup and modularization
- Synchronized Lucide icon imports with template usage.
- Removed all redundant local state and legacy crypto comments.
- Verified stable integration of modular AITools, ObjectFlags, and MetadataFooter.
- Standardized Svelte 5 logic for better maintainability and token efficiency.
2026-01-08 18:31:16 -05:00