Commit Graph

318 Commits

Author SHA1 Message Date
Jaco
26bcc6073d
Switch on tsconfig composite (#9465)
* Switch on tsconfig composite

* Rebuild locales

* Fix CallExpander import
2023-05-19 15:11:59 +03:00
Jaco
1e7ebdee40
Break (some) circular dependencies (#9464)
* Break (some) circular dependencies

* Rebuild translations
2023-05-19 10:26:23 +03:00
Jaco
451d4e318f
0.129.1 (#9387)
* 0.129.1

* linting
2023-04-30 10:20:05 +03:00
Jaco
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
d25665a513
Partial support for verbatimModuleSyntax (#9270) 2023-04-02 16:12:44 +03:00
Jaco
000aed06e5
Bump deps (#9221)
* Bump deps

* Adjustments for upgrades

* Bumps
2023-03-25 14:59:23 +02:00
Jaco
c069df72c0
Bump dev deps (#9199) 2023-03-18 13:04:20 +02:00
Jaco
4bfda46580
Swap TS resolution to base config (#9194)
* Swap TS resolution to base config

* Run build fixup before lint

* Adjust with specific comment on fixup
2023-03-17 12:55:10 +02:00
Jaco
2422145a24
Adjust spec with references (not able to bump ts 5 as of yet) (#9190)
* Bump to TS 5.0

* Revert TS bump (needs investigation)
2023-03-17 08:34:43 +02:00
Nisheeth Barthwal
6ee86ae57e
display discord identity in profile sidebar (#9185)
* display discord identity in profile sidebar

* use common discord key
2023-03-15 16:26:35 +02:00
Jaco
c6f0c6035a
Upgrade dropzone component (#9169)
* Upgrade dropzone component

* Revert as any removal
2023-03-14 14:27:31 +02:00
Jaco
2e5bd0931c
Filter treasury.UpdatedInactive events (#9159) 2023-03-12 19:35:15 +02:00
Jaco
0cdc49c4be
Adjust max batch size calc (w/ proofSize & older) (#8920)
* Adjust max batch size calc (w/ proofSize & older)

* Cleanups

* Adjust fill ratio

* Adjust, only check refTime

* Comments

* Clarify ratio further

* Extract getKnown

* Split size calc into function
2023-03-12 19:21:50 +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
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
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
d5454f96e6
Bump deps (#8891)
* Bump deps

* Cater for new Weight alias defaults
2023-01-30 12:43:50 +02:00
Jaco
7d1e037fdb
Add missing inline preimage conditions (#8882) 2023-01-25 13:19:59 +02:00
Jaco
9502e3f3b4
Adjust useMemoValue (straight ref compares) (#8858) 2023-01-21 14:19:52 +02:00
Jaco
7b685cec66
Add useTimer hook (& use in ApiStatsCtx) (#8857)
* Add useTimer hook (& use in ApiStatsCtx)

* Adjust useBounce (w/ timerId var)

* Adjust getStats & mergeStats
2023-01-21 11:28:42 +02:00
Jaco
43d4ba2a05
Fix API stats graph (#8856) 2023-01-21 10:26:37 +02:00
Jaco
d12280cb1b
Make usePreimage deal with inline calls (#8843)
* Make usePreimage deal with inline calls

* Ongoing adjustment for hash extraction
2023-01-21 09:18:52 +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
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
a4c9706c29
Return nay flag from votes (#8805)
* Return nay flag from votes

* Add comments around calcs
2023-01-14 22:42:43 +02:00
Jaco
8edbedd5a5
Move usePreimage to react-hooks (#8796)
* Move usePreimage to react-hooks

* Adjust import

* Additional
2023-01-14 12:45:47 +02:00
Jaco
32a25009f5
Cleanup file headers (some mis-named locations) (#8789)
* Cleanup file headers (some mis-named locations)

* Update packages/page-council/src/Motions/Motion.tsx
2023-01-14 08:43:40 +02:00
Jaco
b2e8b6444a
Params support for non-native AccountId{20, 32} (#8752) 2023-01-10 19:54:52 +02:00
Jaco
ba86c6a111
Pull in useMemoValue (& basic use) (#8750) 2023-01-10 14:09:16 +02:00
Jaco
14fb35975f
Adjust for shared default show/check address (#8747) 2023-01-10 12:56:41 +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
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
6bb0eae625
Display time delays in referenda tooltip headers (#8575)
* Display time delays in referenda tooltip headers

* Adjust with estimated actual time
2022-12-19 09:54:02 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
6c98feeb74
Add missing 1 offset to slash retrieval (#8507) 2022-12-09 08:01:29 +02:00
Jaco
e98c91c990
Adjust events & maps, removing unexpected firing (#8489) 2022-12-06 09:22:02 +02:00
Jaco
7cd2b81583
Display individual ranked votes (#8480)
* Display individual ranked votes

* Adjust
2022-12-05 14:13:12 +02:00
Jaco
d155cbaabd
User tx.hasPaymentInfo as appropriate (#8345) 2022-11-16 18:52:40 +02:00
Jaco
98ffd30c77
Ensure staking slashes checks (#8350) 2022-11-15 13:45:36 +02:00
Jaco
8482820469
Don't rely on earliestUnappliedSlash availability (#8209)
* Don't rely on earliestUnappliedSlash availability

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Format with correct offsets

* text
2022-11-15 11:30:14 +02: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
26d698db91
Adjust hooks for V2 weight usage (#8191)
* Adjust for V2 weight usage

* contracts weight conversion

* Explorer with weight conversion

* Adjust
2022-10-03 09:44:50 +03:00
Jaco
f2e65785df
Link inflation calculations source (#8182)
* Link inflation calculations

* Update packages/react-hooks/src/useInflation.ts
2022-09-29 14:17:14 +03:00
Jaco
e036c199c0
Replace setTimeout(..., 0) with nextTick (#7997)
* Replace setTimeout(..., 0) with nextTick

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