Commit Graph

1063 Commits

Author SHA1 Message Date
Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags (#6049)
* WIP - merge edition of account name and tags

* [WIP] - tests

* Apply test improvements

* Improve tests

* Improve tests and use useCallback

* WIP - add cancel button

* Outside click

* Add more tests

* Apply styling

* Add opacity on not editable elements

* Remove unnecessary code and fix type of sidebar ref

* Disable eslint rule

* Place edit button within account menu buttons

* Adjust test setup

* Ato-lint fixes

* Update styles

* Apply review suggestions

* Remove unused styles and change type of sidebar ref

* Remove onCancel from useAccountInfo hook

* Fix issue with edit button

* Apply review suggestions, remove tests

* Adjust tests

* Simplify tests

* Apply lint fixes

* Change layout of buttons

Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
crownsterlingllc
a615381bef
Add Production Crown Sterling blockchain (#6097)
* Add Crown Sterling blockchain

* Fix url sort

Co-authored-by: Jesse Lurie <jkl@Jesses-MBP.attlocal.net>
Co-authored-by: Jesse Lurie <jkl@Jesses-MacBook-Pro.local>
2021-09-09 14:13:54 +03:00
sxlwar
1ea206fe96
chore: add pangoro test chain (#6084)
* chore: add pangoro test chain

* chore: update pangoro color and logo

* chore: run install to fix lock issue
2021-09-07 13:30:59 +02:00
hapham
28e951757e
Add parachain Lavender by SingNetwork (#6067)
* 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
2021-09-06 16:49:53 +02:00
Vitaliy
734c3c653a
Add sorting for accounts view (#5923)
* 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>
2021-09-06 14:14:56 +02:00
Github Actions
b6dddc6521 [CI Skip] release/beta 0.95.2-92
skip-checks: true
2021-09-06 10:12:20 +00:00
igorgogo
d9621a145f
Add Spanner (#6058)
* added spanner and hammer info

* added amplify yml

* modified

* updated logos and colors for spanner and hammer

* updated wss endpoints

* added spanner typebundle

* removed amplify for pr

* fixed lint errors
2021-09-06 12:05:05 +02:00
Github Actions
5511a4f140 [CI Skip] release/beta 0.95.2-85
skip-checks: true
2021-09-04 07:56:28 +00:00
Github Actions
94a40dc64d [CI Skip] release/beta 0.95.2-80
skip-checks: true
2021-09-02 10:12:47 +00:00
Dmitry Selikhov
f81851cd8e
Minor Pontem Testnet types and styles improvements (#6057)
* Add Pontem Testnet support

* Update pontem testnet

* Add .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update pontem testnet

* Update pontem testnet

* Add pontem testnet

* Add pontem testnet

* Add pontem testnet

* Add pontem testnet

* Add pontem testnet

* Delete .gitlab-ci.yml

Co-authored-by: Vitaliy X <42241093+mrz1703@users.noreply.github.com>
2021-09-02 12:04:39 +02:00
Github Actions
d6b10513ec [CI Skip] release/beta 0.95.2-69
skip-checks: true
2021-08-31 12:45:24 +00:00
Dominik Harz
2a9ea4767f
feat: add kintsugi (interBTC) (#6031)
* feat: add kintsugi (interBTC)

* chore: fix linting
2021-08-31 15:36:23 +03:00
composabledev
13f8b04d7d
added picasso mainnet (#6033)
* added picasso mainnet

* fixed lint for productionRelayKusama.ts

* before picasso

* sorted

* sorted

* .

* ran lint

Co-authored-by: composabledev <composabledev@composable.finance>
Co-authored-by: Cosmin <cosmingrigore@192-168-0-190.rdsnet.ro>
Co-authored-by: Cosmin <cosmingrigore@Cosmins-MacBook-Air.local>
2021-08-31 15:20:56 +03:00
MiZiet
b4967ca82c
Popup menu replace and styling (#6007)
* 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>
2021-08-31 10:39:17 +02:00
Joshy Orndorff
6c80616ed2
clarify conviction locking (#6008) 2021-08-31 10:10:05 +02:00
sxlwar
ccc7489aec
chore: remove crab redirect (#6035) 2021-08-31 07:22:17 +02:00
Github Actions
11cacc3536 [CI Skip] release/beta 0.95.2-59
skip-checks: true
2021-08-30 19:36:20 +00:00
Greg Hill
87f291ea37
add interbtc to westend (#6030)
* 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>
2021-08-30 21:51:13 +03:00
Github Actions
08a2b2c85f [CI Skip] release/beta 0.95.2-53
skip-checks: true
2021-08-29 07:25:34 +00:00
Jianping Deng
b054352371
Update calamari crowdloan UI and Dropdown menu (#6021)
* 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>
2021-08-29 10:17:27 +03:00
Ewa Kowalska
c7416ae159
Account row collapsible row details (#5975)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

* Fix display of AddressSmall

* Fix height of icons in AddressSmall

* Fix bouncing cells in address row

* Fix density of accounts display

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-26 13:02:24 +02:00
Github Actions
dcb36ad570 [CI Skip] release/beta 0.95.2-43
skip-checks: true
2021-08-26 10:49:59 +00:00
Lohsea
5157215615
Add new color and logo (#6004)
* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network spec

* feat(page): add zCloak network spec

* feat(page): add zCloak network spec

* feat(page): add zCloak network types

* feat(page): add zCloak network

* feat(page): Add new color and logo

* feat(page): add new logo and color
2021-08-26 12:36:23 +02:00
Github Actions
21e0a8f68f [CI Skip] release/beta 0.95.2-32
skip-checks: true
2021-08-22 16:59:06 +00:00
Cheng JIANG
64c0488a72
add parallel heiko chain (#5989) 2021-08-22 19:50:36 +03:00
Jaco
6aba26bf4e
Revert "Account row collapsible row details (#5894)" (#5974)
This reverts commit 466a1be22f.
2021-08-19 17:47:18 +02:00
Marcin Wachulski
466a1be22f
Account row collapsible row details (#5894)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <30404388+ekowalsk@users.noreply.github.com>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-19 16:42:46 +02:00
Github Actions
8c380e6953 [CI Skip] release/beta 0.95.2-25
skip-checks: true
2021-08-19 11:09:14 +00:00
vol4tim
11f8198d2a
Update Robonomics network endpoint (#5956) 2021-08-19 13:00:33 +02:00
Github Actions
4ef076a49a [CI Skip] release/beta 0.95.2-20
skip-checks: true
2021-08-18 09:35:14 +00:00
Github Actions
4cdfeb1747 [CI Skip] release/beta 0.95.2-18
skip-checks: true
2021-08-17 19:03:51 +00:00
NZT48
692d824673
OriginTrail Parachain types updated (#5959)
* OriginTrail parachain changes

* Add OriginTrail Parachain to polkadotjs

* Rename assets

* Resolve lint issues

* Change order

* Update logo mapping and paraId

* OriginTrail parachain domain for rococo changed

* OriginTrail Parachain Testnet added

* Typo fixed

* OriginTrail logo changed

* OriginTrail Parachain types updated

Co-authored-by: Milos Kotlar <kotlarmilos@gmail.com>
2021-08-17 20:55:01 +02:00
Jaco
820fc46b64
Bump Webpack (#5955)
* Bump Webpack

* Adjust keys
2021-08-17 10:12:40 +02:00
Github Actions
7fc3a47868 [CI Skip] release/beta 0.95.2-13
skip-checks: true
2021-08-14 07:19:15 +00:00
MiZiet
5c1f6729bc
Style tags (#5893)
* Style tags

* Style Input tags

* Change delete tag icon

* Update colors

* Style flags

* Apply review suggestions

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-14 09:10:21 +02:00
Github Actions
182d0f3aa5 [CI Skip] release/beta 0.95.2-7
skip-checks: true
2021-08-06 10:57:51 +00:00
Github Actions
533acade55 [CI Skip] release/beta 0.95.2-4
skip-checks: true
2021-08-04 18:49:38 +00:00
Github Actions
807f8c1b07 [CI Skip] release/beta 0.95.2-3
skip-checks: true
2021-08-03 20:54:06 +00:00
Daniel Savu
11c23efa68
Rebrand polkaBTC to interBTC (#5909)
* Rebrand polkaBTC to interBTC

* Add definitions for `interbtc-standalone`

* Keep PolkaBTC color scheme
2021-08-02 20:26:21 +03:00
Github Actions
30dff3b241 [CI Skip] publish/ipfs QmNWeUySxgL2rta76zPwhBi5ZF2WBuo6bKJTTnppovALbf
skip-checks: true
2021-08-02 12:29:33 +00:00
Github Actions
1d3347801d [CI Skip] release/beta 0.94.2-95
skip-checks: true
2021-07-28 19:15:21 +00:00
Github Actions
70880e3782 [CI Skip] release/beta 0.94.2-88
skip-checks: true
2021-07-23 05:24:28 +00:00
timorl
6749cf97f5
WIP: Add Aleph testnet to sidebar (#5858) 2021-07-23 07:16:50 +02:00
Github Actions
d81fbd8f36 [CI Skip] release/beta 0.94.2-86
skip-checks: true
2021-07-21 18:53:34 +00:00
Robin Syihab
00f2341b6c
Fix typo in ID translation (#5865) 2021-07-21 21:45:54 +03:00
Github Actions
7f619f8031 [CI Skip] release/beta 0.94.2-81
skip-checks: true
2021-07-20 08:13:34 +00:00
制杖
fca230d992
add trustbase network (#5854)
* 1.

* 移除 providers

* Update packages/apps-config/src/endpoints/productionRelayKusama.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-07-20 10:05:53 +02:00
Nikos Kontakis
e202dda584
Integrate substrate connect with Apps (#5644)
* 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>
2021-07-12 06:51:21 +02:00
Github Actions
3aa6acb585 [CI Skip] release/beta 0.94.2-60
skip-checks: true
2021-07-11 05:36:39 +00:00
Lohsea
03b68001ed
add zCloak network (#5791)
* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network

* feat(page): add zCloak network spec

* feat(page): add zCloak network spec

* feat(page): add zCloak network spec

* feat(page): add zCloak network types

* feat(page): add zCloak network
2021-07-11 07:26:52 +02:00