Scott Idem
a5a806e256
fix(upload): update hosted file upload endpoint to V3 action path
...
The legacy /hosted_file/upload_files router was decommissioned (commented
out in registry.py). Both upload components now point to the active V3
endpoint at /v3/action/hosted_file/upload. Response shape is identical
so no consumer-side changes needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-25 12:11:00 -04:00
Scott Idem
6018a94499
Prettier for Events as a whole. Everything else under that primary directory.
2026-03-24 12:16:44 -04:00
Scott Idem
519f5b949c
chore: move ae_events_functions.ts into ae_events/ module
...
Relocates the functions file from lib root into its module directory,
matching the pattern used by all other modules (ae_journals, ae_archives, etc.).
Updated all 85 import paths from \$lib/ae_events_functions → \$lib/ae_events/ae_events_functions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-20 09:52:13 -04:00
Scott Idem
b543c8a930
chore: migrate all FA icons to Lucide (@lucide/svelte)
...
- Replaced all active FontAwesome <span class="fas fa-*"> icons with
Lucide components across 145 files (excluding /idaa/ which is intentional)
- Fixed merge script bug: consolidated lucide-svelte imports into @lucide/svelte
- Replaced dynamic toggle patterns (fa-toggle-on/off) with ToggleRight/ToggleLeft
- Replaced fa-eye/fa-eye-slash with Eye/EyeOff
- Replaced fa-bug/fa-bug-slash with Bug/BugOff
- Replaced fa-sync fa-spin with RefreshCw + animate-spin
- Replaced fa-microchip with Cpu
- Fixed {@const} placement in element_manage_event_file_li.svelte
- Removed obsolete CSS hover rules for .unlock_icon/.lock_icon
- svelte-check: 0 errors, 0 warnings
2026-03-16 18:07:43 -04:00
Scott Idem
fdd4020267
fix: reduce svelte-check warnings from 175 to 95 (80 eliminated)
...
Svelte 5 reactivity pattern fixes:
- Convert prop/data captures to $derived where used in reactive contexts
- Wrap store assignments in $effect + untrack for ae_acct pattern
- Move sign_in_out URL param processing to onMount (from top-level if(browser))
- Wrap debug console.log blocks in $effect instead of top-level if(log_lvl)
- Fix $state initializers reading props directly ($state(link_to_id) → $state(''))
- Fix box = $state(null) in journals layout
CSS fixes:
- TipTap scss: change :global(.tiptap){nested} to :global{.tiptap{nested}} so
Svelte does not scope-hash dynamic content selectors (latent CSS bug fixed)
- element_manage_hosted/event: dq__where vars → $derived for reactive liveQuery
Config:
- svelte.config.js: add onwarn (suppresses a11y/CSS in Vite pipeline; note:
svelte-check 4.x does not read onwarn so CLI count unchanged)
Remaining 95 warnings (acceptable baseline):
- 70x a11y_label: form labels need for/id attributes (proper a11y fix deferred)
- 12x lu_* false positives in IDAA async callbacks (correct code)
- 8x CSS dynamic selectors Svelte cannot detect at compile time
- 5x other intentional patterns (autofocus, form state, log_lvl callbacks)
2026-03-05 20:50:39 -05:00
Scott Idem
7549749d14
Launcher: Resolved session selection hang and improved reactivity pattern.
2026-02-11 17:18:55 -05:00
Scott Idem
cda7a5421c
General code clean up. Removing old stuff.
2026-02-11 13:41:41 -05:00
Scott Idem
3ffe9cbcc9
More general code clean up. Updating Lucide icons.
2026-02-11 13:21:38 -05:00
Scott Idem
d21e2f8e6f
refactor: standardize event file actions and apply batch formatting
...
- Updated 'create_event_file_obj_from_hosted_file_async' to use the modern V3 action endpoint.
- Standardized 'prevent_default' helper names in root Event and Archive components.
- Applied batch formatting (printWidth: 80) across the settings and events modules.
2026-02-06 16:17:31 -05:00
Scott Idem
433862ad00
refactor(events): modernize event files upload component
...
- Standardized props and UI using Lucide icons and Element_input_files_tbl.
- Migrated state to Svelte 5 runes ($state, $bindable).
- Updated upload logic to handle sequential processing and event_file creation.
- Improved revalidation logic by clearing Dexie cache before refreshing.
2026-02-06 15:43:03 -05:00
Scott Idem
ec363f16fc
fix: correct remaining native 'event.preventDefault()' calls
...
- Reverted incorrect snake_case 'event.prevent_default()' to native CamelCase 'event.preventDefault()' across multiple components.
- Finalized formatting for event files upload and archive content edit components.
2026-02-06 15:10:10 -05:00
Scott Idem
7ce5e1f825
refactor: standardize 'prevent_default' helpers and batch format modules
...
- Renamed internal 'preventDefault' helpers to 'prevent_default' for project-wide snake_case consistency.
- Corrected native event method calls from 'prevent_default()' to 'preventDefault()' to resolve runtime TypeErrors.
- Applied batch formatting (printWidth: 80) to Journals and IDAA Recovery Meetings modules.
- Removed deprecated 'preventDefault' imports from svelte/legacy.
- Fixed Journal Entry 404 by migrating loader to V3 API helper.
2026-02-06 14:45:53 -05:00
Scott Idem
1ae7b5642d
General clean up the _random appends. About to work on a new Hosted File Download Svelte component.
2026-02-03 10:27:01 -05:00
Scott Idem
0ab6d2b3e3
Hardening: Restore V3 Search legacy compatibility and fix Hosted File specialized delete logic
...
- Restored legacy query aliases (qry_ae_obj_li__event, qry__event_file, etc.) across Event modules to fix build errors.
- Fixed Hosted File deletion logic in core__hosted_files.ts to use specialized /hosted_file/{id} endpoint with fake_delete support.
- Standardized ID field usage (hosted_file_id vs hosted_file_id_random) in Archive Content and Event File upload components.
- Updated TODO.md to reflect completed search restoration tasks.
2026-01-22 17:30:20 -05:00
Scott Idem
a68d5439bd
feat: Remove legacy files and fix first svelte/no-at-html-tags error\n\n- Moved legacy files from src/routes/legacy to backups/legacy/src/routes/legacy.\n- Removed the empty src/routes/legacy directory.\n- Fixed a svelte/no-at-html-tags error in src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte by replacing '{@html ?.name ?? 'Archive'}' with '{?.name ?? 'Archive'}'.\n- Addressed a misidentified '{@html}' tag in src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte by removing commented-out code that might have caused false positives.
2025-11-20 19:46:17 -05:00
Scott Idem
0987cd6ad9
style: Apply Prettier formatting with 4-space indentation
...
Applied consistent code formatting across the project using Prettier, now configured to use 4-space indentation instead of tabs.
2025-11-18 18:40:50 -05:00
Scott Idem
7e1eaba3bc
feat: Migrate ESLint to flat config and resolve initial linting errors
...
Migrated the ESLint configuration to the new flat config format ()
and addressed several initial linting errors.
Key changes include:
- Updated ESLint configuration to treat as warnings instead of errors.
- Fixed errors in by declaring and .
- Corrected error in by using instead of an out-of-scope .
- Resolved error in by replacing the undefined directive with the component.
- Addressed errors in by replacing with and with .
- Fixed errors in by importing necessary modules (, , ) and adding missing props (, , , , ).
2025-11-17 18:46:54 -05:00
Scott Idem
88d36d512d
Update to all catch functions.
2025-11-13 20:15:09 -05:00
Scott Idem
e9a8f7df00
This was a lot... things are mostly working again. The changing of id_random properties caused some problems. The hosted_file_hash_sha256 is not working? There are other issues as well... This will take some time.
2025-11-13 18:38:00 -05:00
Scott Idem
a84d06a28d
Refactor: Update import paths for elements after moving them to src/lib/elements/.
2025-11-13 16:37:24 -05:00
Scott Idem
de7e02b9ef
Refactor: Update import paths for api.ts after moving it to src/lib/api/api.ts.
2025-11-13 16:16:18 -05:00
Scott Idem
88e4ab119d
More updates related to the IDB table name changes for events.
2025-10-06 14:25:52 -04:00
Scott Idem
4861ae0499
Lot of updates to Svelte 5 syntax
2025-07-23 16:21:27 -04:00
Scott Idem
ced62cfd99
Style improvements for file uploads and related.
2025-07-23 13:22:34 -04:00
Scott Idem
a3999e5617
Mass changes
2025-07-21 16:46:33 -04:00
Scott Idem
b54f43be35
Lots of code clean up. Finally working on the Launcher piece again.
2025-07-21 16:40:37 -04:00
Scott Idem
13912fd145
Still working on upgrading to Tailwind CSS v4 an dSkeleton v3.....
2025-06-18 17:59:48 -04:00
Scott Idem
6c496992aa
Less debug
2025-05-23 18:48:27 -04:00
Scott Idem
589320a850
Hopefully a bug fix for file upload progress on Event pages. Using the older Events specific component.
2025-05-23 15:09:08 -04:00
Scott Idem
9af5c960f7
More complete bug fix for the API POST issue.
2025-05-19 17:16:30 -04:00
Scott Idem
f2059da9d1
Important bug fix for posting form data. The headers are case sensitive. Changed them all to Content-Type.
2025-05-19 17:01:13 -04:00
Scott Idem
31272a8985
Moved library files around. Trying to keep things organized...
2024-11-19 13:29:05 -05:00
Scott Idem
19ce353a26
Moving files around. Breaking links to sessions and other things.
2024-10-30 18:14:30 -04:00