Commit Graph

1085 Commits

Author SHA1 Message Date
Jaco
d3dd12d577
Add explicit axios dependency (#9179)
* Add explicit axios dependency

* Adjust tsconfig comment
2023-03-15 09:17:51 +02:00
Jaco
db8c16e5be
Show ChainImg via endpoint map (#9178)
* Show ChainImg via endpoint map

* Substrate logo
2023-03-15 08:31:21 +02:00
Jaco
c6f0c6035a
Upgrade dropzone component (#9169)
* Upgrade dropzone component

* Revert as any removal
2023-03-14 14:27:31 +02:00
Jaco
81bd9725de
Fix accounts sortby label alignment issues (#9163)
* Fix accounts sortby label alignment issues

* Remove comment
2023-03-13 20:47:47 +02:00
Jaco
3bdd41d3a6
Bump chartjs (#9042)
* Bump chartjs

* Adjust chart.js imports

* Bump react-chartjs-2

* Adjust
2023-03-12 16:00:27 +02:00
Jaco
b82cae49ff
Align tsconfig to allow moduleResolution: nodenext (#9152)
* Align tsconfig to allow moduleResolution: nodenext

* Fix bounty

* Additional from tsc --noEmit check
2023-03-12 10:53:21 +02: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
9f87f2fbd2
Disable teleports (no detection on versions) (#9129) 2023-03-08 19:43: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
c199c57fda
Adjust table spacing (somewhat) (#8998) 2023-02-09 23:09:33 +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
d76587c976
Adjust address conversion (32 can convert to H160) (#8991) 2023-02-09 15:38:40 +02:00
Jaco
3fc3b1edbf
Defer keyring init until chain type is available (#8980)
* Defer keyring init until chain type is available

* Ensure optionsSubject operation

* Attempt to fix mocked hook

* Adjust bounties spec context order

* Fix is* flags on mock
2023-02-08 18:36:04 +02:00
Jaco
6656841ce5
Move inline files away from images (#8974) 2023-02-08 11:28:02 +02:00
Jaco
a962768eb2
Don't transform LinkedWrapper labels (#8970) 2023-02-08 02:54:39 +02:00
Jaco
ee5bf6d0c7
Inline images for robohash (#8969) 2023-02-07 12:10:58 +02:00
Jaco
29378fb591
Convert spinner to data uri (#8968)
* Convert spinner to data uri

* Fix header
2023-02-07 10:21:49 +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
0cd2007e46
Updata parachain images (#8959) 2023-02-06 16:46:48 +02:00
Jaco
316f048466
Apply all logos via uiLogo (westend) (#8953)
* Apply all logos via uiLogo (westend)

* Adjust
2023-02-06 15:40:10 +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
02d3fee2e5
Reformat endpoints (#8936) 2023-02-04 09:58:56 +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
b4569bde68
Add explicit ErrorBoundary to Modal displays (#8932) 2023-02-03 14:18:17 +02:00
Jaco
fa569250e3
Limit address inputs based on keyring type (#8925) 2023-02-02 09:37:04 +02:00
Jaco
10e2d2b6d2
Adjust AccountName display for address-only (#8915) 2023-02-01 14:22:36 +02:00
Jaco
45747f6150
Pass through registry on event decoding (#8910) 2023-02-01 09:05:35 +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
532c135e63
Don't lowerCase RPC output labels (#8887) 2023-01-28 17:37:44 +02:00
Jaco
2efde7c452
Wrap Latency/Stats graphs inside NextTick (#8875) 2023-01-24 10:29:48 +02:00
Jaco
61cde148b8
Align Line chart titles (#8874) 2023-01-24 08:46:59 +02:00
Jaco
3a8ea22d4b
Conviction voting delegation (#8721)
* Conviction voting delegation

* Extract option creation

* TrackDropdown (& component consolidation)

* Adjust option extraction

* Adjust

* "a" modal

* Retrieve voting activity for persons of interest

* Debug logs ... all is ok

* Adjust check ordering

* Really make identity optional

* Extract voting details

* Add delegation targets to hooks

* Use param types

* Apply master font changes

* WIP, start populating

* Some progress in the UI stuff

* Adjust

* The pieces are mostly in-place

* Seems to do the trick...

* Correct pallet for voting

* Use palletVote
2023-01-23 16:41:02 +02:00
Jaco
56542ecaaa
Adjust top-level fa ChainImg (#8865) 2023-01-23 10:54:14 +02:00
Jaco
34dc6b4f99
Use fa icons for collectives/bridgehub (until available) (#8864)
* Use fa icons for collectives/bridgehub (until available)

* Adjust color for light/dark themes
2023-01-23 10:19:09 +02:00
Jaco
ceff524588
Bump deps (#8863)
* Bump deps

* Adjust old V2 xcm types

* Bump dev
2023-01-23 08:12:03 +02:00
Jaco
dc12709618
Remove unneeded className to split table (#8851) 2023-01-20 09:56:36 +02:00
Jaco
dc96a37403
Small batch submit adjustments (#8850) 2023-01-20 07:44:16 +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
652015cbdb
De-magic useWindowColumns (#8838) 2023-01-17 21:14:58 +02:00
Jaco
4cdad63117
Align council/tech-comm layouts (#8832) 2023-01-17 14:35:11 +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
a4c75b4882
Optimize table split rendering (#8825)
* Optimize table split rendering

* Rename creation function

* Adjust naming of body* variables

* One more body extraction rename
2023-01-16 13:31:25 +02:00
Jaco
39396c065c
Staking test app (#8822)
* Staking test app

* Split favorites

* Pack rows
2023-01-16 11:39:17 +02:00
Jaco
4ed0167f6d
Ensure all components are React.memo()-ed (#8815)
* Ensure all components are React.memo()-ed

* Align composite creation

* Adjust

* Add Td colSpan & rowSpan attributes
2023-01-16 08:36:22 +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
739c5e2aae
Apply consistent ordering to className prop (#8812) 2023-01-15 18:06:52 +02:00
Jaco
e23de46715
DRY-ed table cell FormatBalance usage (#8810) 2023-01-15 13:41:48 +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
aad46dcb58
Adjust styled injection for signer (#8802) 2023-01-15 09:35:56 +02:00
Jaco
bed8e7892b
Add XCM AccountName (#8804) 2023-01-14 22:13:58 +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
0bf67023d0
Adjust InputBalance label positions (#8790)
* Adjust InputBalance label positions

* Allow null values

* Fix undefined params
2023-01-14 09:46:26 +02:00
Jaco
88e061abea
Remove si dropdown (#8787) 2023-01-13 20:00:33 +02:00
Jaco
0abc803231
Pass all decimals on InputBalance (#8786) 2023-01-13 16:39:49 +02:00
Jaco
0c176104f4
Split chart data & option calcs (#8773) 2023-01-12 12:15:57 +02:00
Jaco
3f40bdaf2d
Adjust explorer links (#8772)
* Adjust explorer links

* Fix build

* Add chart key

* title extraction

* maxItems

* fully loaded
2023-01-12 11:41:43 +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
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
1475bb412d
Fix tooltips (#8763) 2023-01-11 15:32:37 +02:00
Jaco
f86437cd15
Adjust article.{error, warning} sizing (#8757)
* Adjust article.{error, warning} sizing

* Adjust css var naming
2023-01-11 08:15:32 +02:00
Jaco
e841aab243
Make InputAddressSimple slightly more user-friendly (#8756) 2023-01-11 07:38:40 +02:00
Jaco
96af3c1f42
Balance unit detection with pre-defined values (#8753) 2023-01-10 21:38:10 +02:00
Jaco
b2e8b6444a
Params support for non-native AccountId{20, 32} (#8752) 2023-01-10 19:54:52 +02:00
Jaco
0fa680789b
Adjust popup & tooltip spacing (#8741) 2023-01-10 06:36:00 +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
ed513de9f0
Minor placeholder adjustments (#8738)
* Minor placeholder adjustments

* placeholders for explorer block view

* Weight graph

* Misc class fixes

* Drive-by LinkExternal label fix

* StakeOther changes
2023-01-09 18:57:33 +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
2f4f6f675e
Misc. small fixes (#8730) 2023-01-08 18:08:18 +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
b95798aef5
Validator points adjustment (#8727)
* Validator points adjustment

* Fix staking ledgend sizing

* Adjust

* Small adjustment to overall Badge sizing
2023-01-08 12:26:27 +02:00
Jaco
8123d65969
Adjust default (non-locked) vote size (#8719) 2023-01-07 13:13:55 +02:00
Jaco
04a3c7f802
Initial vote value based on existing locks (#8714)
* Initial vote value based on existing locks

* Get minimum
2023-01-06 19:21:55 +02:00
Jaco
23c5fda89c
Adjust menu/content/column pad on small screens (#8709)
* Adjust menu/content/column pad on small screens

* Adjust overlay
2023-01-06 14:33:08 +02:00
Jaco
2ed03a4f0e
Apply min column sizing for hash (#8706) 2023-01-06 10:56:53 +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
a565490d21
Pool name formatting via line-clamp (#8691)
* Pool name formatting via line-clamp

* Use line-clamp for Expander info

* Adjust max-width
2023-01-05 14:22:55 +02:00
Jaco
76b7c137cf
Replace (some-browser-broken) visibility: collapsed (#8692) 2023-01-05 13:55:51 +02:00
Jaco
86fc69f2a0
Minor link adjustments, Account/Address/Referendum (#8684) 2023-01-04 08:46:02 +02:00
Jaco
f683da30cb
Apply media queries on referenda (#8679) 2023-01-03 13:49:50 +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
d6c9a03037
Move external links to referendum expansion (#8671)
* Move external links to referendum expansion

* Additional ref info
2023-01-02 12:36:36 +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
88f04e951b
Adjust padding for Table actions (#8667) 2023-01-01 12:12:48 +02:00
Jaco
2ce015ebc6
Add Columar reverse & sizing props (#8666)
* Add Columar reverse & sizing props

* Add tiny size

* Adjust tiny

* Adjust default padding based on size
2023-01-01 11:50:59 +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
02bfe4e127
Apply split on ranked collective (#8662) 2022-12-31 13:01:32 +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
b61a022e29
Move society payout button (#8654)
* Move society payout button

* Move absolute alignment
2022-12-29 11:36:06 +02:00
Jaco
14d5c1e861
Adjust parachain media queries (#8651)
* Adjust parachain media queries

* Columar flex

* Columar queries

* singular media query
2022-12-29 10:13:26 +02:00
Jaco
207fae5961
Extract Table action classes (#8646)
* Extract Table action classes

* Extract from bounty
2022-12-29 09:57:35 +02:00