-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix pending validator icon #236
Conversation
WalkthroughThis change refactors the conditional rendering logic in the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant M as ValidatorDetailsModal
participant F as ProfileAvatar (Fallback)
U->>M: Open modal
alt Validator has logo_url
M->>M: Render validator logo
else
M->>F: Render ProfileAvatar
end
U->>M: Click update button
M->>M: Execute handleUpdate(current power)
M-->>U: Process update
Possibly related PRs
Suggested reviewers
Poem
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #236 +/- ##
=======================================
Coverage 55.06% 55.07%
=======================================
Files 199 199
Lines 16761 16762 +1
=======================================
+ Hits 9230 9231 +1
Misses 7531 7531 ☔ View full report in Codecov by Sentry. |
utACK |
This PR fixes an issue where pending validators who do not have a logo_uri do not properly display the stock generated avatar. #223
If you'd like to test this pr locally without submitting a validator creation request add
In the pending data for the
ValidatorList
Summary by CodeRabbit