-
Notifications
You must be signed in to change notification settings - Fork 8
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
Wallet sidekick staking summary not accurate #571
Wallet sidekick staking summary not accurate #571
Conversation
✅ Deploy Preview for astral-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for storybook-pr canceled.
|
PR Description updated to latest commit (026b649) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
User description
Wallet sidekick staking summary not accurate
Related issue
Screenshot
Type
bug_fix, enhancement
Description
StakingSummary
GraphQL query to include operator ownership details, enhancing data accuracy.QUERY_STAKING_SUMMARY
to includeoperatorOwner
in the operator details for better data clarity.Changes walkthrough
gql.ts
Update GraphQL StakingSummary Query and Function
explorer/gql/gql.ts
StakingSummary
to includeoperatorOwner
inthe operator details.
StakingSummary
query.graphql.ts
Update GraphQL Type Definitions for Staking Summary
explorer/gql/graphql.ts
StakingSummaryQuery
type definition to reflect changes inthe GraphQL query.
StakingSummary.tsx
Refine Staking Summary Calculations in Wallet Component
explorer/src/components/WalletSideKick/StakingSummary.tsx
totalNominatedCount
to exclude operators.totalNominatedStake
calculation to filter out nominations fromthe user's own operator.
query.ts
Enhance GraphQL Query for Staking Summary
explorer/src/components/WalletSideKick/query.ts
operatorOwner
to the operator details in theQUERY_STAKING_SUMMARY
GraphQL query.