Commit Graph

60 Commits

Author SHA1 Message Date
Arjun Porwal
8f3ad81d6f
Modify chain names and order in the side menu (#11829)
* fix: labels for chains

* fix: swap first two items for group

* feat: write to localStrage after reading to avoid redundancy

* feat: check relay value exists in chains config

* fix: tests
2025-09-16 22:13:04 +05:30
Arjun Porwal
27ce6e2703
Simplified Chain Endpoint Selection (#11742)
* feat: added star icon for chain

* feat: add favorite chains header and localization support

* fix: star ux flow enhanced

* feat: mark chains as favorite and store it

* feat: added transitions and shown already favorite chains

* fix: remove favorite chains key from localStorage on error

* feat: integrate favorite chains functionality in Group

* chore: fix spacing between group headers

* feat: enhance favorite chains functionality with structured storage and utility functions

* fix: prevent rendering empty component for groups with no favorite chains

* chore: translations

* chore: match favorite network with relay and paraId

* chore: remove logging

* chore: providers list removed

* feat: created dropdown for choosing provider

* feat: add alert for no available WebSocket providers in NetworkDisplay

* fix: update setApiUrl to preserve groupIndex

* feat: improved favorite chain header style

* feat: add getContrastingColor utility and update GroupDisplay styling
2025-08-11 09:15:58 +05:30
Arjun Porwal
c907fde127
Mark Chains as Favorites (#11718)
* feat: added star icon for chain

* feat: add favorite chains header and localization support

* fix: star ux flow enhanced

* feat: mark chains as favorite and store it

* feat: added transitions and shown already favorite chains

* fix: remove favorite chains key from localStorage on error

* feat: integrate favorite chains functionality in Group

* chore: fix spacing between group headers

* feat: enhance favorite chains functionality with structured storage and utility functions

* fix: prevent rendering empty component for groups with no favorite chains

* chore: translations

* chore: match favorite network with relay and paraId

* chore: remove logging
2025-08-01 12:22:40 +05:30
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Qiwei Yang
9d994f505f
feat: make local fork non persistent across sessions (#10315) 2024-03-02 09:11:52 -05:00
Qiwei Yang
e2db0ba1be
fix: switch rpc in url should not auto use local fork (#10308)
* fix: switch rpc in url auto use local fork #10305

* fix: lint
2024-02-29 08:53:29 -05:00
Qiwei Yang
8208fc5a4a
Integrate chopsticks (#9965)
* fork locally feature

* use chopsticks provider

* update

* test locally

* update provider usage

* upgrade chospticks

* upgrade chopsticks

* fix lint

* remove extra code

* add setStorage back with alice

* update chopsticks

* update chopsticks

* updade chospticks version

* fix: chopsticks version

* fix: update and testing

* fix: remove isLocalFork from global var
2024-02-27 07:42:45 -05:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
f5115fc919
Add ui: { color, logo } struct to endpoints (#8963) 2023-02-06 19:56:03 +02:00
Jaco
acaafecf92
Remove logo exports (all via uiLogo) (#8957)
* Remove logo exports (all via uiLogo)

* lint

* Adjust

* Adjust

* Adjust empty

* Adjust

* Allow empty
2023-02-06 17:27:54 +02:00
Jaco
07651f72f0
Convert png/gif/svg to data:image/* uris (#8941)
* Convert png/gif/svg to data:image/* uris

* Ensure ui{Color, Logo} expands from EndpointOption -> LinkOption

* Dedupe shared options

* Apply uiColor & uiLogo

* Convert statemine/statemint/westmine to ui*

* Add script

* Adjustments

* Adjust logos

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional
2023-02-06 11:27:14 +02:00
Jaco
e214c0fde8
Additional styled injection changes to components (#8809)
* Additional styled injection changes to components

* Couple more

* One from claims (previously missed)

* Adjust

* Fix some build issues

* Final build adjustments

* Adjust address whitepace

* Adjust bounties
2023-01-15 13:25:59 +02:00
Jaco
a8cc494822
Start non-wrapping of components with styled.div (#8793)
* Start non-wrapping of components with styled.div

* Move div definition

* Additional style moves

* Additional moves
2023-01-14 11:31:45 +02:00
Jaco
ff328328ac
Small update to menu sizing (#8769)
* Small update to menu sizing

* Additional

* Align all short address displays

* shor hashes, short addresses

* isLoading to inputs

* Adjust --tmp for Labelled

* jiggle endpoint display

* button sizes

* label sizing

* final label sizing

* column headers

* label padding

* parachain hashes
2023-01-12 09:36:21 +02:00
Jaco
9647a68b4a
Font styling (#8764)
* Font styling

* Additional adjustments

* Adjust

* Node headers & Table numbers

* Adjust

* mono size adjust

* Adjust upwards for headers

* Explicit label vars

* header font-weight

* .sub font-weight

* Adjust block headers

* Remove rx--updated
2023-01-11 20:09:13 +02:00
Jaco
2f4f6f675e
Misc. small fixes (#8730) 2023-01-08 18:08:18 +02:00
Jaco
f889abb7af
Overall adjustment to font styling (#8725)
* Overall adjustment to font styling

* Additional

* AccountName

* Table header

* One less font override

* Remove commented code

* Adjust menu sizing

* Adjust tab menu

* Adjust

* Adjust lightGreyColor
2023-01-08 12:53:43 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
f59dec11d3
Short info blurb for linked chains (#7989) 2022-08-14 09:49:43 +03:00
Jaco
ab9993a313
Disable unreachable endpoints (#7768) 2022-06-20 20:11:03 +03:00
Jaco
f5f71f023e
Remove isUnreachable from sidebar (#7728) 2022-06-11 16:41:12 +03:00
Jaco
7f0a05ca67
Bump dev (#7212)
* Bump dev

* linting

* s/function//
2022-03-23 08:03:11 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
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