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: make urls relative before calling Sbrowse #19

Merged
merged 2 commits into from
Sep 17, 2024
Merged

fix: make urls relative before calling Sbrowse #19

merged 2 commits into from
Sep 17, 2024

Conversation

AdeAttwood
Copy link
Owner

@AdeAttwood AdeAttwood commented Sep 17, 2024

Summary:

When you are in a buffer that has a absolute path as its name. When calling
Sbrowse it will use that hole path in the url. This is obviously incorrect.

Now we are making sure we get the relative path before we create the url so we
don't end up going to a 404.

Test Plan:

CI, unit tests. I have also had the change locally for quite some time.

Stack created with Sapling. Best reviewed with ReviewStack.

Summary:

Now you can use the `Slog` command with no arguments and it will use the rev
`bottom:top` to focus the log to your current stack.

Test Plan:

CI, unit tests.
Summary:

When you are in a buffer that has a absolute path as its name. When calling
Sbrowse it will use that hole path in the url. This is obviously incorrect.

Now we are making sure we get the relative path before we create the url so we
don't end up going to a 404.

Test Plan:

CI, unit tests. I have also had the change locally for quite some time.
@AdeAttwood AdeAttwood merged commit 3a9dabd into 0.x Sep 17, 2024
8 checks passed
@AdeAttwood AdeAttwood deleted the pr19 branch September 17, 2024 19:48
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