-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🪢 Merge Validators into dev
#4776
Commits on Dec 28, 2023
-
Validator profile creation (#4428)
* Compoenents Created * RowInline created * create profile modal complete * profile modification modal complete * change BuyMembershipModal to multiTransaction modal * add Bonding Validator Account Transaction,fix the machine * fix the bug in machine * fix the bug * complete the UI,but did not implement transaction for binding validator account * lint:fix * add bondValidatorAcc tx * update storybook * fix mistake * lint fix * fix storybook * add storybook for update validator membership * Revert "fix storybook" This reverts commit 489d7f6. * add some happy and failure case * Metadata to BYTES for UpdateProfile Tx * buyValidatorMembership flow draft * update machine, modal flow * fix machine * address merge conflicts * lint --fix * update MembershipForm, UpdateMembershipForm * update interaction test * fix machine self transition condition, correct PlusIcon import * fix signer, update test * revert changes on UpdateMembership * fix * update app.stories.tsx with validator provider mocking * Revert "update app.stories.tsx with validator provider mocking" This reverts commit d3182d2. * update storybook comment * update buymembership machine * update buyMembership machine * fix * Fix the duplicated transaction signing * Improve binding tests * Change the select validator account function * add validatorProvider * check validator account * Count the membership's root/controller account into the validator membership * fix * Skip validator query until it's needed --------- Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23e07ff - Browse repository at this point
Copy the full SHA 23e07ffView commit details
Commits on Jan 5, 2024
-
Validator page responsiveness (#4706)
* Revert "remove route, sidebar item, tab, dashboard, modal" This reverts commit 480cd09. * Fix the validator hooks * fix validator page tab * add responsive * fix * lint fix * fix hook * add loading, count the current era into uptime * lint fix * remove validator dashboard * address merge conflict * fix validatorsInfo modal * fix validatorslist col-layout * update validator provider * fix * lint fix * fix
Configuration menu - View commit details
-
Copy full SHA for e89ffb9 - Browse repository at this point
Copy the full SHA e89ffb9View commit details
Commits on Jan 15, 2024
-
🚿 Fix Validator dashboard queries (#4718)
* Make validators `APR`, `staking`, and `slashed` optional * Make `totalRewards` and `rewardPointsHistory` optional too * Fix the validator details queries * Filter validator queries * Fix filters * Order validators query results * Skip the membership query when details aren't needed * Add pagination * Rename "others" to "nominators" * Fix the tests * Filter, sort, and paginate on the last step * Split the provider code * Fix pagination on filtered results
Configuration menu - View commit details
-
Copy full SHA for 1deafe8 - Browse repository at this point
Copy the full SHA 1deafe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0902426 - Browse repository at this point
Copy the full SHA 0902426View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ac1b80 - Browse repository at this point
Copy the full SHA 2ac1b80View commit details -
📡 Fix the queries broken by the
ProxyApi
(#4733)* Fix address encoding * Fix the `query` function of `ProxyApi` * Same thing for tx: `paymentInfo` and `signAndSend` * Fix the no latest reward case * Don't encode the addresses * Fix tests
Configuration menu - View commit details
-
Copy full SHA for 3dfd186 - Browse repository at this point
Copy the full SHA 3dfd186View commit details -
* add MyMembership storybook, update updateMembershipFormModal * fix machine * update UpdateMembershipModal * update storybook test * Run prettier * fix useValidators hook * update ValidatorsList storybook test * remove UpdateMembershipModal unit-test * fix proposal storybook test * remove UpdateMembershipModal unit-test * fix updateMembershipFormModal * Alice has two validator accounts * fix
Configuration menu - View commit details
-
Copy full SHA for 87ccd02 - Browse repository at this point
Copy the full SHA 87ccd02View commit details
Commits on Jan 18, 2024
-
Fix endless re-rendering due to the dashboard header (#4738)
* fix * fix * fix
Configuration menu - View commit details
-
Copy full SHA for 62ff736 - Browse repository at this point
Copy the full SHA 62ff736View commit details -
🃏 Validators sort by apr (#4739)
* Rely on observables laziness to filter and sort validators * Re-implement the status filter * Re-implement sort by APR * Show a loader while sorting validators * Throttle to decrease re-rendering cycles
Configuration menu - View commit details
-
Copy full SHA for 44d3f79 - Browse repository at this point
Copy the full SHA 44d3f79View commit details
Commits on Jan 22, 2024
-
🧹 Finalize validator dashboard (#4742)
* Factor common queries * Fix tests * Simplify validators mocks * Factor stakers queries * Fix APR and the latest reward stat * Fix uptime stat * Fix the Era statistic * Watch `totalIssuance` and `useObservable` * Move validators mocks to a separate file * Use the reward average to calculate the APR * Apply the "do not show again" box decision * Fix the toggle appearance
Configuration menu - View commit details
-
Copy full SHA for 5757822 - Browse repository at this point
Copy the full SHA 5757822View commit details -
Replace spinner with skeleton (#4744)
* replace spinner with skeleton * fix
Configuration menu - View commit details
-
Copy full SHA for bab08f6 - Browse repository at this point
Copy the full SHA bab08f6View commit details
Commits on Jan 30, 2024
-
🔍 Check transaction signer addresses in interactions tests (#4704)
* Pass the signer address to mock tx in interaction tests * Fix existing tests
Configuration menu - View commit details
-
Copy full SHA for 6c1ef8d - Browse repository at this point
Copy the full SHA 6c1ef8dView commit details
Commits on Jan 31, 2024
-
Address Validator dashboard QA issues (#4753)
* fix validatorlist filter - input notification & enter on empty search box * don't show validation message until enter key typed * show 'All' in the filter select as default * fix validtor card responsiveness * fix typo 'Norminate' * rename reward widget label - last era * fix validator page widgets tooltips * fix social media icons as hyperlink * Rename `ExternalResourceLink` and type it * add 2 decimals to apr * fix search box not to show invalid choice until type enter * Update packages/ui/src/memberships/constants/externalResourceLink.ts Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com> * fix * fix apr calculation * fix * add commission tooltip * Update packages/ui/src/validators/hooks/useValidatorsList.tsx Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com> --------- Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 10f1ce6 - Browse repository at this point
Copy the full SHA 10f1ce6View commit details
Commits on Feb 1, 2024
-
Fix nominator count in the validator dashboard (#4755)
* fix * Fix failing tests --------- Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ae3cb33 - Browse repository at this point
Copy the full SHA ae3cb33View commit details
Commits on Feb 13, 2024
-
Address create/update validator membership QA issues (#4767)
* fix typo, warning layout * fix validator account select UX * fix storybook * fix invalid validator account input * fix * fix update validator membership UX * Factor validator selection * initialize the updateMembershipForm with the member's current details * fix create/update membership interaction test * fix invalid validator account input - interact test --------- Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 703fc42 - Browse repository at this point
Copy the full SHA 703fc42View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e396ab2 - Browse repository at this point
Copy the full SHA e396ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 707e18d - Browse repository at this point
Copy the full SHA 707e18dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2cf534 - Browse repository at this point
Copy the full SHA a2cf534View commit details