Commit graph

2 commits

Author SHA1 Message Date
Nicola Elia
7a6b920fd2
feat(Send): Fee breakdown table (#606)
* Add `AccordionInfo` component

* Add fee breakdown UI

* Wrap `loadFeeConfigValues` in hook

I'm not sure about the correctness of using useEffect inside the useFeeConfigValues hook,
in particular regarding the effectiveness of the cleanup function (including `abortCtrl.abort()`)

* Wrap mining fee text function in hook

* Wrap estimated max collaborator fee in hook

* Get real fee values

* Fix TS error "TFunction is not generic"

* Improve clarity

* Fix popover header visibility in dark mode

* Use passive voice in "cannot estimate mining fee" text

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

* Fix past usage in "cannot estimate mining fee" text

* Fix popover dark mode colors

* Align UI to the new proposal from editwentyone

* ui: de-emphasize non-effective fee card content

* chore: fix browser warning for fee breakdown subtitle

validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

* chore(wording): Fee Estimation -> Maximum collaborator fee limit

* chore: use css class text-small for fee breakdown labels

* chore: use useMemo in FeeBreakdown component

* feat(FeeBreakdown): open fee modal on click

* ui(FeeBreakdown): add less-or-equal sign

* ui(FeeBreakdown): show max collaborator fee value in title

* ui(FeeBreakdown): open cj fee section by default

* ui(FeeSettings): switch position of mining and collaborator fees

* ui(FeeBreakdown): now works with sweep transactions

* ui(FeeBreakdown): market maker fees -> collaborator fees

* fix(actions): temporarily print linter debug messages

* build(deps): update to prettier v2.8.7

* ui(FeeBreakdown): emphasize collaborator fee note

* fix(FeeBreakdown): improve handling of missing config values

* chore(FeeBreakdown): Remove unused `AccordionInfo`

* revert: temporarily print linter debug messages

---------

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
Co-authored-by: theborakompanioni <theborakompanioni+github@gmail.com>
2023-08-28 11:03:14 +00:00
Daniel
0e3b7b8b94
feat: simple progress report for scheduled transactions (#262)
* Add progress css

* Update progress

* Clean up

* Clean up

* i18n

* Unify placeholders

* Shwo alert when single colab tx is running

* Reload schedule

* Clean up

* Deactivate testing toggle

* Fix typo

* Update src/components/Jam.jsx

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

* Update src/components/Jam.jsx

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

* Update src/components/Jam.jsx

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

* Update error check for loading schedule

* Log schedule in dev mode

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-05-13 14:15:41 +02:00