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

Replaces URL to match selected version and specification #57

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

simonbs
Copy link
Contributor

@simonbs simonbs commented Oct 24, 2023

This PR fixes an issue where we would no longer force the user to be on a URL that includes both the project, version, and specification.

We would do that in most cases but not when users navigated directly to a repository, for example by entering https://docs.shapetools.io/foo in their URL. Now we will redirect the user to https://docs.shapetools.io/foo/main/openapi.yml or similar.

# Conflicts:
#	__test__/projects/projectNavigator.test.ts
#	src/features/projects/view/client/ProjectsPage.tsx
@simonbs simonbs self-assigned this Oct 24, 2023
@simonbs simonbs merged commit 6a7b77e into develop Oct 24, 2023
@simonbs simonbs deleted the bugfix/navigate-to-current branch October 24, 2023 16:23
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.

1 participant