-
Notifications
You must be signed in to change notification settings - Fork 338
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
Distinguish "Creator" badge on comments #1623
Distinguish "Creator" badge on comments #1623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will wait for other feedback before merging. Is the translation for OP merged already?
Nope, but I'll open a PR! |
We’ll also need to make sure the OP/creator badge appears on mobile viewport widths, too. |
I merged the translation also, because whatever solution we go with, it could work with tippy. |
…ix/make-post-creator-badge-stand-out-more
@jsit Made your suggested changes! @dessalines Fixed the issue with it not appearing on mobile. It's lowercase in my screenshots because I forgot to pull the submodules. We should be good to go! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the OP badge should be uppercase. It looks like a word and not an acronym when written lowercase.
See my latest comment:
|
{I18NextService.i18n.t("creator")} | ||
</div> | ||
<span | ||
className="badge text-info text-bg-light d-sm-inline me-2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need d-sm-inline
here anymore
I know this isn't the fault of this PR, but it seems weird that we're hiding the other badges on mobile? That seems like really useful/important info. |
I did |
Yeah, now that I think about it – These badges are really critical. We should really address this immediately by removing
Weird. I'll just add a |
…ix/make-post-creator-badge-stand-out-more
@jsit If I show all the role badges on mobile, then it wraps to the next line on comments with all three badges. Thoughts? |
@SleeplessOne1917 @jsit Please see my latest changes to this branch. I refactored the whole thing. 😅 I like the idea of using letters to save space. I say let's do this! @jsit thoughts? |
Pushed yet another refactor. Let me know what you all think! |
Walkthrough video of most recent changes: Untitled.webm |
Hi Lemdevs!
In this PR:
- Use "OP" shorthand label by default
- Add tooltip that says "Creator" upon hover
- Use
.text-info
colorThis is a really important distinguishing badge on comments. I personally dislike the term "Original Poster", acronym "OP", but it has two advantages here: is shorter, takes up less room on row and is very familiar. So with that said, I agree with #1615. Debate on.
Resolves #1615.
Thanks!