chore: migrate lucide package and close quick TODO cleanups
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
Actions, edit mode only). Kills PowerPoint, Keynote, Adobe Acrobat Reader DC, VLC, soffice.
|
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
|
List overridable via `event_device.other_json.launcher.kill_process_li`. Auto-cleanup on file
|
||||||
open (deferred — manual button sufficient for CMSC).
|
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
|
- [ ] **[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
|
`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
|
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).
|
- [ ] Roll out to `db_core.ts` (site_domain, person, user).
|
||||||
|
|
||||||
### [TypeScript] svelte-check hidden errors
|
### [TypeScript] svelte-check hidden errors
|
||||||
- [ ] **[flowbite-svelte] `ModalProps.children` — 31 errors across 26 files.**
|
- [x] **[flowbite-svelte] `ModalProps.children` — 31 errors across 26 files.**
|
||||||
Replace `children` prop binding with Svelte snippet syntax.
|
Verified no remaining `children={...}` bindings on `<Modal>` and `npx svelte-check` is clean. (2026-06-02)
|
||||||
|
|
||||||
### [Journals] Journal Entry Config follow-ups
|
### [Journals] Journal Entry Config follow-ups
|
||||||
- [ ] **[Journals] Entry passcode secondary auth** — implement `passcode_hash` comparison.
|
- [ ] **[Journals] Entry passcode secondary auth** — implement `passcode_hash` comparison.
|
||||||
- [ ] **[Journals] Summary AI shortcut** — add button to modal.
|
- [ ] **[Journals] Summary AI shortcut** — add button to modal.
|
||||||
|
|
||||||
### [Cleanup] Migrate remaining `lucide-svelte` imports to `@lucide/svelte`
|
### [Cleanup] Migrate remaining `lucide-svelte` imports to `@lucide/svelte`
|
||||||
5 files still import via `import * as Lucide from 'lucide-svelte'` (the old package name).
|
- [x] **[Cleanup] Migrate remaining `lucide-svelte` imports to `@lucide/svelte`**
|
||||||
Migrate each to `@lucide/svelte`, then uninstall `lucide-svelte` from `package.json`.
|
Migrated all 5 listed files to `@lucide/svelte` and uninstalled `lucide-svelte` from dependencies. (2026-06-02)
|
||||||
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`
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
10
package-lock.json
generated
10
package-lock.json
generated
@@ -30,7 +30,6 @@
|
|||||||
"dexie": "^4.0.0",
|
"dexie": "^4.0.0",
|
||||||
"flowbite-svelte": "^1.28.1",
|
"flowbite-svelte": "^1.28.1",
|
||||||
"html5-qrcode": "^2.3.8",
|
"html5-qrcode": "^2.3.8",
|
||||||
"lucide-svelte": "^0.*.0",
|
|
||||||
"marked": "^17.0.0",
|
"marked": "^17.0.0",
|
||||||
"openai": "^6.10.0",
|
"openai": "^6.10.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||||
@@ -5431,15 +5430,6 @@
|
|||||||
"url": "https://github.com/sponsors/wooorm"
|
"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": {
|
"node_modules/lz-string": {
|
||||||
"version": "1.5.0",
|
"version": "1.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
|
||||||
|
|||||||
@@ -109,7 +109,6 @@
|
|||||||
"dexie": "^4.0.0",
|
"dexie": "^4.0.0",
|
||||||
"flowbite-svelte": "^1.28.1",
|
"flowbite-svelte": "^1.28.1",
|
||||||
"html5-qrcode": "^2.3.8",
|
"html5-qrcode": "^2.3.8",
|
||||||
"lucide-svelte": "^0.*.0",
|
|
||||||
"marked": "^17.0.0",
|
"marked": "^17.0.0",
|
||||||
"openai": "^6.10.0",
|
"openai": "^6.10.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
import * as Lucide from 'lucide-svelte';
|
import * as Lucide from '@lucide/svelte';
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
// *** Import Aether specific variables and functions
|
// *** Import Aether specific variables and functions
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// untrack import removed — task_id sync now uses direct $effect (no untrack needed)
|
// untrack import removed — task_id sync now uses direct $effect (no untrack needed)
|
||||||
// Imports
|
// Imports
|
||||||
// Import components and elements
|
// Import components and elements
|
||||||
import * as Lucide from 'lucide-svelte';
|
import * as Lucide from '@lucide/svelte';
|
||||||
import Element_input_files_tbl from '$lib/elements/element_input_files_tbl.svelte';
|
import Element_input_files_tbl from '$lib/elements/element_input_files_tbl.svelte';
|
||||||
|
|
||||||
// Import storage, functions, and libraries
|
// Import storage, functions, and libraries
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import * as Lucide from 'lucide-svelte';
|
import * as Lucide from '@lucide/svelte';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a Lucide icon component based on the provided file extension.
|
* Returns a Lucide icon component based on the provided file extension.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// *** Import Svelte core
|
// *** Import Svelte core
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import * as Lucide from 'lucide-svelte';
|
import * as Lucide from '@lucide/svelte';
|
||||||
|
|
||||||
// *** Import Aether core variables and functions
|
// *** Import Aether core variables and functions
|
||||||
import type { key_val } from '$lib/stores/ae_stores';
|
import type { key_val } from '$lib/stores/ae_stores';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { onMount } from 'svelte';
|
|||||||
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
|
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
|
||||||
import { load_ae_obj_id__hosted_file } from '$lib/ae_core/core__hosted_files';
|
import { load_ae_obj_id__hosted_file } from '$lib/ae_core/core__hosted_files';
|
||||||
import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
|
import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
|
||||||
import * as Lucide from 'lucide-svelte';
|
import * as Lucide from '@lucide/svelte';
|
||||||
|
|
||||||
let hosted_files: any[] = $state([]);
|
let hosted_files: any[] = $state([]);
|
||||||
let large_file_obj: any = $state(null);
|
let large_file_obj: any = $state(null);
|
||||||
|
|||||||
9
src/types/temporary-svelte-augments.d.ts
vendored
9
src/types/temporary-svelte-augments.d.ts
vendored
@@ -45,13 +45,4 @@ declare module '@lucide/svelte' {
|
|||||||
export default _default;
|
export default _default;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module 'lucide-svelte' {
|
|
||||||
import type { SvelteComponentTyped } from 'svelte';
|
|
||||||
export class IconBase extends SvelteComponentTyped<Record<string, any>, Record<string, any>, Record<string, any>> {}
|
|
||||||
export class Star extends IconBase {}
|
|
||||||
export class User extends IconBase {}
|
|
||||||
const _default: { [key: string]: typeof IconBase | any };
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
|
|
||||||
export {};
|
export {};
|
||||||
|
|||||||
Reference in New Issue
Block a user