Bug: Two mentions with the same name but different domains only show the profile of one of the accounts
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 186
- Avg merge
- 1d 36m
- Merged PRs (30d)
- 11
Description
**Describe the bug**
Using phanpy.social
If a post has two mentions which have the same name before the domain, it will only open the account details of one. The other one will show the correct account on hover, but when clicked opens the other account.
**To Reproduce**
An example post: https://s.thenautilus.net/notes/9qkyg8pwtb
The mentions at the end of the post: @bookstodon@fedigroups.social @bookstodon@a.gup.pe
Mouse over shows their correct web address in the browser bar. Clicking either only opens the profile for @bookstodon@a.gup.pe
**Expected behavior**
It should show the profile of whichever account you click
**Screenshots**
Both got to the same profile

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the problem with the example post at s.thenautilus.net/notes/9qkyg8pwtb and inspect how its two mentions are rendered and handled when clicked. Verify that @bookstodon@fedigroups.social and @bookstodon@a.gup.pe retain distinct destinations; done means each mention opens its own account profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100