Commit Graph

84 Commits

Author SHA1 Message Date
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
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types (#4210)
* Sharing of user types

* url encoding/decoding

* assert non-array

* Developer page URL encoding

* Cleanup saving/loading encoding

* Move fflate

* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +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
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
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +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
b84e0313a3
Pull metadata decimals/ss58 from Api (#3879) 2020-10-15 12:29:43 +02:00
Jaco Greeff
3581e93444
Enabled theme selection on all locations (#3802) 2020-10-01 17:00:17 +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
fd8d60ce6b
RoboHash icon theme (#3795)
* RoboHash icon theme

* Move to react-components

* Enable RoboHash

* Use full hash for generation

* Conversions

* Stream bytes

* background opacity

* Optimize images
2020-10-01 13:43:16 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
f8ee5b838a
Only hide extension updates in settings on dev (#3678)
* Only hide extension updates in settings on dev

* Adjust color indicator for Centrifuge
2020-09-14 13:21:03 +02:00
motinados
efef6d32a9
fill in all empty values in all languageCaches. (#3606)
* fill in all empty values in all languageCaches.

* add semicolon

Co-authored-by: baghappening <baghappening@gmail.com>
2020-09-04 10:38:33 +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
45c32b1a96
Cleanup metadata for dev nodes (#3498)
* Cleanup metadata for dev nodes

* Rewrite yarn.lock
2020-08-24 08:03:08 +02:00
Jaco Greeff
39422a06ba
Expander adjustment (#3480)
* Expander adjustment

* AddressInfo w/ New DOT

* Adjust

* Content padding

* Basic settings when not connected
2020-08-23 10:35:12 +02:00
Jaco Greeff
f64169731e
Adjust default icon display (#3476) 2020-08-22 16:27:11 +02:00
Jaco Greeff
33892a2e31
Nav re-imagined (#3422)
* Playthrough with top navigation

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

* Adjustments for single-enrties (e.g. Kulupu)

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

* Touchups. Stop playin, it is ok...

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

* Ship it.
2020-08-20 17:50:30 +02:00
Jaco Greeff
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Jaco Greeff
6a5f37fd07
Link to extension upgrade, cater for non-existing case (#3401) 2020-08-12 12:49:45 +02:00
Jaco Greeff
5c3c7f260c
Update extnesions when chain properties has changed (#3350) 2020-08-06 10:26:43 +02:00
Jaco Greeff
f7ecc45606
Endpoint sidebar (#3282)
* Endpoint sidebar

* Collapsible

* Selection of new url

* Sidebar icon override

* url validity

* Remove  network selection from settings

* Updates with custom
2020-07-29 13:59:30 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
Jaco Greeff
97e2af124c
Circular progress (#3257) 2020-07-24 13:59:32 +02:00
Jaco Greeff
85161540b7
Rework Progress component (#3211)
* Reowkr Progress component

* Toggle colors

* Sligh cursor adjustment
2020-07-16 16:33:50 +02:00
Jaco Greeff
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
59b176972b
Align settings toggle (#3114) 2020-07-03 07:56:01 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00