Use image preview to display the cover image recently uploaded. #7647
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#7647
Loading…
Reference in a new issue
No description provided.
Delete branch "7159-channel-cover-image-upload-bug-submit-button-grayed-out-when-it-shouldnt-be"
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?
Fixes
Issue Number: https://github.com/lbryio/lbry-desktop/issues/7159
What is the current behavior?
When the image gets uploaded, it doesn't mean the image
is immediately available to be displayed (that's how the
upload image service seems to work) If we try to display
the image before it's ready, the image will result in
an error that locks the submit button.
What is the new behavior?
When the image gets uploaded, instead of waiting for the
upload image service, we just display a local preview using
base 64. This way, the preview becomes available much faster
and the error no longer occurs.
Other information
PR Checklist
Toggle...
What kind of change does this PR introduce?
Please check all that apply to this PR using "x":
I wasn't able to see any kind of preview on the second or third channel publishes testing this branch. However, I was unable to repro the problem on master.
Did it repro for you?
Yes @jessopb, if you upload and then try the URL right away, you may encounter the error described in the ticket. After that, since the image will fail, the error appears.
Did you test a second channel publish while first was pending?
@Ruk33 What I did was publish a channel with a cover image. Then I scrolled to the pending channels (at the bottom :( ). I navigated to the pending channel, there was a cover image.
Then I published a second channel with a different cover image.
The second channel's cover image was blank while pending.