Commit graph

1124 commits

Author SHA1 Message Date
Anurag Mishra
70fdc264c7
fix: prevent dev mode wallet autoreload loop (#1214)
- replace useQuery with useEffect
- use useRef to track previous rescan to prevent rerenders on rescan status change
2026-04-26 18:36:21 +02:00
Ashish Kumar Dash
e2519d40bd
fix: align api client path encoding (#1209) 2026-04-17 00:38:36 +02:00
Kishore B
b10a219823
[v2] refactor(earn): to use tanstack table state in earn reports table (#1197)
* refactor(earn):to use tanstack table state in earn reports table

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>

* fix(earn): preserve show-all behavior on dynamic row updates

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>

---------

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
2026-04-14 20:22:57 +05:30
kunal yadav
488c7a373d
fix: clear auth on 401 API responses (#1152) 2026-04-12 23:17:45 +02:00
Mahi Raj
6ea30292bd
feat: add numeric input constraints to fee settings forms (#1204) 2026-04-12 22:58:19 +02:00
Ashish Kumar Dash
50c71d4a4b
fix(test): BTC and sats formatting across locales (#1202) 2026-04-12 22:53:18 +02:00
Mahi Raj
5aa1a16cb9
fix: correct destructive styling typo and standardize error styles (#1203) 2026-04-12 22:36:12 +02:00
theborakompanioni
38cc2f1d82
refactor: reduce reloading utxos after rescan 2026-04-09 00:02:06 +02:00
theborakompanioni
45f93ad68c
chore(send): reset form after non-collaborative transaction 2026-04-09 00:02:06 +02:00
theborakompanioni
97630dfb11
refactor: move useWaitForUtxosToBeSpent into wallet info context 2026-04-09 00:02:06 +02:00
theborakompanioni
18a93b6f52
chore(send): show message while direct send is initiated 2026-04-09 00:02:05 +02:00
theborakompanioni
f23b5b61e8
build(deps): update dependencies
@storybook/addon-a11y    10.3.3  →  10.3.5
 @storybook/addon-docs    10.3.3  →  10.3.5
 @storybook/addon-vitest  10.3.3  →  10.3.5
 @storybook/react-vite    10.3.3  →  10.3.5
 eslint-plugin-storybook  10.3.3  →  10.3.5
 jsdom                    29.0.1  →  29.0.2
 react                    19.2.4  →  19.2.5
 react-dom                19.2.4  →  19.2.5
 react-hook-form          7.72.0  →  7.72.1
 react-i18next            17.0.1  →  17.0.2
 storybook                10.3.3  →  10.3.5
 vite                      7.3.1  →   7.3.2
 @playwright/test               1.58.2  →  1.59.1
 @tanstack/eslint-plugin-query  5.95.2  →  5.96.2
 @tanstack/react-query          5.95.2  →  5.96.2
 react-router-dom               7.13.2  →  7.14.0
 typescript-eslint              8.57.2  →  8.58.1
2026-04-08 22:25:55 +02:00
Parth
c443b575fe
feat(send): quick freeze/unfreeze (#1181) 2026-04-08 21:54:20 +02:00
Parth
3dd3fb76c6
chore(ui): use legacy jar icons (#1183)
* chore(ui): use legacy jar icons

* refactor(ui): rename jar icon helpers
2026-04-04 17:13:52 +05:30
theborakompanioni
8dfebdb06a chore(create-verify): hide all correctly ordered words except last 2026-03-31 11:36:24 +02:00
theborakompanioni
edc1e5c1a4 fix(create): continue create wallet flow if locking fails 2026-03-31 11:36:24 +02:00
theborakompanioni
4dee9a9bb7 fix(create): prevent token timeout by unlocking wallet after confirm 2026-03-31 11:36:24 +02:00
theborakompanioni
8a35b4a357 feat(create): verify seed step 2026-03-31 11:36:24 +02:00
theborakompanioni
d3f7e499c1
build(deps): update dependencies major
lucide-react   0.577.0  →   1.7.0
 react-i18next   16.6.6  →  17.0.1
2026-03-29 18:19:15 +02:00
theborakompanioni
5ecaf3b50b
chore(build): split vitest config 2026-03-29 18:09:15 +02:00
theborakompanioni
4e46525103
build(dev-deps): update eslint plugins
eslint-plugin-compat    6.2.1  →   7.0.1
 eslint-plugin-unicorn  63.0.0  →  64.0.0
2026-03-29 14:52:56 +02:00
theborakompanioni
085d812e00
build(deps): update dependencies minor
@chromatic-com/storybook   5.0.2  →   5.1.1
 @tanstack/react-query     5.94.5  →  5.95.2
 @vitejs/plugin-react       5.1.4  →   5.2.0
2026-03-29 14:51:03 +02:00
theborakompanioni
33f66dbe93
build(deps): update dependencies
@storybook/addon-a11y    10.3.1  →  10.3.3
 @storybook/addon-docs    10.3.1  →  10.3.3
 @storybook/addon-vitest  10.3.1  →  10.3.3
 @storybook/react-vite    10.3.1  →  10.3.3
 eslint-plugin-storybook  10.3.1  →  10.3.3
 react-i18next            16.6.1  →  16.6.6
 react-router-dom         7.13.1  →  7.13.2
 storybook                10.3.1  →  10.3.3
 typescript-eslint        8.57.1  →  8.57.2
2026-03-28 14:12:43 +01:00
theborakompanioni
2469e8073c
chore: add tanstack query eslint plugin 2026-03-26 11:31:25 +01:00
theborakompanioni
6fdedffe09
chore(todo): add todos for fidelity bond dialog refactoring 2026-03-26 09:45:07 +01:00
theborakompanioni
24ffdaa9ec
fix(receive): provide submit method to form 2026-03-26 09:45:06 +01:00
theborakompanioni
bf535e7e34
chore(earn): add description for input offer minimum amount 2026-03-26 09:45:06 +01:00
theborakompanioni
70856f0e1f
fix(earn): form validation messages 2026-03-26 09:45:06 +01:00
theborakompanioni
280043b549
chore(import): increase font size on confirm page 2026-03-26 09:40:26 +01:00
theborakompanioni
847af673a1
fix: use mutation in WalletLockDialoag 2026-03-26 09:13:45 +01:00
theborakompanioni
c8c4662273
fix(import): log error message if locking wallet fails after import error 2026-03-26 09:08:48 +01:00
theborakompanioni
0aaa055ccd
core: throttle lock wallet query 2026-03-26 09:08:48 +01:00
theborakompanioni
9435632382
fix(storybook): fix navbar story 2026-03-26 09:08:48 +01:00
theborakompanioni
9547255e74
refactor: use developer mode hook 2026-03-26 09:08:47 +01:00
theborakompanioni
b022b6625f
chore: display unsupported features in developer mode 2026-03-26 09:08:47 +01:00
theborakompanioni
c31f36df60
ui(settings): spinner while wallet is locking 2026-03-26 09:08:47 +01:00
theborakompanioni
68cebd185c
chore(navbar): add tooltips 2026-03-26 09:08:47 +01:00
theborakompanioni
7da4e93c7d
refactor(import): simplify steps 2026-03-26 09:08:47 +01:00
Thebora Kompanioni
a34b1d8cfb
chore(ui): timelocked address with Address component 2026-03-26 09:08:46 +01:00
Parth
d254a99146
feat(orderbook): offer summary (#1164)
* chore(orderbook): use Balance component in market summary

- Replace raw .toLocaleString() sats values with Balance component
  for median abs fee, total liquidity, and offer size range
- Update i18n keys to label-only format for Balance-rendered fields
- Balance respects user display preferences (BTC/sats, visibility)

* feat(orderbook): add fee distribution chart to market summary

- Add OrderbookChart component rendering pure CSS bar chart for absolute offers
- Follows existing EarnReportChart pattern (no external chart libraries)
- Update OrderbookContent to display the chart below the stats list
- Add i18n keys for chart title and tooltip with pluralization

* fix(orderbook): count unbonded makers and move chart behind tabs

---------

Co-authored-by: Saurabh Singh <saurabhsraghuvanshi@gmail.com>
2026-03-26 01:17:21 +05:30
Parth
570f9cd9d3
feat(sweep): show active scheduler states and schedule entry details (#1170) 2026-03-25 09:52:21 +01:00
Thebora Kompanioni
f67040bb97
chore(import): prepare rescan by splitting import flow steps (#1168)
* chore(ui): update alert component

* chore(import): add dev badge to dummy button

* chore(import): show bip-39 compat warning only on unsuccessful submit

* chore(import): display alert when rescan is active

* refactor: rename CreateStepDetailsInput to CreateStepWalletDetails

* chore(import): split import flow steps

* build(deps): update dependencies

 @chromatic-com/storybook    5.0.1  →     5.0.2
 @eslint/js                 9.39.2  →    9.39.4
 @storybook/addon-a11y     10.2.17  →   10.2.19
 @storybook/addon-docs     10.2.17  →   10.2.19
 @storybook/addon-vitest   10.2.17  →   10.2.19
 @storybook/react-vite     10.2.17  →   10.2.19
 @tailwindcss/vite           4.2.1  →     4.2.2
 @types/node               24.10.1  →  24.10.15
 eslint                     9.39.2  →    9.39.4
 eslint-plugin-compat        6.2.0  →     6.2.1
 eslint-plugin-storybook   10.2.17  →   10.2.19
 lint-staged                16.3.3  →    16.3.4
 react-i18next              16.5.6  →    16.5.8
 storybook                 10.2.17  →   10.2.19
 tailwindcss                 4.2.1  →     4.2.2
 typescript-eslint          8.57.0  →    8.57.1
 zustand                    5.0.11  →    5.0.12

* build(deps): update dependencies

 @storybook/addon-a11y    10.2.19  →  10.3.1
 @storybook/addon-docs    10.2.19  →  10.3.1
 @storybook/addon-vitest  10.2.19  →  10.3.1
 @storybook/react-vite    10.2.19  →  10.3.1
 @tanstack/react-query    5.90.21  →  5.94.5
 eslint-plugin-storybook  10.2.19  →  10.3.1
 globals                   17.3.0  →  17.4.0
 jsdom                     28.1.0  →  29.0.1
 lint-staged               16.3.4  →  16.4.0
 react-hook-form           7.71.2  →  7.72.0
 react-i18next             16.5.8  →  16.6.1
 storybook                10.2.19  →  10.3.1

* refactor: seed phrase -> mnemonic phrase

* chore(import): add blockheight and gaplimit params

* chore(import): rescan chain after import

* chore(import): auto reload balance after rescan
2026-03-23 19:41:20 +01:00
Parth
580d7e1a15
refactor(logs): drop variant flags and keep single viewer flow (#1165) 2026-03-23 19:35:24 +01:00
Thebora Kompanioni
c9c2ea7989
chore(ui): add address display chunking (#1163) 2026-03-13 14:56:15 +01:00
Parth
768ec7d239
fix(logs): handle native/standalone logs correctly and improve logs ui (#1146)
fix(logs): simplify log viewer and clean up fallback behavior

- Remove variant system (page/fill) from LogViewer, use single layout
- Add showActions prop to hide download/refresh for fallback content
- Always render LogViewer with i18n fallback text when logs unavailable
- Fix overlay container sizing with flex-1
- Remove misleading dev-mode fake log repeat (1000x alert message)
- Simplify queryFn since error checking is handled in API layer
2026-03-12 16:51:52 +05:30
Parth
6a8df12209
fix(import): validate mnemonic phrase and improve import wallet ux (#1148)
* feat(import): use bip39 mnemonic validation

* feat(import): add mnemonic input guidance

* fix(import): keep fields editable and gate only submit

* feat(import): show live bip39 validation hint

* refactor(import): split seed validation into format and BIP39 checks

- Rename isValidSeedPhrase → isLikelySeedPhrase (format-only: word count + pattern)
- Extract isBip39Mnemonic for BIP39 compliance check
- Update yup schema to use isLikelySeedPhrase
- Update isSeedPhraseBip39Valid to use isBip39Mnemonic

* fix(import): allow non-BIP39 submission with tooltip hints and warning

- Remove BIP39 validity from submit button gating (!isValid)
- Replace prominent word count / expected length divs with tooltip on InfoIcon
- Show warning Alert when phrase is valid format but not BIP39-compliant
- Add TODO: i18n comments on hardcoded user-facing strings

* fix(import): use onSubmit mode to avoid showing errors while typing

---------

Co-authored-by: Saurabh Singh <saurabhsraghuvanshi@gmail.com>
2026-03-12 04:56:03 +05:30
theborakompanioni
45223b5b88
ui(jar): use css for hover effect 2026-03-10 11:56:22 +01:00
theborakompanioni
246a729a44
chore(ui): no hover for disabled jar 2026-03-10 10:10:37 +01:00
theborakompanioni
4ba03ab51c
build(deps): update dependencies 2026-03-10 10:07:15 +01:00
theborakompanioni
33ef27acd2
chore(earn-report): Earn report as page and overlay 2026-03-09 23:57:05 +01:00