Conversation
Three small improvements that make Studio less mysterious when things
go wrong.
1. enrichError(msg) — when a connection fails, the toast/status now
includes a one-line actionable hint. Today's errors are honest
("iproxy not found") but leave the user to look up the fix; the
enriched output ("Fix: brew install libimobiledevice") closes that
gap. Patterns covered: iproxy/idevicesyslog missing, adb missing,
token timeout/not found, missing PROBE_AGENT define, connection
refused/reset.
2. Status indicator tooltip — the dot + status text now have a title
attribute showing device id, transport (USB / WiFi), and last
error. Hover over the indicator to see what Studio is actually
connected to without taking up toolbar space.
3. Inspector search box — text input in the inspector pane title
scrolls the <pre> to the first line containing the query.
MutationObserver re-anchors the scroll on each live frame from the
device stream, so the matched line doesn't jump back to the top
when the tree refreshes.
Pure frontend change.
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.
Summary
Three small frontend improvements that make Studio less mysterious when things go wrong. v0.7.1 PR 3 of 3.
Changes
1. `enrichError(msg)` — actionable hints in error toasts
Connection error messages today are honest but bare ("iproxy not found"). The new helper appends a one-line fix:
Wired into both `Connect` and `ConnectWiFi` error paths.
2. Status indicator tooltip
The dot + status text now carry a `title` showing device id, transport (USB / WiFi), and last error. Hover to see the full picture without consuming toolbar real estate.
3. Inspector search box
Text input in the inspector pane title scrolls the `