Commit Graph

435 Commits

Author SHA1 Message Date
Jaco
e4301bf634
Disable unreachable endpoints (#9105) 2023-03-04 09:20:13 +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
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
0de8a8d2ff
Add waiting list to next-gen staking (#8896)
* Add waiting list to next-gen staking

* Extract use* types

* Adjust useHeartbeat checks

* Adjust with useNextTick

* Adjust for useNextTick

* Points anim via ref

* Adjust
2023-01-31 11:56:37 +02:00
Jaco
86eba636a5
Adjust/optimize table column rendering (#8839)
* Adjust/optimize table column rendering

* Split helper

* Adjust

* Remove ddebug helper logs

* Don't render children on empty array

* Pass isEmpty to Body

* Account hooks ordering
2023-01-19 16:38:34 +02:00
Jaco
6ecccdc031
Additional alignment of staking UI layout (#8828)
* Additional alignment of staking UI layout

* Allow for validator tagging & sorting

* Adjust flag injection (re-create object)

* currentEra for staking queries

* Pass SessionInfo structure

* Display badges

* Adjust flags

* Adjust status media

* Badge background adjustments

* Don't do additional table split

* Adjust table split
2023-01-17 11:30:34 +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
2bf56dbf11
Adjust styled injection (final round) (#8814)
* Adjust styled injection (final round)

* Fix (some) build issues

* Fix (some more) build errors

* ... it builds (... ship it!)
2023-01-15 19:53:55 +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
4d0bc5cbfb
Adjust global field toggle locations (#8803)
* Adjust global field toggle locations

* Additional adjustments

* Additional build fixes

* labelExtra Toggle formatting

* Wrap Option

* Remove "Some" label

* None for Option empty

* Remove debug log

* Adjust
2023-01-15 10:13:38 +02:00
Jaco
8475d4cf60
Rework accounts styled injection (#8800)
* Rework accounts styled injection

* Fix build

* Fix tests? (We've always known we have circular deps on these ones...)

* Remove unused prop
2023-01-15 08:45:14 +02:00
Jaco
e63eeb506c
Rework (some) component styled injection (#8795)
* Rework (some) component styled injection

* Small build fixes

* Additional build fixes

* Additional

* Fixes

* Remove unused SelectedDrag

* Remover unneeded props passing

* Fix build

* Remove unneeded inline-block
2023-01-14 15:22:42 +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
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
ff28428ff0
Remove unmaintained HelpOverlay (#8765) 2023-01-11 20:26:32 +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
edc2bab238
Adjust handling of old-style preimages (#8739)
* Adjust handling of old-style preimages

* Adjust old columns

* Adjust

* Don't pass isLatest around ... will break when we change

* Cater for old-style preimage retrieval
2023-01-09 22:38:51 +02:00
Jaco
f495761c0b
Add a placeholder for full balance retrieval (#8734)
* Add a placeholder for full balance retrieval

* Adjust sidebar

* Add --placeholder class

* staking overview placeholder

* Adjust preimage & council

* Account Summary

* Additional

* Additionals

* Some more around staking

* Slight opacity adjustment

* Last remaining for this round

* One final for now
2023-01-09 17:37:40 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +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
c15c11b373
Adjust account displays with overflow (#8699)
* Adjust account displays with overflow

* line height adjustments

* Adjust SideBar display

* Adjust

* Adjust AddressMini display

* Adjust address column minimum

* align styling

* Adjust column sizing

* Adjust

* AccountName breaks

* Adjust tags label
2023-01-08 13:16:03 +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
86fc69f2a0
Minor link adjustments, Account/Address/Referendum (#8684) 2023-01-04 08:46:02 +02:00
Jaco
e299882fb4
Adjust accounts layout (#8677)
* Adjust accounts layout

* Adjust
2023-01-03 10:44:33 +02:00
Jaco
e344b8a062
Condense Accounts/Addresses displays (#8675) 2023-01-02 20:19:19 +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
e03da38c34
Split tables for Accounts/Addresses (#8672)
* Split tables for Accounts/Addresses

* FIXME for tests

* Remove unneeded top
2023-01-02 15:32:27 +02:00
Jaco
8fbcbf8ded
Adjust Popup theme imports (#8668)
* Adjust Popup theme imports

* Add useTheme to dedupe

* Table head opacity

* Adjust header opacity

* Mock for useTheme

* hail-mary adjustment

* Remove esm pkg dupes

* Popup theme provider

* Remove accounts type sorting

* Remove type sorting tests

* Adjust Accounts header inputs

* Balance summary media

* Rebuild i18n

* Adjust styles
2023-01-01 16:25:30 +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
af51568305
Add isSplit on tables (unused) (#8659)
* Add isSplit on tables (unused)

* Remove unused styles
2022-12-31 12:18:12 +02:00
Jaco
f288a265a1
Add collapsible rows to democracy (#8656)
* Add collapsible rows to democracy

* Adjust padding

* shortHash

* Fix test text

* Move bounty links

* Fix contacts tests
2022-12-30 10:38:16 +02:00
Jaco
207fae5961
Extract Table action classes (#8646)
* Extract Table action classes

* Extract from bounty
2022-12-29 09:57:35 +02:00
Jaco
f55b0ddc05
Adjust list + badges with overlay (#8643)
* Adjust list + badges with overlay

* Adjust
2022-12-28 12:47:12 +02:00
Jaco
089da62e3b
Adjust account table layouts (#8637) 2022-12-27 10:08:04 +02:00
Jaco
5c6df8466f
Add floating badges to accounts (#8634)
* Add floating badges to accounts

* Adjust

* Reorder
2022-12-27 09:22:49 +02:00
Jaco
cd9f723e7d
Additional address cleanups (#8628)
* Additional address cleanups

* Align Address with Account

* Adjust failing
2022-12-25 16:41:10 +02:00
Jaco
a0babd81e2
Adjust account layout w/ grouping (#8627)
* Adjust account layout w/ grouping

* via qr

* Mark dev accounts

* transparent badge re-add

* Adjust

* skip tests to be fixed

* Correct singular proxy
2022-12-25 14:39:25 +02:00
Jaco
685b6aa732
Always pass through voting lock period (#8601)
* Always pass through voting lock period

* const from voting pallet

* Only allow non-empty
2022-12-23 11:10:29 +02:00
Jaco
b7a0ee7900
Gov2 lock calcs (per account) (#8537)
* Gov2 lock calcs (per account)

* Lock calcs

* Individual info

* Countdown display

* Adjust

* With conviction

* Optional modules

* Formatting adjustments

* Add abstain to total value

* WithAsbstain override type

* Linting

* Adjust

* Clear expired locks

* Check ids length
2022-12-16 13:30:07 +02:00
Jaco
530b89cd16
Adjust w/ function detection for proxy & multisig (#8552) 2022-12-15 16:45:05 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
5485c6f4be
Adjust QR genesisHash warning (#8523) 2022-12-12 18:36:46 +02:00
Jaco
863a0d7535
Display warning on mismatched genesisHash (#8522) 2022-12-12 18:22:31 +02:00
Jaco
3522d85e3c
Update preimage usage to latest Substrate (#8254)
* Update preimage usage to latest Substrate

* Optional storageFee

* Bump deps

* PreImage as HexString

* Fasttrack
2022-10-24 08:29:33 +03:00
Jaco
38e228083e
Adjust extrinsics using v2/v1 weights (#8193)
* Adjust for v2 weights

* readability

* Remove unused param

* Renaming system events

* useWeight adjustment

* Remove (now) misplaced comment

* Adjust tests
2022-10-04 13:14:56 +03:00
Jaco
53faefd1a8
Adjust useWeights results (prepare for conv.) (#8192) 2022-10-03 10:46:54 +03:00
Jaco
21b511ddb1
Add hash to judgement call (#8173)
* Add hash to judgement call

* Use built-in toHex on hash output

* Adjust
2022-09-27 18:15:45 +03:00
Jaco
e3cf5e8d54
Bump deps (#8090)
* Bump deps

* Bump tools

* Adjust

* eslint disable
2022-09-03 11:10:07 +03:00
Jaco
e036c199c0
Replace setTimeout(..., 0) with nextTick (#7997)
* Replace setTimeout(..., 0) with nextTick

* Additional
2022-08-19 13:03:06 +03:00