alby-hub/frontend
Roland 6d0cb6fd2c
Some checks failed
Multiplatform Docker build & push / build (push) Has been cancelled
Code quality - linting and typechecking / linting (push) Has been cancelled
Backend testing with Postgres / test-postgres (push) Has been cancelled
fix: bark onboarding, migration messaging and receive settlement for bark 0.6.0 (#2523)
* fix: update bark onboarding and backup messaging for seed-based recovery

Since bark 0.6.0, offchain funds are recoverable from the mnemonic
alone via the seed-derived recovery mailbox. Remove the outdated
warnings that the recovery phrase is not sufficient, show the standard
recovery guidance for bark during onboarding, and expose the
seed-recovery scan result as a 'recoveryreport' custom node command so
users migrating to a new device can verify their funds were restored.

Closes #2512

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix: settle bark lightning receives in the new delivering state

bark 0.6.0 added a 'delivering' receive state between preimage reveal
and settlement. The receive claim handler only treated
'preimage-revealed' and 'settled' as paid, so claimed receives were
published without a preimage and the transactions service rejected the
settlement ('no preimage in payment'), leaving paid invoices pending
forever.

Recognize all states at or past preimage reveal via a receiveIsPaid
helper (a positive allowlist, so an unknown future state degrades to
pending rather than falsely settled), only mark the transaction settled
when the preimage is present, and prefer bark's own settled_at
timestamp when available.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix: replace import channels checkbox with LDK-specific warning

The 'I don't have another Alby Hub to migrate or open channels'
checkbox on the import recovery phrase screen only applied to LDK but
was required for every backend, and its claim that channel funds are
always lost is wrong when dynamic channel backups (VSS) are enabled.

Remove the checkbox and the channels bullet from the import screen and
show the caveat on the Security & Recovery page instead, only when a
mnemonic was imported and the LDK backend was chosen.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 16:39:02 +07:00
..
.husky Fix: husky 10 warning (#1616) 2025-08-19 13:20:43 +07:00
platform_specific chore: fix ts errors (#1448) 2025-06-26 16:34:50 +05:30
public chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) 2026-04-14 14:05:54 +02:00
src fix: bark onboarding, migration messaging and receive settlement for bark 0.6.0 (#2523) 2026-08-08 16:39:02 +07:00
.env.local.example chore: update additional places to support multiple relays (#2104) 2026-02-28 13:30:48 +07:00
.prettierignore feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
.prettierrc feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
commitlint.config.js feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
components.json chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) 2026-04-14 14:05:54 +02:00
eslint.config.mjs build(deps-dev): bump eslint-plugin-react-hooks from 7.0.1 to 7.1.1 in /frontend (#2261) 2026-04-27 16:46:41 +05:30
frontend.go feat: embed react dist in go executable 2024-01-10 12:40:15 +07:00
index.html fix: branding (#1890) 2025-11-07 09:29:10 +01:00
lint-staged.config.js fix: linting errors + migrate to new config system (#415) 2024-06-12 13:00:17 +07:00
package.json chore: remove unused argon2-wasm-esm dependency (#2508) 2026-08-07 17:55:38 +07:00
tsconfig.json chore: remove unused argon2-wasm-esm dependency (#2508) 2026-08-07 17:55:38 +07:00
tsconfig.node.json feat: frontend setup 2023-12-14 17:22:47 +05:30
vite.config.ts chore: remove Bitrefill custom app in favor of standard NWC connection (#2420) 2026-06-09 20:11:04 +07:00
yarn.lock chore: remove unused argon2-wasm-esm dependency (#2508) 2026-08-07 17:55:38 +07:00