Skip to content

chore: fix UI issue showing wrong signature state#739

Merged
coodos merged 1 commit intomainfrom
fix/ereference-signed-when-user-cancels
Jan 28, 2026
Merged

chore: fix UI issue showing wrong signature state#739
coodos merged 1 commit intomainfrom
fix/ereference-signed-when-user-cancels

Conversation

@coodos
Copy link
Copy Markdown
Contributor

@coodos coodos commented Jan 28, 2026

Description of change

Issue Number

Type of change

  • Breaking (any change that would cause existing functionality to not work as expected)
  • New (a change which implements a new feature)
  • Update (a change which updates existing functionality)
  • Fix (a change which fixes an issue)
  • Docs (changes to the documentation)
  • Chore (refactoring, build scripts or anything else that isn't user-facing)

How the change has been tested

Change checklist

  • I have ensured that the CI Checks pass locally
  • I have removed any unnecessary logic
  • My code is well documented
  • I have signed my commits
  • My code follows the pattern of the application
  • I have self reviewed my code

Summary by CodeRabbit

  • New Features

    • Added support for "Pending" status with distinct visual styling to differentiate it from other status states.
  • Bug Fixes

    • Updated default status initialization behavior in reference view modals.

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

@coodos coodos merged commit 33f1939 into main Jan 28, 2026
3 of 4 checks passed
@coodos coodos deleted the fix/ereference-signed-when-user-cancels branch January 28, 2026 09:17
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 28, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Dashboard status rendering updated to handle new 'Pending' status with orange/yellow styling. Default status for reference view modal changed from 'Signed' to 'Unknown'. Visual styling and text labels adjusted for Pending and Revoked statuses in activity views.

Changes

Cohort / File(s) Summary
Status Badge & Modal Updates
platforms/eReputation/client/src/pages/dashboard.tsx
Default reference modal status changed from 'Signed' to 'Unknown'. Status badge styling extended to handle 'Pending' status with orange/yellow tones in both reference and non-reference contexts. Display text adjusted from 'signed' to 'pending'. Revoked status color logic maintained.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • chore: fix table #603 — Modifies the same dashboard.tsx activity/Recent Activity rendering (className/JSX for activity rows and status badges).
  • Fix/esigner and ereference issues #736 — Centralizes status mapping in DashboardController to add "Pending"/"Unknown" statuses that this PR now renders in the UI.

Suggested reviewers

  • sosweetham
  • ananyayaya129

Poem

🐰 A pending status hops into view,
With orange hues and unknown brew,
No longer signed, now dressed anew,
Dashboard badges fresh and true! ✨

✨ Finishing touches
  • 📝 Generate docstrings

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.

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