Skip to content
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

Don't Show Edit Screen for Other Channels #3470

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

dalhill
Copy link
Contributor

@dalhill dalhill commented Jan 10, 2020

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change

PR Type

What kind of change does this PR introduce?

  • Bugfix

Fixes

Issue Number: #3306

What is the current behavior?

When a user is editing their own channel and clicks on a channel they're subscribed to, it looks like they're editing the channel they don't own. This appears to only happen if the other channel is already "cached" (if user has already clicked on this channel during app execution).

Editing own channel
self-edit-screen

"Editing" other user's channel
editing-other-channel

What is the new behavior?

Once you click on a channel you don't own, you'll be taken out of editing.

Other information

@kcseb mentions the possibility of prompting a user to save or discard their changes. If this is preferred over just navigating to the selected channel (current behavior), I'd be happy to add this.

@neb-b
Copy link

neb-b commented Jan 13, 2020

Thanks for the PR! 🎆

@neb-b neb-b merged commit afda19c into lbryio:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants