feat(mobile,features): say a pull request's unresolved conversations beside its merge sentence
Merged
DA
4d ago+27+27+01234567890123456789-1-1-0123456789
What
Borrowed from Conductor: the iOS pull request head now ends GitHub's merge sentence with how many review threads still stand unresolved. A branch that requires conversations resolved holds the merge for them, so the reader sees why before scrolling to the conversation.
unresolvedThreadCount(conversation)andunresolvedWords(count)are new in@repo/features/pull-request-model. The count covers only the threads the conversation's read carries.- The head's sentence becomes, for example, "Changes were requested, so it can't be merged yet · 1 unresolved conversation". The extra part shows only while the pull request is live and at least one thread is unresolved.
pull-request.yamlasserts it on the failing fixture PR (#127), whose review thread from #10556 is unresolved.
Stacked on #10556.
Checks
turbo run typecheck --filter=@repo/mobilepasses, and biome is clean.- No test was added: the count is a filter over the threads, and the flow's assertion covers the sentence.
- JS-only, so the frames come with the Mac queue's
pull-requestlane.
🤖 Generated with Claude Code
Summary by CodeRabbit
- New Features
- Pull request screens now show the number of unresolved review conversations alongside the merge status when unresolved conversations are present. The count uses singular or plural wording as appropriate, and is omitted when there are none or conversation details are unavailable.
- Tests
- Added a check that a pull request with changes requested displays one unresolved conversation.