Differentiate between failed thumbnail url and emtpy url images. #1829
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#1829
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-1808"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#1808
Hi, I would need an icon image to be inserted on this issue. Code is ready to be reviewed but I'm missing a second icon, I'm very bad at design, so if anyone can chime in, thanks a lot!
On Failed url:
On Emtpy url:
@NetOperatorWibby, think you can give us a hand?
Thanks for the contribution Dan!
@tzarebczan How do I add images to an existing PR?
@dan1d where is the image pulling from? I don't see it in the PR.
@NetOperatorWibby since this is a community PR, the branch is on his forked repo. I'd assume you can edit there, or just add the thumbnail to this thread.
The image is being pulled from the state variable
thumbnailErrorImage
. Just change the references fromwarning.png
to your image file.@dan1d we'd probably want to define the warning thumbnail the same way, right?
@NetOperatorWibby might just be easier to include a png here (it would be the same size/aspect ratio as the one we provided for the no thumb scenario: https://github.com/lbryio/lbry-desktop/pull/1755/files
This should work.
Looks good!
Above could probably be done in pure CSS. More importantly, it should probably be the error color.
+1 for error color but I went with image since the other message is also an image. Is there a unified icon set? It would make sense to take the CSS approach then.
Used the error color found here.
Waiting on image updates
Image updated to red bg, but should we add them with CSS then ?
@dan1d CSS is ideal but we'd need to have an SVG or glyphs for that. I don't think we're in the right place to do this at the moment, I'll need to sync with @seanyesmunt