-
Notifications
You must be signed in to change notification settings - Fork 68
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 moderator actions and post action bottom sheet redesign #1567
Conversation
…for user actions, general code cleanup
9671621
to
b7e109a
Compare
Issues present after testing:
Note: I've opted to keep remove the ability to set the "expiry" date on banned users because I was not able to get the automatic unban to work (need to dig further to see how the automatic unban feature works for Lemmy) |
As this is a relatively large change, I'll be merging this in to allow some time for internal/dev testing. Let me know if you notice any issues! @micahmo 😄 |
Looks great just from the screenshots! 😊 I'll definitely take some time to play around with it. I might also have to fix some conflicts in some my pending PRs. 😊 |
Thanks! I also wanted to say sorry for the delay in reviewing the other PRs, I'll definitely try to speed those up to reduce further conflicts if possible! |
No problem at all, I know things have been busy! I've slowed down my contributions as well so as to not overwhelm you. I know reviewing can be one of the most tedious parts of managing an open source project. If/when some of those other PRs get cleaned up, I'd be happy to jump back in and continue contributing! Especially as a new version of Lemmy is coming down the pipe. 😊 |
@hjiangsu I've noticed a couple things so far.
qemu-system-x86_64_MtJRSzDNrq.mp4 |
Thanks for mentioning these issues!
This was an intentional change - the intent being matching the behaviour of how app bars "back" buttons work. I do plan to overhaul the comments bottom sheet as well to match up with the behaviour of the post bottom sheet. All that being said, I am open to reverting this behaviour back to the old behaviour if its undesired!
I can try to reduce the boldness of the action items to be less jarring - I mainly wanted a visual separation of the main action and the subtitles. As I mentioned above, I do plan to change the comment bottom sheet to match up visually with the new changes introduced here!
Oops, that missed my testing, nice catch! 😅 |
I'm good with whatever direction you want to head; just keep in mind that all other bottom sheets throughout the app will need to be updated, not just comments. I'm not sure if you created new widgets for the action items, but I think existing sheets use |
Pull Request Description
This PR adds new moderator actions to the post bottom sheet. Additionally, I've also redesigned the post bottom sheet to be more intuitive, and moved the existing moderator actions into their corresponding categories.
Note: to scope down the changes in this PR, no admin-related actions will be implemented. There are stubs for admin related actions, but they will be commented out in the meantime.
Here is a high level overview of the changes:
The available actions will change depending on the status of the user. The following section will list out all the available actions that are enabled based on the authentication/user status:
General
Post
User
Community
Instance
Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
Checklist
semanticLabel
s where applicable for accessibility?