Commit graph

10 commits

Author SHA1 Message Date
Thebora Kompanioni
a559e1e92c
fix(ui): consistent button styles (#656)
* fix(ui): consistent button styles in WalletCreationForm

* fix(ui): consistent button styles in WalletCreationConfirmation

* fix(ui): consistent button styles in Create/Import Wallet

* fix(ui): consistent button styles on Wallet List

* fix(ui): consistent button text when submitting on create wallet

* fix(ui): consistent button styles on Send page

* fix(ui): consistent button styles on Earn page

* fix(ui): consistent button stlyes on MainWalletView page

* fix(ui): consistent button styles on Receive page

* refactor(CopyButton): remove sprites

* fix(ui): consistent button styles on Jam page

* fix(ui): consistent button styles in CreateFidelityBond flow

* fix(ui): border color of send/receive button on MainWalletView

* dev(feat): add fast theme toggle to navbar

* fix(ui): align onboarding flow
2023-09-10 14:38:48 +02:00
Thebora Kompanioni
028f32166a
feat: import wallet (#621)
* chore(regtest): do not build tor locally in regtest env

* feat(import): add rescanning param to session request

* feat(api): add rescanblockchain request to JmWalletApi

* feat: add import wallet button to wallets page

* refactor: externalize component PreventLeavingPageByMistake

* refactor: externalize component WalletCreationForm

* wip: use WalletCreationForm in ImportWallet

* refactor: externalize SeedWordInput and rename to MnemonicWordInput

* feat(api): add wallet recover request to JmWalletApi

* build(deps): bump caniuse-lite to v1.0.30001511

* wip(import): start wallet after successful import

* refactor: externalize component WalletCreationConfirmation

* wip(import): use WalletCreationConfirmation view in component WalletImport

* dev(regtest): add funds to dummy wallet during initialization of local setup

* wip(import): update gaplimit before rescanning chain

* wip(import): prevent import if rescan is in progress

* wip(import): ability to customize gaplimit and blockheight

* wip(import): show duration hint when importing wallet

* wip(import): hide sensitive info while importing wallet

* wip(import): reset gaplimit to original value after importing

* wip(import): add description for blockheight and gaplimit

* wip(import): add cancel button to WalletCreationForm

* refactor: externalize component MnemonicPhraseInput

* wip(import): show rescanning indicator on main wallet view

* wip(import): show rescanning indicator in navbar

* wip(import): disable sending when rescanning is in progress

* wip(import): disable navbar/earn/jam when rescanning is in progress

* Update src/i18n/locales/en/translation.json

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>

* fix(import): disable viewing jars on main wallet if rescanning is active

* wip(import): prevent creating new address when rescanning

* fix(import): reload wallet info after rescanning finishes

* refactor: move auto reloading code from WalletContext to WalletInfoAutoReload

* refactor: remove unused method reloadDisplay

* wip(import): reload recursively till balance is found

* wip(import): expand import options by default

* ui: add 'dev' badge to buttons only visible in dev env

---------

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-09-08 13:26:59 +02:00
Nicola Elia
9d1575ffec
ui(Send): hide "number of collaborators" behind send options (#595) 2023-01-17 16:39:48 +01:00
Thebora Kompanioni
087eb0782e
deps: update dependencies (#425)
* deps: remove unused lib moving-letters

* deps: update react-bootstrap from v2.4.0 to v2.5.0-beta.1

* deps: update react-router-bootstrap from v0.26.1 to v0.26.2

* deps: update bootstrap from v5.1.3 to v5.2.0

* dev: update node from v16.11.0 to v16.16.0 in GitHub build action

* dev: harmonize options button styles on Receive and Earn page
2022-07-26 16:29:49 +02:00
Thebora Kompanioni
94d55a5316
ui: Receive screen advances (#347)
* ui: show sat symbol on amount input on Receive screen

* ui: style submit button on Receive screen
2022-06-27 15:49:27 +02:00
Thebora Kompanioni
911177c899
feat(jars): destination jar selector on receive screen (#346)
* feat(jars): display jar selector on receive screen

* ui: show placeholder while balance is loading

* refactor: rename 'account' to 'selectedJarIndex'

* Update src/components/Receive.jsx

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update src/components/Receive.module.css

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update src/components/Receive.module.css

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* build: format code

* review: show jar selector in normal mode

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-06-23 18:17:29 +02:00
Daniel
ed03476766
feat: add share button to receive screen (#310) 2022-06-09 16:01:16 +02:00
Thebora Kompanioni
73078bf8e3
ui: Earn screen figma alignment (#304)
* ui: show config options on Earn screen only in advanced mode

* refactor: externalize AdvancedModeToggleButton component to own file

* refactor: ToggleSwitch from jsx to tsx

* refactor: pass api result down the promise chain on Earn page

* ui: center offertype toggle switch on Earn page

* ui: ability to add an 'off' label and subtitle to ToggleSwitch

* ui: add label to off state of offertype toggle switch on Earn page

* ui: add individual 'simple/advanced view' toggle to Earn screen

* ui: add prefix to inputs on Earn page

* fix: do not populate fee rel with zero when no input is given

* refactor: move styles for Earn page from global to module file

* Revert "ui: ability to add an 'off' label and subtitle to ToggleSwitch"

This reverts commit 04edc2914e.

* Revert "ui: add label to off state of offertype toggle switch on Earn page"

This reverts commit 3142131e47.

* Revert "ui: add individual 'simple/advanced view' toggle to Earn screen"

This reverts commit 0f850f3e28.

* Revert "refactor: externalize AdvancedModeToggleButton component to own file"

This reverts commit 6bf5445265.

* dev: move styles for Receive screen to module

* review: replace toggle with 'advanced' form dropdown in Earn screen

* review: add RadioTabs component

* review: use RadioTabs for offertype on Earn screen

* fix: title in RadioTab

* feedback: style updates

* feedback: rename control element

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-06-07 11:19:21 +02:00
Thebora Kompanioni
34bfd0b3cd
ui: small visual adaptions after placeholder PR (#222)
* chore: harmonize sprite definitions

* fix: prevent render errors on invalid token in CurrentWalletMagic screen

* ui: add border-radius to input placeholder

* fix: add relationship 'noopener' to external links on Send screen

Co-authored-by: Đorđe Spasić <34274884+Djo1e@users.noreply.github.com>
2022-04-20 10:45:12 +02:00
Đorđe Spasić
58017674c4
ui: add content placeholders (#203)
* Add placeholders for Send section

* Add placeholders for Receive section
2022-04-18 09:39:33 +02:00