Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove version number from links leading to Thunderstore website #1140

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

anttimaki
Copy link
Collaborator

Newer communities have a different URL structure for showing a specific version of a package than the older communities that use subdomains. Installed mods tried to link to a specific version, but the links were broken for the new communities, which confused users.

Always link to the non version specific page as a quick fix. A proper fix would require backend changes and/or an actual spec. One could sniff the base URL to determine how to link to a specific version, but this would be prone to break if the URL structure change again (e.g. once the new Thunderstore website is launched).

Since the button doesn't lead to the actual installed version anymore, use "website" as the label instead of the version number. This is in line with how the non-installed mods currently link to the website.

Since the version number needs to be shown somewhere, show it on the package title row instead.

Newer communities have a different URL structure for showing a specific
version of a package than the older communities that use subdomains.
Installed mods tried to link to a specific version, but the links were
broken for the new communities, which confused users.

Always link to the non version specific page as a quick fix. A proper
fix would require backend changes and/or an actual spec. One could
sniff the base URL to determine how to link to a specific version, but
this would be prone to break if the URL structure change again (e.g.
once the new Thunderstore website is launched).

Since the button doesn't lead to the actual installed version anymore,
use "website" as the label instead of the version number. This is in
line with how the non-installed mods currently link to the website.

Since the version number needs to be shown somewhere, show it on the
package title row instead.
@anttimaki
Copy link
Collaborator Author

image

@MythicManiac MythicManiac merged commit 23980e7 into develop Jan 3, 2024
4 checks passed
@MythicManiac MythicManiac deleted the remove-version-from-website-url branch January 3, 2024 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants