Allow navigating to user instance from post sheet #1511
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Currently when you long-press a post, you can perform actions on the instance of the post/community, but not the user. (You can perform actions related to the instance of the user from a comment.) This PR improves the instance sub-menu in the post bottom sheet to provide actions related to both the post/community and the user. If they are on the same instance, only one set of actions is shown.
I also made a small tweak to only show the post metadata chips (i.e., the post language) on the main page of the sheet.
qemu-system-x86_64_gaL4jfRpns.mp4