dotbot: UX polish - default dashboard, --headless, clearer CLI errors#275
Merged
Conversation
Breaking: the controller/simulator `-w`/`--no-webbrowser` flags are gone; pass `--headless` to suppress the auto-opened dashboard. The browser now opens by default, which is what most first-run users expect. AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #275 +/- ##
==========================================
+ Coverage 82.55% 83.50% +0.94%
==========================================
Files 107 121 +14
Lines 9964 11233 +1269
Branches 570 570
==========================================
+ Hits 8226 9380 +1154
- Misses 1735 1850 +115
Partials 3 3
🚀 New features to boost your workflow:
|
Breaking: the `[run.controller] webbrowser` config key (and the legacy --config-path `webbrowser` key) becomes `headless` with inverted sense - default false opens the browser; set `headless = true` to suppress it. AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
The CLI flag and the [device] config key become --probe / probe; the firmware engine keeps sn_starting_digits internally (it accurately names a J-Link serial-number prefix), so the rename should not propagate into flash.py / nrf.py. AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
AI-assisted: Claude Opus 4.7
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.
A grab-bag of CLI and docs UX fixes found while testing the
dotbotworkflowend to end. Low-risk: mostly docs, plus one behavior change on the controller.
Dashboard on by default
dotbot run controller(andrun simulator) now open the web dashboardautomatically; pass
--headlessto suppress it (it's still served). The oldwebbrowsersetting is renamed toheadlesseverywhere - the flag, theControllerSettingsfield, the[run.controller]config key, and the docs -so the concept has a single name. The
qrdemo keeps its own opt-in--webbrowser(a phone scans the QR there, so no-browser is the right default).Clearer wording and errors
Studio" spelled out instead of "SES".
pip install pydotbotinstead ofpip install --pre pydotbot(no longer apre-release).
./dotbot.tomland~/.dotbot/config.toml).-s/--sn-starting-digitsis the J-Link serial prefix, not the swarm id.This is the exact confusion in Documentation #272 (
flash-mari-gateway -s 10read as aswarm id).
README
The calibration section leads with
pip install 'pydotbot[calibrate]'and howto find a Device Addr from
dotbot swarm status.Closes #272.
Validated: full test suite (403) green, pre-commit clean. The controller
dashboard/headless behavior is worth a quick bench check.