* feat: add retry to accounting
* fix: fix off by one bug in retry logic
* docs: add jsdocs to new utility functions
* style: rename DepositModal to CheckoutModal
* feat: added tolerance to version check and warning if not exact to what we expect
* chore: update to bee-js 0.10.0
* chore: updated interfaces that changed in bee-js 0.10.0
* chore: upgrade to bee-js 0.8.1
* refactor: removed toString on number types, Token now accepts numbers
* test: removed fromBZZbaseUnit test, makeBigNumber accepts number now
* chore: fix logic error when displaying Cashout button
* refactor: simplified accounting, removed cashing out
* feat: load uncashed amounts for all pears that have settlement
* feat: added cashout button
* refactor: changed accounting to work with current version of bee
* chore: addressed PR review comments
* chore: simplified the uncashed expression in balance table
* refactor: added toBZZbaseUnit function
* feat: added utility for attesting value is BZZ convertible to base units
* fix: conversion from 15 to 16 decimal places, added unsafe versions
* refactor: withdraw modal uses the safe conversion from BZZ
* refactor: added BigNumber and Token class to handle BZZ digits correctly
* refactor: extract deposit and withdraw functionality into single modal
* test: added tests for Token
* chore: removed unused component
* chore: addressed PR review, token decimal is now integer 0-18
* chore: added comment to clarify the value restriction on token amount
* refactor: status page nested ternary logic
* refactor: move the fetch latest bee release to a hook
* refactor: solved node status rerendering, improved performance and clarity
* refactor: step components now use unified hooks interface
* style: removed component margins, layout should be handled by pages
* style: add eslint configuration as per bee-js
* chore: add `plugin:react/reocommended` in `.eslintrc`
Co-authored-by: nugaon <50576770+nugaon@users.noreply.github.com>
* chore: add `consistent` to `array-bracket-newline` as per review
* style: after automatic fixes with `npm run lint`
* style: fixed all linter errors
* refactor: fixed all linter warnings
* chore: added missing new line at end of `.prettierrc` file
Co-authored-by: nugaon <50576770+nugaon@users.noreply.github.com>
* fix: content offset
When the appbar was changed to a `div` the content became offset, this fixes that.
* style: make display of cheques table more readable
* style: restyle sidebar
* fix: content overflow
* chore: split theme into separate file
* feat: show ethereum transaction link for cashout
* feat: make cashout link to etherscan transaction
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* chore: split node and debug api status checks
* chore: update final status check
* chore: resolved compilation issues
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* fix: Setting explicit Typography components to fix invalid DOM
Typography, by default, uses <p> as it's underlying component. When used
to embed other components it resulted in a DOM errors like: "<p> cannot appear
as descendant of <p>"... and more.
fix: Linting
* chore: apply suggestions from code review
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* initial dashboard layout
* add node status card
* add accounting section, pull peer data
* add file functionality with bee-js, first iteration of accounts page
* Add balances and chequebook table
* add blockie / identicon for addresses
* add basic settlements table
* implement theme overrides
* cleanup logging
* Add troubleshooting block
* add initial dark theme support, add copy to clipboard, QR code support
* show active element on sidebar
* remove duplicate status page and make status page index
* Update package.json
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* Update public/index.html
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* Update src/pages/accounting/AccountCard.tsx
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* change bee api client to use beeJS library
* add initial setup workflow
* breakout ethereum address component, define initial setup workflow
* add types to responses, add additional node troubleshooting info to workflow
* make setup steps nonlinear and interactive
* make host endpoint dynamic on setup
* split out api calls into custom hooks, add component loading indicators
* add depost / withdrawl functionality, show transactions in BZZ
* add multiOS code support troubleshooting, check for balance in chequebook on setup
* add ability to change apis in settings page
* show file loading status
* Style active sidebar item
* reload on theme change
* modify troubleshooting verbage, add cashout functionality and details,
* facilitate file upload with beeJS
* update readme to show UI samples
* remove nnPeersWatermark from peers page
* split node steps into separate components, make status page visible at anytime
* minor UI/UX enhancements
* format accounting page
* remove WIP wallet connection code
* Update src/components/CashoutModal.tsx
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
* use bigint for deposits/withdrawls
* revise status card
* clean up unused imports and variables
* add api status to sidebar
* obfuscate pages with troubleshooting component when apis not connected
* add localhost OS detection for troubleshooting code
* cleanup extra logos
* monospace BZZ in tables
* hide troubleshooting page while loading API status
* Remove ability to remove peers
* add null types to API responses
Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>