feat: added ability to copy logs in android#255
Merged
therealaleph merged 1 commit intotherealaleph:mainfrom Apr 26, 2026
Merged
feat: added ability to copy logs in android#255therealaleph merged 1 commit intotherealaleph:mainfrom
therealaleph merged 1 commit intotherealaleph:mainfrom
Conversation
therealaleph
added a commit
that referenced
this pull request
Apr 26, 2026
- #245 (@Parsa307): match twitter.com in X.com URL normalization - #255 (@dazzling-no-more): copy-logs button + selectable log lines on Android - #257 (@dazzling-no-more): bulk paste of multiple deployment IDs on Android - #256 (@dazzling-no-more): plain HTTP proxy passthrough in google_only mode (used to return 502; now falls through to direct TCP / upstream_socks5, matching the existing CONNECT behavior) No protocol or wire-format changes; existing config and Apps Script deployments work unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Adds a Copy button to the live log pane on Android and makes the log lines selectable. Until now, getting logs off the device required tethering with
adb logcat— the on-screen text wasn't selectable and there was no copy affordance, so users couldn't share a snippet from the app itself.Changes
\n, writes them to the system clipboard viaLocalClipboardManager, and shows a Toast confirming the copy. Disabled when the buffer is empty so we don't push an empty string onto the clipboard.LazyColumnis wrapped in aSelectionContainer, so users can long-press to grab a partial range. Cross-line selection works within the rendered window — for "copy everything" the new button is the reliable path, which is why both exist."Clear"button label withstringResource(R.string.btn_clear)so the new Copy/Clear pair stay locale-consistent (Persian was already defined forbtn_clear).btn_copyandsnack_logs_copiedin bothvalues/strings.xmlandvalues-fa/strings.xml.Files touched
android/app/src/main/java/com/therealaleph/mhrv/ui/HomeScreen.kt—LiveLogPanebutton + SelectionContainerandroid/app/src/main/res/values/strings.xml,android/app/src/main/res/values-fa/strings.xml— new strings