-
Notifications
You must be signed in to change notification settings - Fork 414
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
Additional pop up menu options #6106
Conversation
Notable new changes:-Reverted myActiveClaims -Added some toasts for menu actions: -Muting and Blocking toast will link to the /block_and_mute settings page, which is a way for the action to be undone since the content being muted or blocked disappears from the page: -Switched up what Mute and Block messages display on toast, to clear confusion: -Also changed up redux code a little to separate better Mute from Unmute, and Subscribe from Unsubscribe, like how it already works for Block and Unblock |
Explaining my final solution to claimIsMine:I added a new selector called makeSelectSigningIsMine, which is similar to makeSelectClaimIsMine but instead it returns true when signing_channel is mine, which then solves the issue of not returning true on the search page: And also prevents Reposts from returning true, as your claims, which would show on the menu pop up options like "edit" or "delete", and would break trying to edit or delete the reposted content |
By search page do you mean the lighthouse results? We can fix that by adding the --include_is_my_output parameter to claim searches and resolves. Looks like we don't pass this in a few places that we should (i.e. homepages, top search result). I think that's the better way of doing it so it's consistent with the previous method we use for checking ownership. For claims that are your own, should also hide the mute/block button if it's not muted (allow unmute/unblock if it is). |
Hmm I think so too, that one might be it then
Hide mute/block and show unmute/unblock? why not hide both? can you even mute/block your own claims? |
Looking better - |
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
Issue Number: Closes #5782
What is the current behavior?
What is the new behavior?
On own content:
Other information
just missing playlist stuff for now