Skip to content

feat: implement My Work dashboard layout on home screen - #82

Merged
SayanthRock merged 3 commits into
mainfrom
jules-3856178686510373549-1b560c1e
Aug 2, 2026
Merged

SayanthRock merged 3 commits into
mainfrom
jules-3856178686510373549-1b560c1e

Conversation

@SayanthRock

@SayanthRock SayanthRock commented Aug 2, 2026 •

Copy link
Copy Markdown
Member

User description

Implemented the new "My Work" dashboard layout inside the home screen matching the provided UI layout from the screenshot.

  • Added support for explicitly defining the selected & unselected navigation icons for the BottomNav.
  • Updated gradle/libs.versions.toml to include the androidx.compose.material:material-icons-extended dependency for Compose Material icons.
  • Updated app and feature-home build configurations to include the new dependency.
  • Updated HomeScreen.kt UI with a new LazyColumn presenting the features as visual cards with specific icon, color, and title matching the "My Work" screenshot (Issues, Pull Requests, Discussions, Projects, Top Repositories, Organizations, Starred).
  • Refactored HomeViewModel.kt logic and HomeViewModelTest.kt unit tests to support the new item list.

PR created automatically by Jules for task 3856178686510373549 started by @SayanthRock


CodeAnt-AI Description

Replace the home dashboard with a My Work hub for key GitHub areas

What Changed

  • The home screen now shows a “My Work” list with color-coded entries for Issues, Pull Requests, Discussions, Projects, Top Repositories, Organizations, and Starred items
  • Selecting Top Repositories opens the repository details view
  • Bottom navigation uses filled icons for the active section and outlined icons for inactive sections
  • The previous recent-activity list has been removed

Impact

✅ Faster access to key GitHub work areas
✅ Direct navigation from Top Repositories to repository details
✅ Clearer active and inactive navigation states

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • New Features

    • Redesigned the home screen with a “My Work” section and clearer item rows.
    • Added support for opening repository details by selecting repository items.
    • Bottom navigation now uses filled icons for the active destination and outlined icons for inactive destinations.
    • Added an options button to the home screen.
  • Bug Fixes

    • Improved home screen content presentation with consistent icons, titles, and colors.

Co-authored-by: SayanthRock <202829406+SayanthRock@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings August 2, 2026 15:39
@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rock-release-hub Ready Ready Preview, v0 Aug 2, 2026 3:46pm
rock-release-hub-ce Ready Ready Preview, v0 Aug 2, 2026 3:46pm

@codeant-ai

codeant-ai Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 5f3c554 Aug 02, 2026 · 15:39 15:41

@codeant-ai

codeant-ai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@SayanthRock, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

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.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 78357cfd-d47b-4f74-8247-8b8106894ce0

📥 Commits

Reviewing files that changed from the base of the PR and between 5f3c554 and cd852f1.

📒 Files selected for processing (1)
  • app/src/main/java/com/sayanthrock/rockreleasehub/AppNavGraph.kt
📝 Walkthrough

Walkthrough

The home screen now shows predefined “My Work” items with Material icons. Repository rows navigate to repository details. Bottom navigation uses filled icons for the selected route and outlined icons for other routes. Tests verify the initial work-item data.

Changes

Home work items and navigation

Layer / File(s) Summary
Work-item state and validation
feature-home/src/main/java/.../HomeViewModel.kt, feature-home/src/test/.../HomeViewModelTest.kt
HomeViewModel now exposes seven predefined MyWorkItem values. Tests verify their IDs, labels, icons, and colors.
My Work screen and icon rendering
gradle/libs.versions.toml, feature-home/build.gradle.kts, feature-home/src/main/java/.../HomeScreen.kt
HomeScreen renders the My Work layout, clickable rows, colored icon containers, and supported Material icon mappings.
Navigation callbacks and selected icons
app/src/main/java/.../AppNavGraph.kt, app/build.gradle.kts
Repository clicks navigate to repository details. Bottom navigation selects filled or outlined icons based on the active route.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: zenable/risk:medium

Suggested reviewers: copilot

Sequence Diagram(s)

sequenceDiagram
  participant HomeScreen
  participant AppNavGraph
  participant RepositoryDetails
  HomeScreen->>AppNavGraph: onRepoClick(1L)
  AppNavGraph->>RepositoryDetails: navigate to repository details route
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: implementing the My Work dashboard layout on the home screen.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jules-3856178686510373549-1b560c1e

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.

@codeant-ai codeant-ai Bot added the size:L This PR changes 100-499 lines, ignoring generated files label Aug 2, 2026

@ai-coding-guardrails ai-coding-guardrails Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got 1 comment for you to consider

Risk: 🟢 Low

Risk analysis

The highest scoring dimensions are operational_risk and blast_radius. operational_risk is elevated due to a bug in HomeScreen.kt where a hardcoded repository ID (1L) is used instead of the actual selected item's ID, which could lead to incorrect navigation in production. blast_radius is moderate because the changes affect the home screen UI and bottom navigation shared across the app, impacting all users. test_coverage scores low as the updated ViewModel logic lacks new unit tests for the changed behavior, relying only on existing structure.

Reviewed with 🤟 by Zenable

@ai-coding-guardrails ai-coding-guardrails Bot added the zenable/risk:low Zenable assessed this PR as LOW risk. label Aug 2, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeScreen.kt`:
- Around line 64-68: Update the MyWorkListItem onClick handling in HomeScreen so
the “top_repos” category does not call onRepoClick with the fabricated ID 1L;
instead, pass a real selected repository ID from the available repository data,
or navigate to the repositories list when no specific repository is selected.
- Around line 45-51: Remove the enabled overflow IconButton from the HomeScreen
actions until its menu behavior is defined, or replace the TODO callback with
the required menu action if that implementation already exists. Do not leave a
visible “More options” control with an empty onClick handler.
- Around line 82-87: Update MyWorkListItem to accept a nullable onClick callback
and apply Modifier.clickable only when that callback is non-null. Update its
callers so non-actionable items pass null while the top_repos item retains its
navigation action, preserving click feedback and semantics only for actionable
rows.
- Around line 121-124: Update the icon mappings in the visible icon-selection
branch so the "CallSplit" and "ViewQuilt" cases use the available
Icons.Filled.CallSplit and Icons.Filled.ViewQuilt properties instead of
Icons.AutoMirrored.Filled. Keep the existing mappings for "Adjust" and "Forum"
unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d1c03cbd-9fae-4530-8bf8-5528c6fd1ab8

📥 Commits

Reviewing files that changed from the base of the PR and between ecd4436 and 5f3c554.

📒 Files selected for processing (7)
  • app/build.gradle.kts
  • app/src/main/java/com/sayanthrock/rockreleasehub/AppNavGraph.kt
  • feature-home/build.gradle.kts
  • feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeScreen.kt
  • feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeViewModel.kt
  • feature-home/src/test/java/com/sayanthrock/rockreleasehub/feature/home/HomeViewModelTest.kt
  • gradle/libs.versions.toml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Implements the “My Work” dashboard layout on the Home screen and updates navigation/icon plumbing to support filled vs outlined bottom-nav icons, aligning the app UI with the provided “My Work” layout concept.

Changes:

  • Added Compose Material Icons Extended dependency via version catalog and module build files.
  • Replaced Home screen content with a “My Work” LazyColumn of feature cards/items.
  • Updated bottom navigation to use filled icons for the active route and outlined icons for inactive routes, and wired Home → repo details navigation callback.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
gradle/libs.versions.toml Adds version-catalog entry for material-icons-extended.
app/build.gradle.kts Adds Material Icons Extended dependency to the app module.
feature-home/build.gradle.kts Adds Material Icons Extended dependency to the feature-home module.
app/src/main/java/com/sayanthrock/rockreleasehub/AppNavGraph.kt Updates bottom-nav to filled/outlined icon variants; wires HomeScreen repo navigation callback.
feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeScreen.kt Replaces “Recent Activity” UI with “My Work” list UI and click handling.
feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeViewModel.kt Introduces MyWorkItem and updates HomeState.Success to expose the new items list.
feature-home/src/test/java/com/sayanthrock/rockreleasehub/feature/home/HomeViewModelTest.kt Updates unit test to assert new initial MyWorkItem list state.
Suppressed comments (1)

feature-home/src/main/java/com/sayanthrock/rockreleasehub/feature/home/HomeScreen.kt:69

  • onRepoClick(1L) is hard-coded, so tapping "Top Repositories" will always navigate to the same repository details screen (repoId=1), regardless of any actual repo data. This should navigate to a real destination (e.g., a top-repos list, or the repositories screen) or pass an actual repoId derived from state.
                            MyWorkListItem(item = item, onClick = {
                                if (item.id == "top_repos") {
                                    onRepoClick(1L)
                                }
                            })

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

SayanthRock and others added 2 commits August 2, 2026 21:14
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: SayanthRock <202829406+SayanthRock@users.noreply.github.com>

This branch was successfully deployed

2 active deployments
Preview – rock-release-hub-ce — cd852f16 Deployed Aug 2, 2026 by vercel[bot]
Preview – rock-release-hub — cd852f16 Deployed Aug 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files zenable/risk:low Zenable assessed this PR as LOW risk.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants