feat: add "mutuals" and "follow back" to follow button text#804
feat: add "mutuals" and "follow back" to follow button text#804ThatOneCalculator wants to merge 5 commits into
Conversation
Summary of ChangesHello @ThatOneCalculator, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a significant enhancement to the social interaction UI by providing more descriptive text for the follow button on profile pages. The update allows users to quickly discern if they have a mutual following relationship or if they are being followed back by a profile, moving beyond the generic 'Follow' or 'Following' states. This improves clarity and user engagement on the platform. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds new states 'Mutuals' and 'Follow Back' to the follow button. The changes involve adding new string resources and updating the logic in ProfileViewerState.kt to display the correct button text based on the follow status. My review includes suggestions to improve maintainability by centralizing duplicated strings, and to enhance code readability in Kotlin by using a when expression and wildcard imports.
|
How do you feel about some alliteration? "Following", "Follow", "Follow back" or "Friends"? You're right that there should be some verbiage about mutual following. |
|
There's also that "Follows you" text underneath that becomes redundant when following is mutual though |
So this would only be changing "mutuals"? I think that it should stay as mutuals, given that's very common verbage on Bluesky and other social media platforms, and there may be a world in which Bluesky adds a proper friends system for DMs or something else later.
To be honest, I never even noticed that until after making this PR. It's not very visible since there's no contrast to the text, I agree that it should be remove. |
|
SG, there's a design opportunity here. The "Follows you" shows if you don't reciprocate the follow, so it doesn't go away wholesale. If the text does switch to "Mutuals", some design element should link the two texts. One sticking point is "mutuals" is not a verb, and neither is "friends" so "friends" is definitely not making it. "follow" and "following" are verbs and that matters from a UI/UX POV. Maybe "follows you" becomes a handshake emoji, or maybe you get an animation for the two fusing to add some charm. I'll think it over some. You could also leave the button as is so the verbs don't change, but "follows you" becomes "mutuals" with an emoji, or other design trinket. |
Uh oh!
There was an error while loading. Please reload this page.