Repository navigation
Name the new upstream repo on issues, and send the app's details with them - #160
Merged
Merged
Conversation
… them The badge on an issue draft named nunomaduro/dev-null.sh, which moved to dev-null-sh/dev-null.sh. Opening an issue now sends the details the web sends about its browser: the app and its version, the system and its version, the language and the appearance. devnull puts them in a collapsed Environment table. The badge says so, as the web's does, and wraps rather than cutting that off. Co-Authored-By: Claude Opus 5.5 <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.
Two things changed upstream since the
/featureand/bugcommands came to the app in #22.The upstream repository moved from
nunomaduro/dev-null.shtodev-null-sh/dev-null.sh, so the badge on an issue draft named the old one. It names the new one now.The web also started sending details about the browser and screen with each issue, which devnull puts in a collapsed Environment table so maintainers can reproduce a report. Opening an issue from the app now sends the same field, through a small
IssueEnvironmentclass:browser: "devnull app" and the app's versionos: the system and its version, such as "iOS 27.2"language: the phone's language, such as "en-GB"color_scheme: light or darkIt never sends the phone's name, since the issue is public. Details the phone doesn't give are left out, and each value is cut to the 100 characters devnull accepts, so an odd value can't stop the issue opening. The web's viewport, pixel ratio and page aren't sent, as the app can't read the first two cheaply and the page is always the compose sheet.
The badge now says "crediting you, with your app and device details", as the web's says "with your browser and screen details". The line wraps instead of being cut off after one line, so you can always read what goes with the issue.
environmentonPOST /api/v1/issuescomes with dev-null-sh/dev-null.sh#653. Until that's on production, opening an issue fails as it does today.Tests cover the new repository name, the badge wrapping, the details sent (including that the phone's name isn't) and the cut to 100 characters. All 1,839 tests pass and Pint is clean.
Screenshots
compose
iOS 27.0 simulator (iPhone 17 Pro), signed in to a local API. There are no Android screenshots. I built and installed the app on a fresh emulator, but its sign-in opens Chrome, which asked for Google's terms to be accepted on first run, so I skipped Android rather than accept them on Simon's behalf.
🤖 Generated with Claude Code