Repository navigation
When a handle isn't on /dev/null yet (404), say that instead of failing - #185
Merged
Merged
Conversation
Tapping someone on GitHub who hasn't joined, such as a mention of @karpathy, hands their handle from the profile screen to the organization screen (NativePHP#152). devnull has nothing by that handle, so the organization screen said "This organization's page didn't load here." That was wrong on both counts: they're not an organization, and nothing failed to load. A 404 for a handle with nothing on screen now says "@karpathy isn't on /dev/null yet." and offers "Follow them on the web for when they join", which opens their page on dev-null.sh. This also fixes "Open it on dev/null" to read "Open it on /dev/null" (added the leading slash to the app name). Fixes NativePHP#156.
Contributor
Author
|
FYI @simonhamp |
Member
|
Nice one! |
cmcmanus96
added a commit
to cmcmanus96/dev-null-app
that referenced
this pull request
Nov 20, 2026
…o duo-adaptive-layouts Upstream moved nativephp/mobile and nativephp/mobile-ui to dev-main (NativePHP#171). The lock is upstream's, with composer-patches and the adaptive-layout path package added back by a targeted update. adaptive-layout now also accepts mobile-ui dev-main, which has no branch alias, so it no longer conflicts with the root requirement.
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.
Fixes #156.
Tapping on the mention of someone that is on GitHub but isn't on /dev/null yet, such as a mention of karpathy, opened their profile. Since #152, a profile devnull has no member for passes the handle over to the organization screen instead. That screen then displayed an error: "
This organization's page didn't load here.", which is wrong:The organization screen now treats a 404 for a handle better than it did before.
For example, it says "
@karpathy isn't on /dev/null yet." and offers "Follow them on the web for when they join", which opens their page on dev-null.sh, where you can follow them even if they're not on /dev/null yet and as soon as they actually join you'll start following them automatically.This PR also fixes the link "Open it on dev/null" to read "Open it on /dev/null" (added leading slash), which appears on a page or tab that didn't load correctly (when there's a genuine error).
Screenshots
Profile
Notice how the user account (which 404's due to not being on /dev/null yet) is falsely reported as an organization. It is also showing an error message "didn't load here", when that is to be expected since it doesn't exist yet.
This has been changed:
Before & After screenshots are below: