Commit Graph

173 Commits

Author SHA1 Message Date
Arjun Porwal
9c1c4ee96f
Improve block time handling for chains with elastic scaling (#11876)
* fix: last block timer

* refactor: update BlockHeader and BlockHeaders to use AugmentedBlockHeader type and add blockTime calculation

* refactor: remove isLast prop from BlockHeader and update BlockHeaders mapping
fix: update label in Summary component from 'target' to 'slot'
fix: improve block time calculation in BlockAuthors context

* refactor: update BlockHeader to accept multiple headers and group by timestamp in BlockHeaders

* refactor: update BlockHeader time formatting and adjust display value units

* refactor: simplify BlockAuthorsCtxRoot by removing blockTime calculation and parent timestamp retrieval

* feat: enhance calcDelay function to handle elastic scaling and distribute delays across blocks
2025-10-06 09:55:47 +05:30
Arjun Porwal
95e7f3b5a9
Filter events by user accounts (#11728)
* feat: created toggle component for events

* chore: added translation

* feat: integrated event filtering logic with ui

* chore: increased cache size

* feat: add toggle for user-specific events in Extrinsics component

* style: wrap EventsToggle in a styled div for improved styling
2025-08-25 09:05:00 +05:30
Arjun Porwal
de400ac7a9
Accumulate proof size for block details page (#11748)
* refactor: event details extraction to include proof size in calculations

* feat: fetch block weight from storage for source of truth
2025-08-06 09:03:51 +05:30
rajk93
012843e53d
Enhance BlockByHash with next block navigation and copy functionality (#11614)
* feat: add next block hash in BlockByHash

* feat: add copy button for parent and next block hash in BlockByHash

* chore: add requested comment
2025-06-09 12:47:41 +05:30
Muhdsodiq Bolarinwa
9268df0519
Fix dark mode display hash display result in Fork (#11378)
* fix darkmode dispaly hash display result

* run yarn lint fix
2025-03-11 07:59:16 -04:00
Arjun Porwal
ce336a6916
fix: handle potential undefined weight in convertWeight function and improve proofSize handling (#11225) 2025-01-22 07:37:37 -05:00
Arjun Porwal
408abb1349
fix: card title and related translations (#11205) 2025-01-15 10:23:36 -05:00
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
José Molina Colmenero
29633d7f37
Add proof size summary (#10639) 2024-09-05 11:09:14 -04:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
shuoer86
4b84add046
Fix typos (#10014) 2023-12-12 07:41:39 +02:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
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
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
b4098280d0
Upgrade to latest react-router (#9230)
* Upgrade to latest react-router

* Additional

* Adjustment to tabs, dedupe routes

* Adjust for Route element={...} usage

* Align (soon-to-be-removed) gilt routing

* Change path='' to index
2023-03-28 09:35:15 +03:00
Jaco
c069df72c0
Bump dev deps (#9199) 2023-03-18 13:04:20 +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
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
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
43d4ba2a05
Fix API stats graph (#8856) 2023-01-21 10:26:37 +02:00
Jaco
739c5e2aae
Apply consistent ordering to className prop (#8812) 2023-01-15 18:06:52 +02:00
Jaco
c80b14e620
Additional styled injection changes (contracts, explorer, ..., settings) (#8811)
* Additional styled injection changes (contracts, explorer, ..., settings)

* Fix build
2023-01-15 14:52:31 +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
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
ea9f6e0887
Slight latency chart additions (for any expansions) (#8779)
* Slight latency chart additions (for any expansions)

* s/icompleted/isLoaded/

* Adjust peers displayAdjust with loading

* No peer info

* Fix NodeInfo initial refresh
2023-01-13 08:35:31 +02:00
Jaco
d34424a593
Render latency charts in order (nextTick delay) (#8778)
* Render latency charts in order (nextTick delay)

* Use isLoaded flag

* Adjust

* Performance non-critical, just use a map

* Remove indv. checks, just loop through for render

* typo

* Use renderOrder from the actual effect
2023-01-12 17:59:31 +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
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
ba86c6a111
Pull in useMemoValue (& basic use) (#8750) 2023-01-10 14:09:16 +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
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
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
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
9d5171734a
Adjust all chart options (#8606)
* Adjust all chart options

* Expand loading check

* Reload on validatorId changes

* Formatting
2022-12-23 10:09:10 +02:00
Jaco
364e289504
Extend confirmation referendum graph display (#8586)
* Extend confirmation referendum graph display

* Adjust

* ProposedAction with expander

* Expander with left arrow

* Adjust header
2022-12-20 17:50:45 +02:00
Jaco
a8d9d81f46
Use CallExpander in explorer (#8585)
* Use CallExpander in explorer

* Adjust w/ Extrinsic allowance
2022-12-20 13:37:16 +02:00
Jaco
19b399ddb0
Referenda graph overlaps (no explicit confirm) (#8581)
* Referenda graph overlaps (no explicit confirm)

* Crosshair for other charts

* Align all
2022-12-19 19:21:32 +02:00
Jaco
1e3cf6094b
Adjust Call/Event display (known balance args) (#8569)
* Adjust Call/Event display (known balance args)

* Additional

* Adjust

* smooth

* adjust colors
2022-12-18 15:48:03 +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
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