Skip to content

[Customer Portal][Webapp] Revert stat count colors in the user projects overview - #1280

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

  • Reverts the earlier color styling (warning/primary/blue) applied to Action Required, Outstanding, and Active Chats counts in the Projects table.
  • These counts are back to plain body text in both UserGlobalSearch.tsx (dashboard overview) and UserProjectsPage.tsx (full projects list), matching how they looked before.
  • Removed the now-unused colors import from both files.

Test plan

  • tsc --noEmit passes
  • eslint clean
  • Manually verify in browser: Action Required/Outstanding/Active Chats counts render as plain text (no color) in both the overview and full projects list

Summary by CodeRabbit

  • Style
    • Updated project table count columns to use the standard text styling.
    • Removed custom colors from “Action Required,” “Outstanding,” and “Active Chats” counts.
    • Existing count values and zero fallbacks remain unchanged.

@SasmithaDilshan
SasmithaDilshan merged commit 7f8f986 into wso2-open-operations:main Jul 28, 2026
1 of 2 checks passed
@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 31a1df2b-8f31-4830-ad45-7c2aa9fec931

📥 Commits

Reviewing files that changed from the base of the PR and between 52d6a72 and 4199a50.

📒 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 count cells in the global search and projects page now use default typography styling. Existing count fallbacks, right alignment, and displayed project statistics remain unchanged.

Changes

Project count styling

Layer / File(s) Summary
Default project count typography
apps/customer-portal/webapp/src/features/project-hub/components/UserGlobalSearch.tsx, apps/customer-portal/webapp/src/features/project-hub/pages/UserProjectsPage.tsx
Removed explicit palette colors and the unused colors imports from project count cells while retaining existing ?? 0 fallbacks and alignment.

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

Possibly related PRs

Suggested reviewers: rksk, rashmika998

✨ 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.

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