Commit graph

676 commits

Author SHA1 Message Date
Thebora Kompanioni
155f9bd55b
fix: pass mixdepth prop as number in request body (#457) 2022-08-11 11:28:00 +02:00
Thebora Kompanioni
27e1a10f63
fix: pass api token to session request (#456) 2022-08-11 11:27:10 +02:00
Thebora Kompanioni
b70b114ffa
regtest: rename default wallet to Satoshi (#460) 2022-08-09 12:47:01 +02:00
Gigi
1836200ce7
chore(release): prepare v0.0.10 (#453) 2022-08-05 14:14:04 +02:00
Thebora Kompanioni
bd8fd974f5
feat: add sorting and filtering to earn report (#451)
* feat: add sorting and filtering to earn report

* dev: remove conf duration from earn table

* fix: smaller header for utxo input count

* ui: add pagination to earn report

* refactor: rename itemsPerPage to pageSizes

* review: improved header wording

* review: align input count column contents

* review: remove pagination from Earn Report component

* test: add happy path tests for Earn Report parsing

* test: show handling unexpected/malformed data in Earn Report

* review: rearrange Earn Report columns; move Earned column to front
2022-08-05 13:56:19 +02:00
Daniel
2097b35a5b
fix: remove logs (#452) 2022-08-05 12:34:01 +02:00
Daniel
9d8e65698e
feat: human readable locktime duration for fidelity bonds (#450)
* feat: add time utils

* feat: update wording

* refactor: simplify api

* Update src/components/fb/utils.test.ts

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update src/components/fb/ExistingFidelityBond.jsx

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update src/components/fb/utils.test.ts

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update src/components/fb/utils.ts

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* fix: pass locale

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

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-08-05 12:28:55 +02:00
Daniel
c3159a252e
fix: accordion bg color (#449) 2022-08-04 16:52:11 +02:00
Thebora Kompanioni
e3ba725680
ui: switch position of amount and recipient input on send page (#448) 2022-08-04 16:39:02 +02:00
Thebora Kompanioni
29eca37535
feat: payment confirm modal (#446)
* feat: payment confirm modal

* dev: show success text in confirm modal if privacy is enabled

* dev: improved sweep text in confirm modal

* dev: display source jar in confirm modal

* review: improve sweep info in confirm modal
2022-08-04 16:26:11 +02:00
Thebora Kompanioni
2d9d13ea90
feat: enable orderbook for all users (#445) 2022-08-04 15:13:43 +02:00
Thebora Kompanioni
952e24b2e9
feat: ability to sort and filter orderbook (#434)
* wip: parse orderbook

* dev: add 'orderbook' feature flag

* dev: remove orderbook request from App.jsx

* wip: add OrderbookOverlay

* fix: render order fee as balance only on abs offer

* fix: don not use orderId as key - it is not unique

* dev: show order type as badge

* fix: add reason to error message

* feat: sortable orderbook table

* feat: ability to filter orderbook by search value

* review: wrap orderbook overlay body in container

* chore: harmonize offcanvas-fullscreen style

* chore: harmonize body styles for fullscreen overlays

* chore: harmonize header styles for fullscreen overlays

* chore: harmonize overlay close buttons and headers in orderbook and earn report

* chore: background-color of orderbook container

* fix: make containers containing tables fluid on xs and sm screens

* chore: harmonize earn report overlay

* fix: same overlay container for all fullscreen offcanvas components

* dev: add title bar to orderbook overlay

* feat: add refresh functionality to orderbook

* fix: hide search criteria phrase if search value is empty

* Apply suggestions from code review

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

* Update src/components/Orderbook.module.css

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

* chore: optimize orderbook filter function

* review: disable search input on data reload

* review: improve filtered orderbook summary

* fix: update wording

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-08-04 15:13:13 +02:00
Daniel
1113e21147
fix: cheatsheet icon (#447) 2022-08-04 12:42:18 +02:00
Daniel
7d750ee043
refactor: remove advanced wallet mode (#443)
* refactor: remove advanced wallet mode

* fix: tests

* fix: remove remaining traced of advanced mode
2022-08-03 10:49:10 +02:00
Thebora Kompanioni
f27a27a93d
fix: color of light-button in dark mode (#442) 2022-08-02 15:41:27 +02:00
Daniel
61a39566f6
feat: utxo list (#430)
* feat: add tabbed control to jar overlay

* feat: add utxo table

* refactor: clean up overlay container

* refactor: clean up table

* feat: add alert

* refactr: re-add utxo modal

* refactor: add back old account details view

* refactor: delete old files

* fix: tests

* feat: add confirmations and refresh button

* fix: class name

* fix: paddings

* fix: acccordion shadow

* fix: bs colors

* fix: remove utxo conversion where not needed

* feat: i18n

* fix: button active color

* Update src/components/jar_details/JarDetailsOverlay.tsx

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* fix: use lockgime from property instead of status

* fix: disable freezing and unfreezing when service is running

* fix: do not allow locked utxos to be unfrozen

* fix: make sure tab and content are in sync

* feat: add sorting by confirmations

* feat: add reset position to sort toggle

* fix: switch cancel button placement

* fix: right-align value column

* Update src/components/jar_details/UtxoList.tsx

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-08-02 15:24:10 +02:00
Thebora Kompanioni
2406c04a7a
feat: Orderbook (#422) 2022-08-02 14:55:32 +02:00
Thebora Kompanioni
81b3e73f24
regtest: setup with local tor in container (#396) 2022-08-02 13:15:51 +02:00
Thebora Kompanioni
3d3706f5b2
fix: invalid DOM property 'class' on Earn page (#431) 2022-08-02 12:31:32 +02:00
Thebora Kompanioni
96a401ccad
fix: text and border colors after bootstrap update (#432)
* fix: accordion text and border color in dark mode

* fix: button text color on dark theme

* fix: address-copy button padding
2022-08-02 12:30:59 +02:00
Daniel
c4a76fa967
fix: docs icon in settings (#439) 2022-08-02 12:01:08 +02:00
Thebora Kompanioni
6a8830f28d
feat: prevent address reuse on Jam page (#433) 2022-08-01 17:04:36 +02:00
Gigi
01515d7f14
feat(settings): add links to docs (#437)
* feat(sprites): add file sprite

* feat(settings): add link to jamdocs.org

* feat: add link to jamdocs.org in onboarding

* Revert "feat(sprites): add file sprite"

This reverts commit 09ddf2e9e7.
2022-08-01 16:38:09 +02:00
Gigi
ca3cc20e15
feat(settings): add link to Matrix and Jam's twitter (#436)
* feat(settings): add link to Jam twitter

* feat(settings): add link to Matrix

* fix(settings): repo rename

* feat: add matrix logo to sprite.svg

* fix(components): repo rename
2022-08-01 16:37:38 +02:00
Gigi
05c908d6f6
feat(cheatsheet): link to jamdocs.org (#429) 2022-07-26 16:30:22 +02: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
Gigi
b442d58b61
feat(cheatsheet): link to jamdocs.org (#427) 2022-07-26 15:45:55 +02:00
Gigi
893dfd0397
feat(cheatsheet): re-word to remove 'yield' (#426)
Fixes #326
2022-07-26 15:13:10 +02:00
Thebora Kompanioni
95def42255
refactor: move BalanceSummary to WalletContext (#419) 2022-07-26 12:29:08 +02:00
dependabot[bot]
b41f21532b
build(deps): bump terser from 5.10.0 to 5.14.2 (#415)
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 09:20:12 +02:00
Thebora Kompanioni
47aab80467
refactor: move filtering for Fidelity Bonds to WalletContext (#418) 2022-07-26 09:16:37 +02:00
Thebora Kompanioni
662faf2c55
fix: do not display freeze info when all utxos have been selected (#420) 2022-07-22 11:58:33 +02:00
Thebora Kompanioni
24c0107036
fix: spacing in jar overlay header and onKeyDown (#421)
* fix: spacing in jar overlay header

* fix: onKeyDown handling in jar overlay
2022-07-22 11:55:47 +02:00
Daniel
ad50747818
feat: add description for second fidelity bond (#414) 2022-07-21 14:42:48 +02:00
Daniel
484afbc8ea
fix: jar spacing (#417) 2022-07-21 11:12:17 +02:00
Daniel
b2faeb7476
feat: show address reuse warning (#411)
* feat: show address reuse warning

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

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* fix: typo

* fix: add null check

* feat: do not allow sending to reused address

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-07-21 11:03:46 +02:00
Daniel
dc36271aa6
feat: improve earn report (#409) 2022-07-19 13:56:48 +02:00
Thebora Kompanioni
a51cdbe53e
fix: color of selected collaborators-selector-input (#410) 2022-07-19 13:48:44 +02:00
Thebora Kompanioni
8fbf864fd3
docs: update regtest commands in CONTRIBUTING.md (#405) 2022-07-18 10:22:06 +02:00
Gigi
72b126ec5d
chore(release): prepare v0.0.9 (#403)
* chore(release): prepare v0.0.9

* chore: remove irrelevant entries from changelog

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

* fix(changelog): typo

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

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-07-14 14:25:35 +02:00
Daniel
c361837fd5
feat: time-lock-icon (#402) 2022-07-14 12:03:19 +02:00
Gigi
53a694e44d
style: improve fidelity bond wording (#401)
* feat(earn): update FB wording

* feat(earn): more descriptive labels and buttons

* feat(earn): deposit duration -> bond duration

* fix: jar label

* feat(earn): improve jar and timelock wording

* feat(earn): report -> earnings report

* feat(earn): update FB wording

* feat(earn): call wizard "configure"

* feat(earn): more enthusiastic success!

* feat(earn): show different headline if 1+ FB exist

* feat(advanced): Account 0 -> Jar #0

* style(earn): utxo -> UTXO

* style: consistent jar capitalization

Specific jar: Jar #0 (uppercase)
Non-specific: one jar, many jars

* feat(wallet): write jar description

* fix: move remaining strings to translation file

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-07-14 12:02:31 +02:00
Thebora Kompanioni
ba265dea72
regtest: delete wallet lockfiles before startup (#374)
* regtest: delete wallet lockfiles before startup

* regtest: expose external tor directory to primary regtest container

* dev: adhere to new standalone image changes
2022-07-13 14:10:46 +02:00
Daniel
389a9c4c2a
i18n: extract fidelity bond translation key (#393)
* dev: add type AddressStatus to WalletContext

* dev: add hook 'AddressSummary'

* fix: display status in utxo selector

* refactor: move 'addressSummary' to type WalletInfo

* feat: warn if non cj-out utxos selected

* fix: remove testing code

* i18n: extract keys

* review: allow expired cj utxos

* fix: remove unused imports

Co-authored-by: theborakompanioni <theborakompanioni+github@gmail.com>
2022-07-13 13:07:58 +02:00
Daniel
08b3e7f4b1
feat: mention jar #0 in preconditions (#395) 2022-07-12 16:26:30 +02:00
Daniel
a31ee2e29c
chore: update readme (#394)
* feat: update screenshots

* feat: update readme

* fix: update screenshots
2022-07-12 15:23:01 +02:00
Daniel
bad9a5741a
feat: visual warning when selecting non cj-out UTXOs for fidelity bond (#392) 2022-07-12 14:49:43 +02:00
Daniel
efa3361177
feat: batch unfreeze UTXOs after creating fidelity bond (#388)
* feat: add batch unfreeze

* fix: do not unfreeze if there is nothing to unfreeze

* fix: icon margin

* fix: watch utxos to be spent
2022-07-12 09:04:53 +02:00
Thebora Kompanioni
ad14830899
refactor: add AddressSummary to WalletInfo (#383)
* dev: add type AddressStatus to WalletContext

* fix: display status in utxo selector

* refactor: move 'addressSummary' to type WalletInfo
2022-07-11 16:59:35 +02:00
Daniel
c25c3ce625
fix: advanced wording and behavior (#390) 2022-07-11 14:48:24 +02:00