feat(mobile): bring GitLab and Bitbucket pull request review to GitHub parity (stack 24/30) - #6016
Conversation
…and-bitb-3792/uxs2)
| // absent at once (spot check e7). Drop them here, where the provider | ||
| // shape is read, so the tab's empty check sees the truth. | ||
| threads: page.threads | ||
| .filter(thread => thread.comments.length > 0) |
There was a problem hiding this comment.
WARNING: Empty GitLab discussion pages still keep nextCursor, so later human comments can become unreachable
Filtering comments.length === 0 can yield threads: [] while nextCursor still reflects the raw GitLab page of 50 discussions. selectDiscussionTabView then treats that as terminal empty and never mounts the list/fetchNextPage. A first page of system-only notes (pushes, labels, assignments) will hide real comments on later pages.
Keep fetching while nextCursor is set, or compact empty pages before the empty check.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (10 files)
Fix these issues in Kilo Cloud Reviewed by grok-4.6 · Input: 175.1K · Output: 13.4K · Cached: 321.2K Review guidance: REVIEW.md from base branch |
Level 24 of the
bring-mobile-gitlab-and-bitb-3792stack.PR stack (merge bottom to top)
kwf/bring-mobile-gitlab-and-bitb-3792-l1)kwf/bring-mobile-gitlab-and-bitb-3792-l2kwf/bring-mobile-gitlab-and-bitb-3792-l3kwf/bring-mobile-gitlab-and-bitb-3792-l4kwf/bring-mobile-gitlab-and-bitb-3792-l5)kwf/bring-mobile-gitlab-and-bitb-3792-l6)kwf/bring-mobile-gitlab-and-bitb-3792-l7kwf/bring-mobile-gitlab-and-bitb-3792-l8kwf/bring-mobile-gitlab-and-bitb-3792-l9kwf/bring-mobile-gitlab-and-bitb-3792-l10)kwf/bring-mobile-gitlab-and-bitb-3792-l11)kwf/bring-mobile-gitlab-and-bitb-3792-l12kwf/bring-mobile-gitlab-and-bitb-3792-l13)kwf/bring-mobile-gitlab-and-bitb-3792-l14kwf/bring-mobile-gitlab-and-bitb-3792-l15)kwf/bring-mobile-gitlab-and-bitb-3792-l16)kwf/bring-mobile-gitlab-and-bitb-3792-l17kwf/bring-mobile-gitlab-and-bitb-3792-l18kwf/bring-mobile-gitlab-and-bitb-3792-l19)kwf/bring-mobile-gitlab-and-bitb-3792-l20kwf/bring-mobile-gitlab-and-bitb-3792-l21kwf/bring-mobile-gitlab-and-bitb-3792-l23)kwf/bring-mobile-gitlab-and-bitb-3792-l24) ← this PRkwf/bring-mobile-gitlab-and-bitb-3792-l25)kwf/bring-mobile-gitlab-and-bitb-3792-l26)kwf/bring-mobile-gitlab-and-bitb-3792-l27)kwf/bring-mobile-gitlab-and-bitb-3792-l28)kwf/bring-mobile-gitlab-and-bitb-3792-l29kwf/bring-mobile-gitlab-and-bitb-3792-l30)