Onboarding component for the Helium browser
  • TypeScript 49.8%
  • Svelte 46.2%
  • CSS 2.1%
  • Shell 1%
  • C 0.4%
  • Other 0.5%
Find a file
wukko 64257c5ea5
DataImport: ask before looking for other browsers (#48)
browser detection used to run on startup. now the data import page asks
first, then looks for other browsers with a loading state, an error
state with retry, and a notice when no browsers are found. the page is
no longer skipped when there's nothing to import, so it's always part of
the flow on desktop.

on macOS 27+, some browsers stay hidden from detection until the user
grants access in System Settings. on those systems, the page shows a
notice linking to the Files and Folders pane, with a refresh button to
detect browsers again. a refresh can shift profile indices, so selected
and already-imported profiles are now tracked by the id that the browser
provides with each profile, and "next" is disabled while a refresh is
running.

depends on the updated onboarding page patch in helium, which adds a
stable `id` to each importable profile, along with the macOS permission
notice flag and a handler for opening its settings: imputnet/helium#2724

also in this PR:
- imports now run one at a time and in order. before, imports queued
together all started at once, newest first.
- split DataImport into components: ImportPrompt, ImportNotice,
MacImportNotice, BrowserProfileGroup, BrowserImportGraphic.
- added shared variables for page and navigation spacing.
- dropped blur filters from page transitions.
- the i18n generator writes the "generated" notice into its outputs
itself.
- fixed the page jumping up when a profile is selected.
- fixed PageHeader icon alignment when the title wraps.
- updated nonfree assets.

tiny detail: the refresh button on the data import page shows its
spinner for a minimum amount of time, because otherwise the user can't
tell that the refresh actually went through.
History 2026-10-16 20:02:32 +06:00
.github/workflows ci: init (#40) 2026-07-20 23:01:30 +06:00
.vscode repo: reformat files to use 4 spaces 2025-04-13 19:39:58 +06:00
public branding: update assets with new logo 2026-03-03 18:47:23 +06:00
src app: use variables for page and navigation spacing 2026-10-16 19:59:16 +06:00
util DataImport: add notice for browsers protected by macOS 2026-10-16 19:59:16 +06:00
.gitignore onboarding: port strings to grd format 2026-06-14 17:01:00 +00:00
BUILD.gn BUILD.gn: drop --experimental-strip-types 2026-10-10 13:52:03 +00:00
helium_onboarding_strings.grdp DataImport: add notice for browsers protected by macOS 2026-10-16 19:59:16 +06:00
index.html html: update the favicon 2025-04-13 22:02:58 +06:00
LICENSE repo: add LICENSE 2025-08-02 11:47:21 +00:00
package.json package: bump prism to latest 2026-10-16 19:59:16 +06:00
pnpm-lock.yaml package: bump prism to latest 2026-10-16 19:59:16 +06:00
svelte.config.js repo: reformat files to use 4 spaces 2025-04-13 19:39:58 +06:00
tsconfig.app.json repo: reformat files to use 4 spaces 2025-04-13 19:39:58 +06:00
tsconfig.json repo: reformat files to use 4 spaces 2025-04-13 19:39:58 +06:00
tsconfig.node.json tsconfig: add util/ to node tsconfig 2026-06-14 10:57:42 +00:00
vite.config.ts revamp: migrate to helium prism components and refactor post-migration 2026-07-28 01:47:11 +06:00