Commit graph

1093 commits

Author SHA1 Message Date
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
theborakompanioni
80799591ce
chore(ui): table size in overlay/dialogs 2026-03-09 21:41:55 +01:00
theborakompanioni
c107942dc5
refactor: align dialog props 2026-03-09 21:13:32 +01:00
theborakompanioni
7f3b53d5da
refactor(earn-report): rename EarnReportSheet to EarnReportDialog 2026-03-09 20:53:21 +01:00
theborakompanioni
76ccad4c41
chore(earn-report): reduce height of stats cards 2026-03-09 20:43:16 +01:00
theborakompanioni
2d565fee29
chore(earn): move earn report related code to own dir 2026-03-09 20:25:56 +01:00
theborakompanioni
879f21bc40
fix(earn-report): parse malformed api response 2026-03-09 20:00:59 +01:00
Parth
b3b8eb8533
refactor(earn): use @tanstack/react-table and fullscreen dialog (#1161) 2026-03-09 19:11:03 +01:00
theborakompanioni
d5dd2add95
fix: query delay can take undefined as arg 2026-03-02 11:14:51 +01:00
theborakompanioni
6836fe1788
chore: small earn report cleanups 2026-03-02 10:42:29 +01:00
theborakompanioni
898bfbe107
chore(ui): no extra container for balance click handler 2026-03-02 09:58:22 +01:00
theborakompanioni
361c060c95
refactor: cleanup queryClient and errorReason 2026-03-02 09:58:21 +01:00
Parth
712b330592
feat(earn): initial earnings report (#1159) 2026-03-02 09:58:05 +01:00
Parth
fc1ed0dfb0
feat: first draft of collaborative send (#1136) 2026-03-01 21:38:08 +01:00
theborakompanioni
4cc37c5e1c
build(deps): update dependencies
@storybook/addon-a11y        10.2.10  →  10.2.12
 @storybook/addon-docs        10.2.10  →  10.2.12
 @storybook/addon-vitest      10.2.10  →  10.2.12
 @storybook/react-vite        10.2.10  →  10.2.12
 @tailwindcss/vite              4.2.0  →    4.2.1
 eslint-plugin-react-refresh    0.5.1  →    0.5.2
 eslint-plugin-storybook      10.2.10  →  10.2.12
 react-router-dom              7.13.0  →   7.13.1
 storybook                    10.2.10  →  10.2.12
 tailwindcss                    4.2.0  →    4.2.1
 typescript-eslint             8.56.0  →   8.56.1
2026-02-25 18:59:55 +01:00
theborakompanioni
6ce73e4c88
chore(footer): externalize BetaWarningDialog 2026-02-25 09:35:12 +01:00
theborakompanioni
f859bf11a1
build(deps): update dependencies
eslint-plugin-compat           6.1.0  →    6.2.0
 eslint-plugin-react-refresh    0.5.0  →    0.5.1
 lucide-react                 0.574.0  →  0.575.0
 react-hook-form               7.71.1  →   7.71.2
 tailwind-merge                 3.4.1  →    3.5.0
2026-02-25 09:35:12 +01:00
theborakompanioni
6ead235f1d
chore(earn): maker start/stop messages 2026-02-25 09:35:12 +01:00
theborakompanioni
cf64cf0772
chore(earn): reset mutations on form submit 2026-02-25 09:35:11 +01:00
kunal yadav
54ad57c14f
fix(send): validate destination address matches wallet network (#1151) 2026-02-25 09:23:34 +01:00
kunal yadav
6d74591d67
chore: validate send amount against source jar balance (#1154) 2026-02-25 09:19:14 +01:00
Parth
d4a8c3820b
feat(logs): improve logs viewer ux with search highlight and smoother refresh (#1150)
* refactor(logs): align page and modal viewer layout

* feat(logs): add searchable viewer with highlight

* fix(logs): reduce flicker during log refresh
2026-02-25 00:06:04 +05:30
Parth
4ba5bd364c
refactor(send): normalize error reason (#1132) 2026-02-22 20:30:32 +01:00
theborakompanioni
781c2f0ccb
chore: yup schema for create wallet confirm form 2026-02-22 20:03:24 +01:00
theborakompanioni
415c35a96c
chore: add ScheduleEntry type 2026-02-22 17:17:37 +01:00
Parth
b630795e48
refactor(settings): replace hardcoded password verify copy with i18n keys (#1143) 2026-02-22 16:55:50 +05:30
Parth
85b88dcdf9
Wallet load error alert refactor (#1134)
* refactor(ui): add shared wallet load error alert

* refactor(auth): reuse wallet load alert in login and import pages

* refactor(settings): reuse wallet load alert in switch wallet page

---------

Co-authored-by: Saurabh Singh <saurabhsraghuvanshi@gmail.com>
2026-02-22 12:12:54 +05:30
Parth
939c92031a
fix(dev): reduce background refresh toast noise (#1141)
- remove recurring dev success toasts for token/session background refresh\n- keep dev error toasts, but dedupe by id
2026-02-22 12:11:34 +05:30
Parth
f0a738bb95
test(hash): make hashpassword test timeout stable (#1139)
test(hash): stabilize hashPassword timeout on slow machines
2026-02-22 11:45:41 +05:30
Parth
ac31425c60
chore(i18n): localize hardcoded login labels and messages (#1130)
* chore(i18n): add login copy keys

* refactor(login): localize login card title and subtitle

* refactor(login): localize wallet selector and password labels
2026-02-20 16:21:50 +05:30
Parth
4d8aaa4941
fix(a11y): add dialog description to onboarding dialog (#1128)
* fix(onboarding): add splash dialog description for accessibility

* fix(onboarding): add hidden step metadata for dialog semantics
2026-02-20 15:48:54 +05:30
Parth
925ec1d6d7
refactor(auth): extract shared auth page shell wrapper (#1126) 2026-02-19 19:03:23 +05:30