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

Delete the extra “or” that prevents easy cut-and-paste of URLs. #460

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

jasongrout
Copy link
Contributor

Before this PR, the default output of server urls looks like:

Or copy and paste one of these URLs:
    http://localhost:8888/?token=…
 or http://127.0.0.1:8888/?token=…

This makes it easy to triple-click on the first line to copy and paste it into a browser. However, triple-clicking on the second line picks up the extra “or”, so you can’t just copy and paste it into the browser. Instead, you have to explicitly select each character by dragging your mouse, avoiding the “or”.

This change deletes the “or” so you can just triple-click on the second line to copy and paste the url.

Before this PR, the default output of server urls looks like:

    Or copy and paste one of these URLs:
        http://localhost:8888/?token=…
     or http://127.0.0.1:8888/?token=…

This makes it easy to triple-click on the first line to copy and paste it into a browser. However, triple-clicking on the second line picks up the extra “or”, so you can’t just copy and paste it into the browser. Instead, you have to explicitly select each character by dragging your mouse, avoiding the “or”.

This change deletes the “or” so you can just triple-click on the second line to copy and paste the url.
@jasongrout
Copy link
Contributor Author

I've wanted to make this PR for years and years, but it never was quite annoying enough any specific time to actually make the change...

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea - thanks Jason!

@blink1073 blink1073 added this to the 1.6 milestone Mar 26, 2021
@blink1073 blink1073 merged commit 5d207a8 into jupyter-server:master Mar 26, 2021
hMED22 pushed a commit to hMED22/jupyter_server that referenced this pull request Jan 23, 2023
Delete the extra “or” that prevents easy cut-and-paste of URLs.
jonnygrout added a commit to jonnygrout/jupyter_server that referenced this pull request Feb 2, 2023
This change was made in jupyter-server#460, but somehow it was not here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants