alby-hub/frontend
frnandu b55978d7bc
feat: just in time channels with lsps2 (#2275)
* feat: just in time channels with lsps2

* fix: clarify JIT receive channel fee

* fix: fees

* fix: fees 2

* fix: don't show low inbound when LSPS2 is active

* fix: remove the receive limit below the input if LSPS2 is being used

* fix: simplify

* fix: bring back fee % for outgoing

* fix: remove unneeded changes

* fix: typo

* fix: unneeded

* fix: don't show open first channel is LSPS2

* feat: clearer JIT channel fee copy on receive screen

* fix: add LSPS2 var info

* fix: don't duplicate JIT fee hint on create invoice form

* fix: make paymentDone a standard boolean

* fix: update to golang:1.26 in Dockerfile

* feat: read LSPS2 sources from channel suggestions, set minimum receive amount, update guide link

* docs:  update LDK_LSPS2_ADDRESSES to be used as an override

* fix: only show minimum jit receive amount on validation error

* fix: add more detail to receive error when receiving low amounts with jit

* fix: do not use JIT when user has public channels

* feat: add option to disable JIT

* fix: isTrusted check, add jit property to event

* fix: do not require node restart for toggling JIT

* chore: simplify JIT alert

* chore: add guide link on node settings JIT description

* feat: fetch the lsp2info to have access to params like minimum/maximum payment size

* refactor: share single learn-more link across JIT fee hint branches

* fix: remove variable amount invoice support

* fix: use lsps2info for min payment size and remove channelPeerSuggestion usage of minimumChannelSize

* fix: only do amount validation according to lsps2Info values if jit is enabled in settings

* feat: add jit first payment fee alert on receive via lightning address

* fix: remove unnecessary conditional

* fix: ensure at least one sat is left over when opening JIT channel

* chore: remove hardcoded suggestions

* chore: rename JIT enabled config variable

* fix: ui checks when JIT is disabled

* fix: amount input validation message

* fix: formatting

---------

Co-authored-by: anon <anon@anon.com>
Co-authored-by: saunter <68239231+stackingsaunter@users.noreply.github.com>
Co-authored-by: fmar <fmar@fmar>
Co-authored-by: René Aaron <rene@twentyuno.net>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-06-10 14:47:07 +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 feat: just in time channels with lsps2 (#2275) 2026-06-10 14:47:07 +07:00
types chore: use argon2 instead of pbkdf2 2024-03-05 19:06:27 +05:30
.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 build(deps): bump @base-ui/react from 1.4.1 to 1.5.0 in /frontend (#2405) 2026-06-09 15:03:29 +07:00
tsconfig.json Feat: transactions csv export (#1672) 2025-09-02 11:51:51 +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 build(deps): bump @base-ui/react from 1.4.1 to 1.5.0 in /frontend (#2405) 2026-06-09 15:03:29 +07:00