ubiquity / work.ubq.fi

A user interface for https://github.com/ubiquity/devpool-directory/issues
https://work.ubq.fi
0 stars 17 forks source link

Render Default Image when Avatar Fails to Load #55

Closed jordan-ae closed 3 months ago

jordan-ae commented 3 months ago

When avatars fail to load, I think it should render a default image or something. Right now when default avatars aren't fetched it doesnt display anything. So the user cant log out because the avatar doubles down as logout button.

Screenshot 2024-06-03 192445

0x4007 commented 3 months ago

I've never seen that before. Why not just set a minimum width and height for the avatar image and then set a colored background etc. I suppose #808080 will work for light and dark mode for now. Can be refined later.

jordan-ae commented 3 months ago

/start

ubiquibot[bot] commented 3 months ago

DeadlineMon, Jun 3, 10:25 PM UTC
Registered Wallet 0x2F05fD58023B0a95d1866aa0A3b672cEf05945c5
Tips:
ubiquibot[bot] commented 3 months ago
+ Evaluating results. Please wait...
ubiquity-os-testing[bot] commented 3 months ago

[ 4.633 WXDAI ]

@0x4007
Contributions Overview
View Contribution Count Reward
Issue Comment 1 3.36
Review Comment 1 1.273
Conversation Incentives
Comment Formatting Relevance Reward
I've never seen that before. Why not just set a minimum width an…
4.2
p:
  count: 41
  score: 1
code:
  count: 1
  score: 1
0.8 3.36
Style is to be handled by CSS. Also are you sure it renders at 5…
1.9
p:
  count: 19
  score: 1
0.67 1.273

[ 29 WXDAI ]

@jordan-ae
Contributions Overview
View Contribution Count Reward
Issue Task 1 25
Issue Specification 1 4
Review Comment 1 0
Conversation Incentives
Comment Formatting Relevance Reward
When avatars fail to load, I think it should render a default im…
4
p:
  count: 40
  score: 1
img:
  count: 1
  score: 0
1 4
Resolves #55
0
p:
  count: 2
  score: 1
0.34 -
ubiquibot[bot] commented 3 months ago

[ 5.2 WXDAI ]

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment15.2
Conversation Incentives
CommentFormattingRelevanceReward
I've never seen that before. Why not just set a minimum width an...
5.2
code:
  count: 1
  score: "1"
  words: 1
0.895.2

[ 33.2 WXDAI ]

@jordan-ae
Contributions Overview
ViewContributionCountReward
IssueSpecification18.2
IssueTask125
Conversation Incentives
CommentFormattingRelevanceReward
When avatars fail to load, I think it should render a default im...
8.218.2