-
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
chore: Remove the setTimeout from DenomImage #360
Conversation
There is no point on waiting a second to give an illusion. Images are ready almost instantly and the user does not even see the loading skeleton most of the time. This might also improve CI performance and fix the current failure.
WalkthroughThe changes simplify the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant DI as DenomImage
participant I as Image Renderer
participant A as Avatar Renderer
U->>DI: Pass denom object with uri
DI->>DI: Check if denom.uri exists
alt Valid URI
DI->>I: Render image with loading styles
else Invalid URI
DI->>A: Render fallback avatar
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 #360 +/- ##
==========================================
+ Coverage 55.18% 56.17% +0.98%
==========================================
Files 225 228 +3
Lines 16508 16530 +22
==========================================
+ Hits 9110 9285 +175
+ Misses 7398 7245 -153 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
ACK
There is no point on waiting a second to give an illusion. Images are ready almost instantly and the user does not even see the loading skeleton most of the time.
This might also improve CI performance and fix the current failure.
Summary by CodeRabbit