-
-
Notifications
You must be signed in to change notification settings - Fork 32
feat(cli): Add --open flag to auto-open Spotlight dashboard #1200
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
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a88ab48 to
e68c645
Compare
e68c645 to
6616235
Compare
betegon
approved these changes
Dec 10, 2025
Member
betegon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok this is so good to have.
i've used it with spotlight run --open docker compose build 🔥
6616235 to
6dabc42
Compare
Add a new `--open` / `-o` CLI flag that automatically opens the Spotlight web dashboard in the user's default browser when starting the sidecar server. Implementation: - Add `openInBrowser` utility using platform-specific commands (macOS: open, Windows: cmd /c start, Linux: xdg-open) - Add `--open` / `-o` boolean flag to CLI argument parsing - Update help text with new flag documentation - Implement browser opening in both `server` and `run` commands - Add E2E tests for the new flag Closes #1192
6dabc42 to
ad5b8a3
Compare
BYK
pushed a commit
that referenced
this pull request
Dec 13, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @spotlightjs/[email protected] ### Minor Changes - Add `--open` / `-o` CLI flag to automatically open the Spotlight dashboard in your default browser when starting the sidecar ([#1200](#1200)) ### Patch Changes - Fixed flamechart tree building to iterate from root to leaf frames, resolving fragmented visualization ([#1201](#1201)) - shifted electron dependencies to dev dependencies as there were getting installed with npx for spotlight run ([#1184](#1184)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Add a new
--open/-oCLI flag that automatically opens the Spotlightweb dashboard in the user's default browser when starting the sidecar server.
Implementation:
openInBrowserutility using platform-specific commands(macOS: open, Windows: cmd /c start, Linux: xdg-open)
--open/-oboolean flag to CLI argument parsingserverandruncommandsCloses #1192