* fix: change collapse to offcanvas
* Display offcanvas below header
* Hide offcanvas on non-mobile
* Fix undefined className in Sprite
* Display nav item title on mobile
* Adapt no unlocked wallet nav
* Improve nav toggle button
* Remove dead code
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
* Convert logo into sprite
* Add theme basics
* Extract Sprite component
* Add some more overrides
* Update src/components/App.jsx
Co-authored-by: Daniel <eggerdnl@gmail.com>
* Move switch to settings view
Co-authored-by: Daniel <eggerdnl@gmail.com>
* Add build workflow
Perform the lint, test and build tasks on master and pull requests targeting master.
* Format CSS file
* Exclude non-existing tests for now
* feat: update balance ui
* fix: change currency symbol placement
* User sat symbol
* Add digit grouping
* Clean up some things
* Fix copy: Balance -> balance
* SATS -> sats
* Show ₿ as prefix and sats as suffix
* fix: add padding to sat symbol
Co-authored-by: Gigi <dergigi@pm.me>
* fix: show loading indicator till all data is fetched
as two requests are made in CurrentWallet component, a single boolean
as loading flag might not represent the current loading state correctly.
This commit adds a 'loading counter' that increases/decreases when
starting/finishing data requests.
* Handle loading counter using state
* fix: use Promise.all to sync loads
Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: Daniel <dnlggr@pm.me>
* fix: prevent 'config value not set' on cj in regtest env
'max_cj_fee' config values must be present when invoking a
coinjoin via the api. the default config for the regtest env
did not include these values before, hence they could not
be overridden in docker-compose setup file.
* dev: switch irc server from miniirc to ergochat
* dev: start second joinmarket container
In order to successfully perform a CoinJoin, there must be at least one
maker. This commit adds a second JoinMarket container with
jmwalletd accessible on port 29183.
* dev: add helper script to mine a block
* dev: add container switch to regtest-control script
* dev: invoke mine-block in regtest-control script
* dev: add flag '--unmatured' to regtest-control script
Sometimes it is desired that block rewards do not reach maturity
immediately. This is convenient if you want to supply several wallets
with coins, but do not want to generate many blocks all the time.
* dev: add helper script to start maker service
This script helps in providing both JoinMarket containers a wallet with
spendable coins and starting the Maker Service in the secondary
container. Its main goal is to make CoinJoin transactions possible in the
regtest environment.
* dev: move common functions to script common.sh
* fix: use correct irc host in docker setup
* dev: use ergochat image from ghcr.io
* dev: dont lock secondary wallet in setup script
normally the wallet should be locked, but it seems this leads to the
maker service responding very slowly which causes failing coinjoins.
as the secondary instance is never interacted with directly, we can
refrain from unlocking the wallet for now.
* docs: add debug log command to docker readme
* cleanup: rename script 'regtest-control' to 'fund-wallet'
* dev: upgrade joinmarket from v0.9.3 to use current master branch
* review: add more descriptive comments and cleanup files
* Add toggle to display amounts in sats
* fix: remove artifact on missing fidelity bonds
the length of fidelity bonds array has been rendered when array
was empty ("0" was displayed).
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
a value of zero will actually send the entire amount.
this is probably not what the user expects.
solving this by requiring the value to be greater than zero.
when navigating to the reiceve page with a specific account,
the qr code has not been loaded. this fix will ensure the account
type is an integer and hence the qrcode is loaded as expected.