Repository navigation
feat: say you are typing in Remotes from the API - #658
Merged
xHeaven merged 8 commits intoOct 22, 2026
Merged
Conversation
simonhamp
marked this pull request as ready for review
October 20, 2026 00:16
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.
Lets the mobile app say the user is typing in Remotes, the way the web's composer pings while it has text. It's one of a few small PRs that bring Remotes to the app (NativePHP/dev-null-app) on top of the signed API from #130. It stands alone against production. The other side,
partner_typingand an org'styping, comes with the threads in #654.Endpoints
Signed,
204, through the web'sconversationslimiter.PUT /api/v1/remotes/@{username}/typingPUT /api/v1/remotes/orgs/{id}/typingThe controllers and form requests are copies of the web's, and they use the web's
UpdateConversationTyping, so nothing is stored beyond the 5-second cache key, and the key goes as soon as the user's message arrives. Telling someone the user hasn't talked to yet does nothing. It's a404while the user has Remotes off, across a block, and for an org they aren't in.Worth knowing
The app pings at most every 3 seconds while its composer has text, like the web. That's about 20 requests a minute while typing, well inside the API's 120.
Testing
Everything CI runs passes on this branch locally: Pint, Rector, the JS lint, PHPStan, tsc, type coverage, the JS unit tests, and all 3,232 PHP tests at 100% coverage.