Commit Graph

170 Commits

Author SHA1 Message Date
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
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
8123d65969
Adjust default (non-locked) vote size (#8719) 2023-01-07 13:13:55 +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
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
92960c935a
Display inactive issuance summary (#8534)
* Display inactive issuance summary

* Referenda issuance

* Adjust item availability

* active only on inactive availability

* optional explore inactive
2022-12-14 13:09:40 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
0d32810273
Bump TS (#8054)
* Bump TS

* Bumps

* Build output

* extends DropdownItemProps

* Linting
2022-08-26 16:21:38 +03:00
Jaco
25b22ffed5
Bump deps (#7938)
* Bump deps

* Update with latest changes
2022-07-30 09:20:59 +03:00
Jaco
f59d3c8a39
Always use author from api.derive.chain (#7867) 2022-07-16 10:49:36 +03:00
Jaco
a7769f27d5
Filter relayChainInfo.CurrentBlockNumbers (#7872) 2022-07-13 17:46:10 +03:00
Jaco
c55a15dc53
Extract Latency/API stats reusable chart (#7679)
* Extract Latency/API stats reusable chart

* Adjust
2022-06-02 11:54:47 +03:00
Jaco
4399fcb63e
Correctly handle option mappingWithDeposit (#7563) 2022-05-10 17:56:48 +03:00
Jaco
64889009b7
Remove suspicious toHuman in author extraction (#7542) 2022-05-07 10:37:42 +03:00
Jaco
3bf0562a51
Collators support (#7495)
* Collators support

* Ordering

* Adjust

* Adjust icons

* Bump API

* Adjust

* Rebuild
2022-04-30 15:07:00 +03:00
Jaco
514e83a486
Adjust global events filter (#7452) 2022-04-26 14:58:06 +03:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Antoine Estienne
21c232ff91
Add preruntime digest (#6713)
* update moonbeam-types-bundle

* handle preruntime digest
2021-12-23 13:48:02 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
35abb98a8c
Fix everything + indicator formatting (#6239) 2021-10-05 07:03:55 +03:00
Ewa Kowalska
c7416ae159
Account row collapsible row details (#5975)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

* Fix display of AddressSmall

* Fix height of icons in AddressSmall

* Fix bouncing cells in address row

* Fix density of accounts display

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-26 13:02:24 +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
Jaco
6aba26bf4e
Revert "Account row collapsible row details (#5894)" (#5974)
This reverts commit 466a1be22f.
2021-08-19 17:47:18 +02:00
Marcin Wachulski
466a1be22f
Account row collapsible row details (#5894)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <30404388+ekowalsk@users.noreply.github.com>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-19 16:42:46 +02:00
Marcin Wachulski
809520ddc0
Add app-accounts testing support (#5872) 2021-07-28 11:50:06 +02:00
Antoine Estienne
92866ab8e1
Fix author mapping call (#5617)
* fix author mapping call

* add deprecation comment
2021-06-16 17:54:40 +02:00
Antoine Estienne
c67e201fb6
Moonbeam: display account id from author id (#5363)
* draft get account id from author id

* draft block mapping

* add authorFrom mapping type and cleanup

* remove console.log

* Update packages/react-query/src/BlockAuthors.tsx

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

* add more safeguards checks

* Update packages/react-query/src/BlockAuthors.tsx

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

* revert change on lock

* add missing import

Co-authored-by: Jaco <jacogr@gmail.com>
2021-06-08 08:16:24 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
730f382753
Drop events from parasInclusion (alias to inclusion) (#5343)
* Drop events from parasInclusion (alias to inclusion)

* Adjust checks
2021-05-21 22:55:37 +02:00
André Silva
1bff54c3dd
Fix elapsed minutes formatting (#5201) 2021-05-04 07:16:00 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco
bb2f645fd5
Display recent event count on explorer (#5186) 2021-05-02 10:01:58 +02:00
Jaco
00fd0e3b14
Allow forks on explorer (no Babe), adjust EventsContext (#5161) 2021-04-29 09:45:03 +02:00
Jaco
732b3ca673
Show asset supply & add responsive columns (#5125)
* Show asset supply & add responsive columns

* Drop decimals column

* Allow decimals & symbol override
2021-04-23 09:48:32 +02:00
Jaco
cd4ca8bca2
Fix elapsed formatting (correct units) (#5063) 2021-04-14 09:14:39 +02:00
Jaco Greeff
e037ab2400
Bump API (derive extend) (#4867) 2021-03-18 18:46:07 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01:00
Jaco Greeff
ad913ef880
Rework auction end blockNumber (#4833) 2021-03-12 20:02:57 +01:00
Jaco Greeff
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
1b3b866fb5
Format block numbers without jumps (#4694) 2021-02-19 13:08:00 +01:00
Jhon
81935050ec
"isolate opacity change to format balance error text" (#4484)
* 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
2021-01-24 19:05:03 +01:00
Jhon
8be67fc5e1
Identicon and error red shading adjustments for dark theme (#4483)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter
2021-01-24 17:50:30 +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
5f3bd186c7
Add ump/dmp/hrmp queue sizes (#4412) 2021-01-14 14:37:43 +01:00
Jaco Greeff
ef185f3c0a
Use CandidateIncluded events for last inclusion (#4406) 2021-01-14 10:15:24 +01:00
Jaco Greeff
68a90cbc76
Display parachain issuance (#4399) 2021-01-13 19:49:34 +01:00
Jaco Greeff
f93cc49db6
Links to parachains (?rpc=) & best block (#4395)
* Links to parachains (?rpc=) & best block

* Adjust

* Add known types to ParaApi
2021-01-13 17:20:25 +01:00