Skip to content

When a handle isn't on /dev/null yet (404), say that instead of failing - #185

Merged
simonhamp merged 1 commit into
NativePHP:mainfrom
shanesmithdev:fix-non-member-profile
Nov 19, 2026
Merged

simonhamp merged 1 commit into
NativePHP:mainfrom
shanesmithdev:fix-non-member-profile

Conversation

@shanesmithdev

@shanesmithdev shanesmithdev commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • they're neither a /dev/null user nor an organization yet
  • nothing failed to load (there was nothing to be loaded)

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:

  • More neutral language is now being used that applies equally to both users and organizations
  • The link to the web now references the dev-null.sh feature that lets you to follow a profile before they join

Before & After screenshots are below:

iOS light iOS dark Android light Android dark
Before
After

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.
@shanesmithdev

Copy link
Copy Markdown
Contributor Author

FYI @simonhamp

@simonhamp

Copy link
Copy Markdown
Member

Nice one!

@simonhamp
simonhamp merged commit 1ec175b into NativePHP:main Nov 19, 2026
8 checks passed
@shanesmithdev
shanesmithdev deleted the fix-non-member-profile branch November 19, 2026 18:23
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internals are exposed

2 participants