Commit Graph

9333 Commits

Author SHA1 Message Date
Yana Matrosova 9e4e8a9b2b Yana/pending staking events (#5400)
* Add pending events to stake table

* Add additional tanstack refetch on user stake/unstake/redeem rewards

* refactor repeated fetch functions

* clean up fetching functions

* refactor & clean up

* Add epoch waiting message on epoch change delay

* fine tune epoch change

* clean up

* refactor imports

* Add transaction hash to successful redeem rewards InfoModal

* fix epoch time check and mobile header

* Fix Loading modal width on mobile

* fix epoch logic

* clean up

* clean up logs

* add waiting for epoch to start to landing page

* clean up

* Add refetch of all queries on epoch change

* Finalise state change on epoch change

* clean up

* fix build

* Fix NodesTable mobile view

* Fix stake table mobile view

* fix typo

* Fix blog articles height

* Add loading skeletons to landing page cards

* clean up

* Add skeletons to cards

* Add skeletons, and loading/error refetch on wallet balnce

* clean up

* Add active stakers card

* clean up

* change NGM to mixnet

* Add TVL to Tokenomics card

* Add last total stake to Stake Card

* clean up

* Fix stake sorting function in Stake Table

* Add wrap of identity key and address to Basic Info Card

* Add counter to epoch time on staking page

* clean up

* update epoch labels

* Add circular loading on Toggle Button

* Update Toggle button loading functionality

* Add skeletons to account cards

* Add search functionality on Enter

* clean up

* DOMpurify node name and description

* Add column with id and identity key, wrap names to 2 lines

* Set width of column headers to 110px

* fix pending events for delegations

* Fix Stake button proppagation

* Add full country name to tooltips

* Take out connect wallet from mobile menu toggle

* finetune epoch change intervals

* Add error text to Magic Search

* fix build

* Add react-markdown for Blog articles

* fix graph's width and Table column headings

* fix Magic Search loading

* Fix grid on account page

* fix account card address width

* Fix permanent loading spinner on ToggleButton

* clean up URL's, fix copy address on the Basic Card

* replace mintscan with ping, open tx link on new page

* Take out toggle button if no node bonded by address

* Set fixed column width on tables

* Add not-found page to account, when no node bonded

* Add full country name to tables and node profile card

* clean up

* Table fixes

* Fix sorting in Delegations table Node page

* clean up

* Fix line chart view

* refactor epoch progress bar

* remove unused imports

* remove tanstack delclaration module

* create epoch data provider

* remove logic from togglebutton component

* use epoch provider in components

* invalidateQueries should be awaited

* tidy up QualityIndicatorsCard component formatting

* fix infinite loop in epoch provider

---------

Co-authored-by: Yana <yanok87@users.noreply.github.com>
Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk>
2025-02-27 19:11:50 +02:00
Yana 077a64b076 fix sorting on StakeTable 2025-02-27 19:11:23 +02:00
fmtabbara d3fad05a09 use sort by favorite 2025-02-27 19:11:23 +02:00
fmtabbara 5c937d2a67 fix sort icon color 2025-02-27 19:11:23 +02:00
fmtabbara b403c68a15 fix fav filtering 2025-02-27 19:11:23 +02:00
Yana 65309170b4 clean up 2025-02-27 19:11:22 +02:00
Yana d41d26f5ac fix build 2025-02-27 19:11:22 +02:00
Yana 56ebf001aa fix build 2025-02-27 19:11:22 +02:00
Yana 44687f31ef fix build 2025-02-27 19:11:22 +02:00
Yana 5c4987cd75 Add tanstack react-query for refetching data on epoch change 2025-02-27 19:11:22 +02:00
Yana 4d30f522b7 Add Tenstack refetch to Epoch Card on landing page 2025-02-27 19:11:21 +02:00
Yana 26984b619c clean up 2025-02-27 19:11:21 +02:00
Yana 8cfa4ddc12 fix async func in StakeTableWithAction 2025-02-27 19:11:21 +02:00
Yana 387c0698aa fix async func in NodeTableWithAction 2025-02-27 19:11:21 +02:00
Yana 4b1a78f6ec fix article cards, label, remove profit margin from StakeTable 2025-02-27 19:11:20 +02:00
Yana 31dd960d47 fix build 2025-02-27 19:11:20 +02:00
Yana 8ec4159532 fix build 2025-02-27 19:11:20 +02:00
Yana 491d424fd6 Fix stake more action 2025-02-27 19:11:20 +02:00
Yana 20b70bf0f9 Fix build 2025-02-27 19:11:20 +02:00
Yana 97469ebe5f Add stake more in StakeTable 2025-02-27 19:11:19 +02:00
Yana d2943d0099 fix account balances typing 2025-02-27 19:11:19 +02:00
Yana 6717afc4d9 fix json 2025-02-27 19:11:19 +02:00
huximaxi 3e9d214679 Update blog-template-1.json 2025-02-27 19:11:19 +02:00
huximaxi 63216fc1d0 Update blog-template-4.json
update description
2025-02-27 19:11:19 +02:00
huximaxi 84846db9a6 Update blog-template-3.json
header update
2025-02-27 19:11:18 +02:00
huximaxi 8e442ebed9 Update blog-template-2.json
description update
2025-02-27 19:11:18 +02:00
huximaxi 50a4b0a755 Update blog-template-4.json
title changed
2025-02-27 19:11:18 +02:00
huximaxi 94a1bc9515 Update blog-template-3.json
title change
2025-02-27 19:11:18 +02:00
huximaxi bd227d3f51 Update blog-template-2.json
changed title only
2025-02-27 19:11:18 +02:00
huximaxi 6318708239 Update blog-template-1.json 2025-02-27 19:11:17 +02:00
Yana 3984fcc804 Fix pinning Favorites 2025-02-27 19:11:17 +02:00
Yana bd008c24ad Add Favorites to StakeTable 2025-02-27 19:11:17 +02:00
Yana d8c59f4d38 fix build 2025-02-27 19:11:17 +02:00
Yana 88a3cf2094 Add spectreDao tokenomics to landing page 2025-02-27 19:11:17 +02:00
Yana b74d2447a8 clean up 2025-02-27 19:11:16 +02:00
Yana ee5eb6042d fix build 2025-02-27 19:11:16 +02:00
Yana 3aa6462ead clean up 2025-02-27 19:11:16 +02:00
Yana fd8d226d68 Add redeem rewards 2025-02-27 19:11:15 +02:00
Yana 5edb1dd3b0 Add Total Stake, refactor Original Stake to Observatory api call 2025-02-27 19:11:15 +02:00
Yana 7c236b2f86 Add Total Rewards 2025-02-27 19:11:15 +02:00
Yana 5a082b4170 Fix some sorting 2025-02-27 19:11:15 +02:00
Yana 8cff6e5a73 Add quality of service to NodeTable 2025-02-27 19:11:15 +02:00
Yana f875b38c87 Add Node Saturation Point to NodeTable and StakeTable 2025-02-27 19:11:14 +02:00
Yana 86621d0b94 Add name to StakerTable 2025-02-27 19:11:14 +02:00
Yana ea5ec0733c Add name to NodesTable 2025-02-27 19:11:14 +02:00
Yana 98ccf9e37f Add node saturation point 2025-02-27 19:11:14 +02:00
Yana 3fd74fb590 Add total stake to BasicInfoCard 2025-02-27 19:11:14 +02:00
Yana 4d72d72eb0 Add favorite button on NodeProfileCard 2025-02-27 19:11:13 +02:00
Yana 81b891a21c Fix favorites sorting 2025-02-27 19:11:13 +02:00
Yana d2c42ab7c6 Add location label to NodoProfileCard 2025-02-27 19:11:13 +02:00