Skip to content

Add home News feed selector#158

Merged
malkoG merged 1 commit into
hackers-pub:mainfrom
malkoG:codex/home-feed-selector
May 31, 2026
Merged

Add home News feed selector#158
malkoG merged 1 commit into
hackers-pub:mainfrom
malkoG:codex/home-feed-selector

Conversation

@malkoG
Copy link
Copy Markdown
Collaborator

@malkoG malkoG commented May 31, 2026

Summary

  • Add a Home app bar selector for Timeline and News without adding a new bottom navigation item.
  • Wire News to the new newsStories GraphQL API with a paged Popular/Newest/All-time card feed.
  • Keep the selected Home sub-surface in navigation state and add focused selector tests.

Validation

  • ./gradlew :app:compileDebugKotlin
  • ./gradlew :app:testDebugUnitTest --tests pub.hackers.android.ui.HomeFeedTest --tests pub.hackers.android.ui.components.HomeFeedSelectorTest
  • ./gradlew :app:lintDebug

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 31, 2026

Warning

Review limit reached

@malkoG, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 7 minutes and 41 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 84095f5d-0df8-45e2-8188-92acdfd1eab5

📥 Commits

Reviewing files that changed from the base of the PR and between f344ee2 and d1df32d.

📒 Files selected for processing (15)
  • app/src/main/graphql/pub/hackers/android/operations.graphql
  • app/src/main/graphql/pub/hackers/android/schema.graphqls
  • app/src/main/java/pub/hackers/android/data/paging/CursorPagingSource.kt
  • app/src/main/java/pub/hackers/android/data/repository/HackersPubRepository.kt
  • app/src/main/java/pub/hackers/android/domain/model/Models.kt
  • app/src/main/java/pub/hackers/android/ui/HackersPubApp.kt
  • app/src/main/java/pub/hackers/android/ui/HomeFeed.kt
  • app/src/main/java/pub/hackers/android/ui/components/HomeFeedSelector.kt
  • app/src/main/java/pub/hackers/android/ui/components/LargeTitleHeader.kt
  • app/src/main/java/pub/hackers/android/ui/screens/news/NewsScreen.kt
  • app/src/main/java/pub/hackers/android/ui/screens/news/NewsViewModel.kt
  • app/src/main/java/pub/hackers/android/ui/screens/timeline/TimelineScreen.kt
  • app/src/main/res/values/strings.xml
  • app/src/test/java/pub/hackers/android/ui/HomeFeedTest.kt
  • app/src/test/java/pub/hackers/android/ui/components/HomeFeedSelectorTest.kt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@malkoG malkoG force-pushed the codex/home-feed-selector branch from 7121c30 to 3653448 Compare May 31, 2026 07:18
@malkoG malkoG force-pushed the codex/home-feed-selector branch from 3653448 to d1df32d Compare May 31, 2026 07:24
@malkoG malkoG marked this pull request as ready for review May 31, 2026 07:26
@malkoG malkoG merged commit dcee78d into hackers-pub:main May 31, 2026
1 of 2 checks passed
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.

1 participant