Open Sushubh opened 5 years ago
Also requested in https://mstdn.social/@pburke46/109527241700290078 (which is about easily following the people who are following you, but it should also be possible to do this from viewing any account).
I'll start implementing this.
@nikclayton can we merge https://github.com/tuskyapp/Tusky/pull/3202 and convert the accountlists to paging before adding new functionality? Should make things easier than in any other order
Sure.
I had a play around with possible UI, and put an example at https://www.youtube.com/shorts/zH5H1krKQyc
There's a few things that definitely need work:
The existing follow/unfollow icons are extremely similar. They could be differentiated by colour, but I'd like something more accessible than that. I note that Material Icons uses a minus sign for the remove symbol, and places it on the other side of the icon (https://fonts.google.com/icons?icon.query=person+add&icon.style=Filled&icon.set=Material+Icons&icon.platform=web and https://fonts.google.com/icons?icon.query=person+remove&icon.style=Filled&icon.set=Material+Icons&icon.platform=web). We should probably do that.
I quite like the SparkButton effect, but then you can't apply normal button styles to give it a stroke (e.g., compare this with the accountSubscribeButton
in activity_account.xml
)
Similarly, there's no support for icon tinting in SparkButton (I could fix both of those if you're accepting PRs for SparkButton, in this test I had to use reflection to get the drawable in the imageview and tint that by hand).
Web UI lets you follow/unfollow users from follow/following sections on any user profile. Tusky seems to be missing that option.
Tusky Version: 9.1
Android Version: 10
Android Device: Pixel 2
Mastodon instance (if applicable): mastodon.social
[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.