* Add parachain Lavender by SingNetwork
- upload logo singlavender.svg
- add Lavender config
* fix lint error
* fix lint
* fix: Lavender by SingNetwork needs to be before OriginTrail Parachain
* fix: Lavender by SingNetwork needs to be before Loom Network
* Show basic balance info
* Show bonded summary
* Show redeemable summary
* Show unbonding summary
* Adopt linter suggestions
* Hide cards with zero balance
* Apply simplifications
Co-authored-by: Jaco <jacogr@gmail.com>
* Remove dead code
* Simplify balance==undefined case
* Add summary bar tests (#5890)
* Add tests for summary bar
* Improve test case name
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
* Factor empty render into a beforeEach block
* Improve name of helper variable
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
* Construct correct instance for StakingLedger.active
* Override only the relevant parts in each test case
* Simplify test cases
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
* Sort by total balance and by type
* Rename "clas" to "htmlClass"
* Extract DEFAULT_SORT_CONTROLS constant
* Move stableSort to its own file
* Optimize sorting on accounts page
* Adopt new sorting design
* Apply suggestions from code review
Co-authored-by: Jaco <jacogr@gmail.com>
* Remove stableSort function
* Move Dropdown css to Account styles
* Add tests for sorting
* Adjust tests and apply lint fixes
* Apply lint fixes
* Improve row coloring and styling of button for sort direction
* Improve styling
* Fix tests setup and bug connected with cloning accounts
* Restore condition
* Fix imports
Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
* Add custom popup
* Render popup window with react portal
* Handle scroll
* Handle pointer scroll
* Refactor types
* Add useOutsideClick
* Restore button styles
* Update types
* Add tests
* Set multiple refs
* Cleanup
* Cleanup
* Move offset const to the utils
* Add useCallback in useScroll
* Remove empty lines in useElementPosition
* Change styled components to functional
* Make sure popup window stays in view
* Highlight trigger button when popup is open
* Add uesPopupWindow hook
* Make triangle larger
* Use full trigger height
* Apply new lint rules
* Group popup items into groups suggested by Jaco
Menu.Item is of SUI (semantic UI). It supports icons, but
we plan to replace SUI and thus this feature is likely to use
font awesome instead of SUI icons.
* Remove sui menu
* Improve styles
* Add translations
* Add hover
Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
* add interbtc to westend
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
* update interbtc-types to 0.12.2
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
* Add calamari network logo
* Update calamari crowdloan ui and dropdown menu
* Fix CI
* Fix CI
* address comments
Co-authored-by: stechu <shumo.chu@gmail.com>
* integrate apps with smoldot init
* Add a new category for substrate connect light clients to be grouped under. Add translations; Alter Api.tsx in order to choose between light clients and/or url addresses
* remove supportedLightClient array that was introduced. SubstrateConnect already has the information included and will return error if no supported network is found
* rollback 'hacky' changes in order to proceed with better implementation
* alter configuration of testing and production networks in order to introduce light client type
* upgrade substrate connect to 0.3.7
* implementation for integrating substrate-connect
* merge from latest master
* Add substrate/connect version to 0.3.10
* fix merge conflicts
* introduce function for correctly creating the provider URLs and update URLs
* Fix mistaken typos
* fix linter issue about rpc-provider@npm:^4.10.1 missing
* move substrate-connect for react-api to dependencies
* Fix lint issues
* Add tests for substrate-connect light clients urls and fix for ws
* Update packages/react-api/src/Api.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Remove duplicated code
* add exceptions in jest config (transformIgnorePatterns)
* minor fixes
* fix typo errors
* minor yarn update
* Alter urls to string | union type (revert urls for json-rpc)
* fix erroneously changed url
* fix yarn.lock
* Stub mock for tests of substrate connect
* fix yarn
* Update yarn.lock
* Update yarn.lock
* Update packages/apps/src/Endpoints/index.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/apps-config/src/endpoints/util.ts
Co-authored-by: Jaco <jacogr@gmail.com>
* Fix Pr comments
* Fix function that was recreated in every rerender
* Update packages/apps/src/Endpoints/index.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Fix 2nd bundle of PR comments
* Fix function on PR comment
* filter light clients out of auto-selected sidebar networks
* Update package.json
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/react-api/package.json
Co-authored-by: Jaco <jacogr@gmail.com>
* run install
* update yarn.lock from master
* sync yarn.lock from master
* Alter implementation to avoid white screen and make sure that API returned from substrate-connect works
* Update packages/page-accounts/src/CreateAccount.slow.spec.tsx
* Update packages/page-bounties/src/Bounties.slow.spec.tsx
Co-authored-by: Jaco <jacogr@gmail.com>