When a share URL is generated with displayName=1, it means that the username displayed should be Github's name and not the username. But when we copy the generated link in a new tab, even if the displayName=1, we are still showing the username which is wrong
Solution
On the share page, along with size and theme, I have added displayName as it was missing.
In the URL generation, we are using size, theme, and displayName
Use case validated
By default, the username should be shown
When the URL parameter has displayName=1, we need to display the name
Issue
Share URL parameter
displayName
not being honoredType
Bug
Description
When a share URL is generated with
displayName=1
, it means that the username displayed should be Github's name and not the username. But when we copy the generated link in a new tab, even if thedisplayName=1
, we are still showing the username which is wrongSolution
On the share page, along with
size
andtheme
, I have addeddisplayName
as it was missing. In the URL generation, we are usingsize
,theme
, anddisplayName
Use case validated
displayName=1
, we need to display the nameScreenshots
Issue
Fix