cheeaun / cheeaun/phanpy

Bug: Two mentions with the same name but different domains only show the profile of one of the accounts

Open
#448 0 comments 0 reactions 0 assignees View on GitHub
bug in progress
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
![Screenshot_20240307_163337](https://github.com/cheeaun/phanpy/assets/5741412/9d78cbac-9c82-4311-882f-0221eab66318)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.