feat(frontend): remove bundled packages, add theme search bar#89
Merged
Conversation
Drop the import.meta.glob from loader.ts so packages/*/index.tsx are no longer compiled into Vite chunks and embedded in the exe. Apps are now purely opt-in downloads: installing an app fetches its IIFE bundle from the remote registry, caches it in localStorage, and records the bundle URL so it can be re-downloaded automatically if the cache is evicted. - loader.ts delegates loadAppManifest to loadInstalledBundle (localStorage) - remoteRegistry.ts caches bundleUrl on download, exposes loadInstalledBundle, cleans up the url key on invalidate - AppStore: AppsTab simplified to show only the remote catalog; bundled state and loadBundled promise removed; handleToggle always downloads before install - ThemesTab: add search bar (matches AppsTab UX) with empty-state message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
import.meta.globfromloader.tsso apps inpackages/*/are no longer compiled as Vite chunks and embedded in the exe. App bundles are now truly opt-in downloads.AppStoreAppsTabsimplified: drops thebundledstate and catalog load; shows only remote catalog entries.handleTogglealways downloads the bundle before installing.ThemesTabgains a search bar with the same design as the apps search, plus an empty-state message when no themes match.Test plan