Commit Graph

32 Commits

Author SHA1 Message Date
Jaco
b8daf379e7
Bump dev (w/ lint fixes) (#6006)
* Bump dev (w/ lint fixes)

* Additional

* Bump ui/extension
2021-08-26 12:16:11 +02:00
Jaco
bbf1801d95
Adjust punycode import (#5901) 2021-08-01 08:02:38 +02:00
Jaco
aa6ea3a486
Rework API urls (#5840)
* Rework API urls

* Adjust

* Fix build
2021-07-16 11:33:03 +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
Jaco
3ba23fc20e
s/hosted by/via/ (#5601) 2021-06-15 10:36:07 +02:00
Jaco
b47f6cbacf
Check endpoints sort order (#5564)
* Check endpoints sort order

* colors adjust

* Adjust

* Sorting via objects

* linting

* shared santize
2021-06-11 17:41:03 +02:00
Jaco
d188763e89
Select random provider from list (#5537) 2021-06-09 16:53:34 +02:00
Jaco
d46ff522ab
Disable entries with no types (#5469)
* Disable entries with no types

* Disable unreachable

* Updated

* Adjust
2021-06-06 21:36:03 +02:00
Jaco
7148e7e6b6
Allow xcm asset teleport (#5413)
* Allow xcm asset teleport

* Should be operational...

* lock cron

* Teleport from parachain to relay

* Only enable on relay

* Disable para teleport
2021-06-02 15:11:11 +02:00
Jaco
1bd8637762
Fix chain ordering (alphabetical) (#5248)
* Fix chain ordering (alpahbetical)

* Split relays

* Split live relays

* Ordering

* Adjust first with spacer
2021-05-10 11:08:05 +03:00
Jaco Greeff
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
0196649ce4
Adjust endpoint logos with allowed empty (#4539)
* Adjust endpoint logos with allowed empty

* Displa parachain logos alongside
2021-01-29 16:11:54 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Jaco Greeff
7c8c27f5e0
Store network apiUrl affinity (#4147)
* Store network apiUrl affinity

* Fix setting of url

* Remove old affinities (when networks swap)
2020-12-03 09:40:50 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
fce4f76297
Adjust config imports/exports (#4051)
* Adjust config imports/exports

* Move type import

* yarn

* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
69523d88dd
Add canvas testnet RPC endpoint (#3872)
* Add canvas testnet RPC endpoint

* s/textHoster/textBy/
2020-10-14 21:09:47 +02:00
Jaco Greeff
59623f419b
(Very) experimental dark theme (only localhost) (#3731)
* (Very) experimental dark theme (only localhost)

* Listener for theme changes

* ThemeProps

* Use actual theme with colors

* Page background

* Adjust with theme.bgPage

* Table adjustments

* Some progress (menu & inputs)

* Adjustments in a number of places

* Progress colors

* Modals

* Some calandar stuff

* Toggle

* Updates

* Hack around dropdowns

* Popup menus

* Overlays

* Connecting overlays
2020-10-01 15:50:33 +02:00
Jaco Greeff
7701d6f783
Be specific in endpoint detail config (#3796)
* Be specific in endpoint detail config

* Expand

* localhost
2020-09-30 19:28:18 +02:00
Jaco Greeff
8ca090f5b6 Fix split (with unknown) 2020-09-30 18:40:57 +02:00
Jaco Greeff
b0379d4cd4
Encode rpc=<url> param (#3751) 2020-09-23 19:16:57 +02:00
Jaco Greeff
b0750126ae
Add rpc query on change (#3706) 2020-09-17 18:17:14 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
57dc4d560d
Adjust table header/row coloring (#3655)
* Adjust table header/row coloring

* calnedra rows
2020-09-11 08:55:43 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

* Remove rpc.* zh
2020-09-03 16:36:24 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
3760f41fc7
Grouping in network selector (#3454) 2020-08-20 10:25:18 +02:00
Jaco Greeff
3be0d48172
Rework network selector, single-click (#3442) 2020-08-19 12:52:04 +02:00