HomePageRecentlyVisited is a nice component displaying the last few visited pages. However, we have multiple subpages for most component pages, and we would like to be able to count these as visits to the same page, or not count some pages as visits at all.
Example screenshot:
These are links to different subpages on the same entity.
🎤 Context
As it is now, this component is not very useful for us as it is filled with duplicates for everyone (duplicates in the meaning that they point to the same entity, but different subpages).
✌️ Possible Implementation
I would suggest to add a method for transforming the pathname in VisitListener so that we can control which paths are registered to VisitsApi.
👀 Have you spent some time to check if this feature request has been raised before?
🔖 Feature description
HomePageRecentlyVisited
is a nice component displaying the last few visited pages. However, we have multiple subpages for most component pages, and we would like to be able to count these as visits to the same page, or not count some pages as visits at all.Example screenshot:![recently-visited-duplicates](https://github.com/backstage/backstage/assets/83230533/367cd3be-d674-4b9b-b361-3e28509b4cbe)
These are links to different subpages on the same entity.
🎤 Context
As it is now, this component is not very useful for us as it is filled with duplicates for everyone (duplicates in the meaning that they point to the same entity, but different subpages).
✌️ Possible Implementation
I would suggest to add a method for transforming the
pathname
in VisitListener so that we can control which paths are registered toVisitsApi
.👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!