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

Support "active links" in terminal output for server URLs #1171

Closed
2 tasks
thescientist13 opened this issue Oct 18, 2023 Discussed in #1169 · 0 comments · Fixed by #1173 or #1120
Closed
2 tasks

Support "active links" in terminal output for server URLs #1171

thescientist13 opened this issue Oct 18, 2023 Discussed in #1169 · 0 comments · Fixed by #1173 or #1120
Assignees
Labels
alpha.6 CLI enhancement Improve something existing (e.g. no docs, new APIs, etc) v0.29.0
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Oct 18, 2023

Discussed in #1169

Originally posted by DevLab2425 October 17, 2023

Summary

Currently when running a dev or prod server locally in Greenwood, the terminal will display something like

Started dev server at localhost:1984

But, if we append http:// to that, e.g.

Started dev server at http://localhost:1984

The log output will allow CLI and IDE users (at least VS Code) to open the URL directly from the terminal window, rather
than have the IDE (again, VS Code) attempt to locate the string as a local file path. See the screenshots below for a demo.

master...DevLab2425:greenwood:ShowAndTell/active-local-serve-link

Without protocol - IDE opens file browser input
Screen Shot 2023-10-17 at 16 21 55

With protocol - browser opens URL
Screen Shot 2023-10-17 at 16 22 18

Details

Would want to apply this to our

  1. Dev Server
  2. Prod Server
@thescientist13 thescientist13 added enhancement Improve something existing (e.g. no docs, new APIs, etc) CLI v0.29.0 labels Oct 18, 2023
@thescientist13 thescientist13 added this to the 1.0 milestone Oct 18, 2023
@thescientist13 thescientist13 changed the title Support "active links" in local server URLs during local development Support "active links" in terminal output for server URLs Oct 18, 2023
@thescientist13 thescientist13 mentioned this issue Oct 26, 2023
25 tasks
@thescientist13 thescientist13 linked a pull request Oct 26, 2023 that will close this issue
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha.6 CLI enhancement Improve something existing (e.g. no docs, new APIs, etc) v0.29.0
Projects
2 participants