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

Fix repo name used for URL instead of baseUrl #572

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

MajorTanya
Copy link
Contributor

@MajorTanya MajorTanya commented Mar 23, 2024

This applies to both the item being shown in the screen as well as the “copy to clipboard” button. Before, copying a repo URL would return “The Repo Name/index.json.min”. This PR fixes that.

Edit: I misunderstood the original intent, now the whole ExtensionRepo is passed to the item display, which uses the name for displaying and the baseUrl for copying the URL.

This applies to both the item being shown in the screen as well as the
"copy to clipboard" button. Before, copying a repo url would return
"The Repo Name/index.json.min". This PR fixes that.
Passing the whole ExtensionRepo data class through now, using the name
for display purposes and the baseUrl for copying the URL.
@AntsyLich AntsyLich merged commit da20d00 into mihonapp:main Mar 23, 2024
1 check passed
@MajorTanya MajorTanya deleted the fix-repo-name-instead-of-url branch March 23, 2024 19:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants