Skip to content

[Customer Portal][Webapp] Color project stat counts in the user overview to match project cards - #1278

Merged
SasmithaDilshan merged 1 commit into
wso2-open-operations:mainfrom
cloby99:feat/enhancements
Jul 28, 2026
Merged

SasmithaDilshan merged 1 commit into
wso2-open-operations:mainfrom
cloby99:feat/enhancements

Conversation

@cloby99

@cloby99 cloby99 commented Jul 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • The Projects table in UserGlobalSearch.tsx (the non-partner multi-project overview) now colors the Action Required, Outstanding, and Active Chats counts instead of plain body text.
  • Colors match the existing ProjectCardStats scheme: Action Required in warning.main, Outstanding in primary, Active Chats in colors.blue[500] — keeping the new table view visually consistent with the project-card view it replaces.

Test plan

  • tsc --noEmit passes
  • eslint clean
  • Manually verify in browser: non-partner account with >1 project shows colored counts in the Projects table matching the colors previously seen on project cards

Summary by CodeRabbit

  • Style
    • Improved visual clarity in the projects table by applying distinct semantic colors to “Action Required,” “Outstanding,” and “Active Chats” counts.
    • Updated count styling to better align with the application’s visual theme.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 83826aee-f0da-48fd-a127-4278f13167b7

📥 Commits

Reviewing files that changed from the base of the PR and between df40c2e and 876662e.

📒 Files selected for processing (2)
  • apps/customer-portal/webapp/src/features/project-hub/components/UserGlobalSearch.tsx
  • apps/customer-portal/webapp/src/features/project-hub/pages/UserProjectsPage.tsx

📝 Walkthrough

Walkthrough

Project table count cells now use explicit semantic colors for Action Required, Outstanding, and Active Chats in the user projects page and global search components.

Changes

Project count styling

Layer / File(s) Summary
Apply semantic count colors
apps/customer-portal/webapp/src/features/project-hub/pages/UserProjectsPage.tsx, apps/customer-portal/webapp/src/features/project-hub/components/UserGlobalSearch.tsx
Imports Oxygen UI theme colors and applies warning, primary, and blue colors to the Action Required, Outstanding, and Active Chats count cells.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested labels: Type/Improvement

Suggested reviewers: rashmika998

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description only includes Summary and Test plan; most required template sections are missing. Add the missing template sections, especially Purpose, Goals, Approach, User stories, Release note, Documentation, Testing, Security checks, and related links.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the color update for project stat counts and matches the main change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@SasmithaDilshan
SasmithaDilshan merged commit 756d560 into wso2-open-operations:main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants