Skip to content

Comments

Fix Project Health Dashboard responsiveness on small screens#3455

Closed
Dev10-sys wants to merge 2 commits intoOWASP:mainfrom
Dev10-sys:fix/dashboard-responsive-3445
Closed

Fix Project Health Dashboard responsiveness on small screens#3455
Dev10-sys wants to merge 2 commits intoOWASP:mainfrom
Dev10-sys:fix/dashboard-responsive-3445

Conversation

@Dev10-sys
Copy link

@Dev10-sys Dev10-sys commented Jan 22, 2026

Hi maintainers,
I’ve implemented a responsive fix for both dashboard pages mentioned in #3445.

I’m unable to self-assign the issue due to org permissions, so linking the PR here for review.

Please let me know if any changes are needed.

Related to #3445

@github-actions
Copy link

The linked issue must be assigned to the PR author.

@github-actions github-actions bot closed this Jan 22, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

Caution

Review failed

The pull request is closed.

Summary by CodeRabbit

  • New Features

    • Added horizontally scrollable charts for improved mobile responsiveness
    • Introduced new metric displays: Stars/Forks, Issues breakdown, Open Pull Requests, and Days Metrics
  • Style

    • Reorganized dashboard layout for enhanced responsiveness across screen sizes
    • Improved header structure with project information and key components
    • Optimized metrics container organization for better readability

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

The PR addresses dashboard responsiveness by restructuring layout containers and reorganizing chart presentations. Charts are converted from side-by-side layouts to individually scrollable blocks; header sections are expanded with responsive flex patterns; and new metric visualizations are added to the metrics dashboard page.

Changes

Cohort / File(s) Summary
Metrics Dashboard Layout Restructuring
frontend/src/app/projects/dashboard/metrics/[projectKey]/page.tsx
Container classes updated to constrained scroll-safe wrappers; header reorganized with responsive flex/stack pattern; charts moved to individual horizontally-scrollable containers; new metric blocks added for Stars/Forks, Issues, and Pull Requests; Days Metrics bar chart introduced with reverseColors option.
Dashboard Page Type Annotations and Scroll Handling
frontend/src/app/projects/dashboard/page.tsx
Type annotations replaced with inferred constant structures using as const; outer container converted to full-width overflow wrapper; charts wrapped in individual horizontally-scrollable blocks; layout adjustments for responsive spacing.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

frontend

Suggested reviewers

  • arkid15r
  • kasya
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant