From 87084f0f715ef133510d456ef5ead07ac5f76201 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 2 Jun 2026 14:19:12 -0400 Subject: [PATCH] chore: migrate lucide package and close quick TODO cleanups --- documentation/TODO__Agents.md | 15 ++++----------- package-lock.json | 10 ---------- package.json | 1 - .../ae_comp__hosted_files_download_button.svelte | 2 +- .../ae_core/ae_comp__hosted_files_upload.svelte | 2 +- .../ae_utils__file_extension_icon_lucide.ts | 2 +- ..._idaa_comp__archive_content_obj_id_edit.svelte | 2 +- src/routes/testing/hosted_files/+page.svelte | 2 +- src/types/temporary-svelte-augments.d.ts | 9 --------- 9 files changed, 9 insertions(+), 36 deletions(-) diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md index 7b8271e0..826d38fd 100644 --- a/documentation/TODO__Agents.md +++ b/documentation/TODO__Agents.md @@ -13,7 +13,6 @@ Actions, edit mode only). Kills PowerPoint, Keynote, Adobe Acrobat Reader DC, VLC, soffice. List overridable via `event_device.other_json.launcher.kill_process_li`. Auto-cleanup on file open (deferred — manual button sufficient for CMSC). -- [ ] **[Launcher] End-to-end test on macOS** — test pptx and key opens on a real podium Mac. - [ ] **[Launcher] Hidden/deleted files still visible in Presenter file list** — When an `event_file` is hidden (`hide=1`) or soft-deleted, it continues to appear in the Launcher's per-presenter file list. Needs investigation: likely the Launcher's IDB query or the @@ -81,22 +80,16 @@ Documented in `GUIDE__SvelteKit2_Svelte5_DexieJS.md` (IDB Sort section). - [ ] Roll out to `db_core.ts` (site_domain, person, user). ### [TypeScript] svelte-check hidden errors -- [ ] **[flowbite-svelte] `ModalProps.children` — 31 errors across 26 files.** - Replace `children` prop binding with Svelte snippet syntax. +- [x] **[flowbite-svelte] `ModalProps.children` — 31 errors across 26 files.** + Verified no remaining `children={...}` bindings on `` and `npx svelte-check` is clean. (2026-06-02) ### [Journals] Journal Entry Config follow-ups - [ ] **[Journals] Entry passcode secondary auth** — implement `passcode_hash` comparison. - [ ] **[Journals] Summary AI shortcut** — add button to modal. ### [Cleanup] Migrate remaining `lucide-svelte` imports to `@lucide/svelte` -5 files still import via `import * as Lucide from 'lucide-svelte'` (the old package name). -Migrate each to `@lucide/svelte`, then uninstall `lucide-svelte` from `package.json`. -Files: -- `src/lib/ae_core/ae_comp__hosted_files_download_button.svelte` -- `src/lib/ae_core/ae_comp__hosted_files_upload.svelte` -- `src/lib/ae_utils/ae_utils__file_extension_icon_lucide.ts` -- `src/routes/testing/hosted_files/+page.svelte` -- `src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte` +- [x] **[Cleanup] Migrate remaining `lucide-svelte` imports to `@lucide/svelte`** + Migrated all 5 listed files to `@lucide/svelte` and uninstalled `lucide-svelte` from dependencies. (2026-06-02) --- diff --git a/package-lock.json b/package-lock.json index fc019e90..8dc9e91d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,6 @@ "dexie": "^4.0.0", "flowbite-svelte": "^1.28.1", "html5-qrcode": "^2.3.8", - "lucide-svelte": "^0.*.0", "marked": "^17.0.0", "openai": "^6.10.0", "prettier-plugin-tailwindcss": "^0.7.2", @@ -5431,15 +5430,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/lucide-svelte": { - "version": "0.577.0", - "resolved": "https://registry.npmjs.org/lucide-svelte/-/lucide-svelte-0.577.0.tgz", - "integrity": "sha512-0i88o57KsaHWnc80J57fY99CWzlZsSdtH5kKjLUJa7z8dum/9/AbINNLzJ7NiRFUdOgMnfAmJt8jFbW2zeC5qQ==", - "license": "ISC", - "peerDependencies": { - "svelte": "^3 || ^4 || ^5.0.0-next.42" - } - }, "node_modules/lz-string": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz", diff --git a/package.json b/package.json index 492df5e1..836eb46b 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,6 @@ "dexie": "^4.0.0", "flowbite-svelte": "^1.28.1", "html5-qrcode": "^2.3.8", - "lucide-svelte": "^0.*.0", "marked": "^17.0.0", "openai": "^6.10.0", "prettier-plugin-tailwindcss": "^0.7.2", diff --git a/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte b/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte index f3f1e35a..06ad66fb 100644 --- a/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte +++ b/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte @@ -1,6 +1,6 @@