Commit Graph

119 Commits

Author SHA1 Message Date
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
d44ce108ac
Bump deps (#8993)
* Bump deps

* Ensure .catch is applied to promises

* Adjust code style
2023-02-09 19:13:26 +02:00
Jaco
f5115fc919
Add ui: { color, logo } struct to endpoints (#8963) 2023-02-06 19:56:03 +02:00
Jaco
b4acd002c1
Apply all chain colors into definitions (#8948) 2023-02-06 13:08:48 +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
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
6a56790cf6
Add option for local account storage (default to "off") (#8816)
* Add option for local account storage (default to "off")

* Use state.*

* Adjust Ledger FF warning with row

* Adjust settings
2023-01-16 08:07:44 +02:00
Jaco
c80b14e620
Additional styled injection changes (contracts, explorer, ..., settings) (#8811)
* Additional styled injection changes (contracts, explorer, ..., settings)

* Fix build
2023-01-15 14:52:31 +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
e1727917d1
Remove label help tooltips (#8767)
* Remove label help tooltips

* Fix missed item

* Adjust

* adjust

* Back to defaults
2023-01-12 10:11:02 +02:00
Jaco
ff28428ff0
Remove unmaintained HelpOverlay (#8765) 2023-01-11 20:26:32 +02:00
Jaco
ac2e910d8b
Adjust Table borders (w/ spacing) (#8729)
* Adjust Table borders (w/ spacing)

* Background only on cells
2023-01-08 15:54:26 +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
453a505d58
Predefine columns for Table favorites/expander (#8690)
* Predefine columns for Table favorites/expander

* Adjust header definition types

* Additional header typings

* lint override

* Add Table.Column.Id

* Use Table.Column.Favorite for staking
2023-01-05 17:39:02 +02:00
Jaco
e3824c04c3
Adjust Table component spacing (#8674)
* Adjust Table component spacing

* px

* Add isExpanded

* Cleanup border placement

* Ref sizing
2023-01-02 19:49:25 +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
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Vadim
2caf3eded9
fix overflow issue in extensions table (#7767) 2022-06-21 07:07:47 +03:00
Jaco
1db1eb1b93
isOdd/isEven Table row classes (#7414) 2022-04-21 11:07:19 +03:00
Jaco
2f385280ea
Bump dev deps (#7375) 2022-04-14 14:47:13 +03:00
Chris D'Costa
d955e1f6c7
Updates the ss58 prefix long description to align with substrate (u16) (#7277)
Related to https://github.com/polkadot-js/apps/issues/7251
2022-03-31 16:24:54 +03:00
Jaco
a6d46a05ce
Show settings for Ledger (disabled) on non-Chromium (#7156) 2022-03-14 09:09:14 +02:00
Jaco
cf406781af
Correct connected node ss58 settings display (#7046) 2022-02-25 13:38:31 +02:00
Jaco
dc1fccdaa9
Always display Settings -> Developer on dev chains (#6877) 2022-01-25 10:18:32 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
62b8ef95f6
Add empty logo for unknown extensions (#6741) 2021-12-28 10:08:51 +02:00
Jaco
89bccec00b
Adjust network specs for consistency (#6525) 2021-11-08 16:18:42 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
df784a7641
No dev types injection with metadata v14 (#6471) 2021-11-03 16:53:22 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
7ff500787d
Enable Ledger desktop via node-hid (#6385)
* Enable Ledger desktop via node-hid

* Node?

* Pass isElectron prop
2021-10-23 17:10:12 +03:00
Ewa Kowalska
93091ba434
Fix colouring issue when filtering (#6166)
* WIP - fix coloring

* Fix row coloring

* Remove unnecessary test

* Apply review suggestions

* Update yarn lock file

* Apply review suggestion

* Restore row coloring in Extensions.tsx

* Remove unused field index in class Row

Co-authored-by: MiZiet <michalzietalak@o2.pl>
2021-09-22 15:52:14 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02: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
Antoine Estienne
95e9c668ea
Add chain type to metadata (#5887)
* add chainType to metadata in the qr code

* lint
2021-07-28 21:07:09 +02:00
Jaco
e0b788f3e5
Bump deps (#5805)
* Bump deps

* Bump API
2021-07-10 07:36:28 +02:00
Antoine Estienne
e55a18689b
Add chainType to chainInfo (#5766)
* add chainType

* Update packages/page-settings/src/types.ts

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

Co-authored-by: Jaco <jacogr@gmail.com>
2021-07-05 15:02:48 +02:00
André Silva
759d506bd1
Fix typo in chain specifications (#5659) 2021-06-22 16:00:52 +02:00
Jaco
ef2906ad0a
Adjust icon based on spec (#5491)
* Adjust icon based on spec

* Rococo

* Remove unneeded console.error in tests
2021-06-08 08:05:39 +02:00
Jaco
4adfaf3098
Logo/colors based on specName (#5325) 2021-05-19 08:58:03 +02:00
fadomire
7f9073b75a
Fix translations loading for ever (#5282)
Currently when going to #/settings/i18n we have the spinner loading forever.

It is caused by 404 on locales/pl/translation.json missing.

bug introduced by this PR:
https://github.com/polkadot-js/apps/pull/4724

To avoid this in future and instead of creating a locales/pl/translation.json (that can be done in another PR) ii catch any error on retrieveJson and return an empty {}
2021-05-14 22:52:16 +02:00
Jaco
b43559f09f
Display ss58Format in dropdown (#5263) 2021-05-12 09:51:51 +02:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +01:00
Jaco Greeff
ddbf46e7a0
Bump deps (common, local types) (#4726) 2021-02-25 07:55:48 +01:00
Jaco Greeff
7a45791153
Bump deps (#4522)
* Bump deps

* latest

* Ledger warning
2021-01-28 19:10:12 +01:00
Jhon
a59a06a747
updated settings > metadata layout to be more consistent with the rest (#4492)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

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

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-26 14:24:10 +01:00
Jaco Greeff
38b7ebc24c
Format multiple balances w/ properties (#4480)
* Format mutiple balances w/ properties

* Bump API

* Update chainDecimals extraction

* Fox bounties mock API

* Expand rendering

* Bumps
2021-01-23 15:30:37 +01:00
Jaco Greeff
19d49f09be
Move to Ledger usage with hook (#4195)
* Move ledgerChains to apps-config

* Swap Ledger capabilities to hook

* Fix type usage

* getLedger returns promise

* Revert promise result

* cleanup

* use has ledger support (#4413)

* use hasLedgerSupport

* Bump common

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

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
d28d9c6941
Add small QR border (#4392)
* Add small QR border

* Missing style...

* Border for networkspecs QR
2021-01-13 15:10:46 +01:00