Skip to content

Enable "Link to Publisher" for a given Trusted Publisher tabΒ #18912

@miketheman

Description

@miketheman

When navigating to the different horizontal tabs for a given publisher, it's useful to be able to share the URL with someone else.
Currently there's no way to share a URL that will open on the specific publisher.

One idea is to update the JavaScript to change the URL when the tab changes, similar to how the project_tabs_controller does it, and thus be able to share the URL and have it activate the selected publisher tab.

Refs: https://github.com/pypi/warehouse/blob/36a581985da26cbff4274b7b96deff95fb327a5f/warehouse/static/js/warehouse/controllers/horizontal_tabs_controller.js
Refs: https://github.com/pypi/warehouse/blob/f59df186dc62274b5831a72f639a1e92bbe3f94c/warehouse/static/js/warehouse/controllers/project_tabs_controller.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions