feat(cli): add custom dashboard port option#357
Merged
jamescmartinez merged 3 commits intoopenworkflowdev:mainfrom Mar 4, 2026
Merged
feat(cli): add custom dashboard port option#357jamescmartinez merged 3 commits intoopenworkflowdev:mainfrom
jamescmartinez merged 3 commits intoopenworkflowdev:mainfrom
Conversation
Contributor
Author
|
I see that the checks have fallen, Im going to fix them within a day |
Contributor
jamescmartinez
left a comment
There was a problem hiding this comment.
thanks for the PR! I added two suggestions. Once CI passes I'll do another review and merge it.
packages/docs/docs/cli.mdx
Outdated
| </CodeGroup> | ||
|
|
||
| This launches the OpenWorkflow dashboard on `http://localhost:3000`. See | ||
| Use `--port` to run the dashboard on a custom port: |
Contributor
There was a problem hiding this comment.
Suggested change
| Use `--port` to run the dashboard on a custom port: | |
| The dashboard starts on `http://localhost:3000` by default. | |
| To use a custom port: |
packages/docs/docs/cli.mdx
Outdated
Comment on lines
144
to
146
| Without `--port`, this launches the OpenWorkflow dashboard on | ||
| `http://localhost:3000`. See | ||
| [Dashboard](/docs/dashboard) for details. |
Contributor
There was a problem hiding this comment.
Suggested change
| Without `--port`, this launches the OpenWorkflow dashboard on | |
| `http://localhost:3000`. See | |
| [Dashboard](/docs/dashboard) for details. | |
| See [Dashboard](/docs/dashboard) for details. |
Contributor
Author
|
@jamescmartinez Everything should be OK now |
commit: |
Contributor
|
thanks, merged! |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #356
Changes
.changesetfile documenting the changecli.tsto add the-p, --port <number>option to the dashboard commandcommands.tsto:getDashboardSpawnOptions()validateDashboardPort()for port validationdashboard()to use the new functions and acceptDashboardOptionscli.mdxanddashboard.mdx