-
Notifications
You must be signed in to change notification settings - Fork 83
Mentions: Standardize around only displaying username #1510
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
Conversation
Looking at how Mastodon does things, wouldn't it be best to use the username only, instead of the full account name? e.g. your mention here is displayed as
|
|
Ha, sure! I had a 50:50 shot 😄 |
|
The only downside I can think of is when you're responding to multiple users with the same username, like |
That's a good point. Do you know how Mastodon handles this? Do they detect that use-case? |
Good point. And I see my desktop app (Semaphore) does have a |
|
I think having a title attribute would bridge the gap here!?! |
|
I think this is fine but still: #1510 (review) |
|
Is the comment you linked to not solved? |
|
It looked like, but it seems that it was somehow reverted... maybe because of a merge conflict... or the GitHub UI does not show it properly... I can see only changes in three files and the Mention Class is not one of them 🤔 |
|
Right, that's the change from full account names to only usernames, as requested in that comment. There are no changes necessary in the Mentions class. Let me update the PR description to reflect the change of direction. |
|
But that is what I meant, both implementations produce different HTML and I would love to have it normalized! See the |
Fixed in 43636dd. |
mattwiebe
left a comment
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.
Tests well, nice change 👍🏻
* tag '5.6.1': (47 commits) Release 5.6.1 (Automattic#1542) Fix: Use specified time formatting for Outbox Activities (Automattic#1537) Fix: Default value for empty `movedTo` field (Automattic#1539) Fix: Post Interactions settings (Automattic#1540) Release 5.6.0 (Automattic#1534) lover significance (Automattic#1533) Scheduler: Don't federate Deletes of unfederated posts. (Automattic#1528) Move: use `$from` for object in `Move::externally` (Automattic#1531) Fix: Properly traverse the object hierarchy to get the ID (Automattic#1518) Mentions: Standardize around only displaying username (Automattic#1510) Tests: Reduce chance of time offsets (Automattic#1527) Import: Don't federate new attachments (Automattic#1526) Importer: Format import count number. (Automattic#1525) Move: Add a Mastodon importer (Automattic#1502) Move: use `$from` for object in `Move::internally` (Automattic#1516) Fix: Do not send self-replies (Automattic#1517) Fix: Delete Undone comments instead of trashing them (Automattic#1520) Dispatcher: Adhere to passed batch size. (Automattic#1514) Add interaction settings (Automattic#1395) Fix: Set proper default, to show Welcome screen by default (Automattic#1512) ...


Fixes #1499.
Proposed changes:
Other information:
Testing instructions:
Changelog entry
Changelog Entry Details
Significance
Type
Message
Standardized mentions to use usernames only.