Skip to content

created approval status widget#249

Open
arandomogg wants to merge 1 commit intoamina69:mainfrom
arandomogg:approval-status-widget
Open

created approval status widget#249
arandomogg wants to merge 1 commit intoamina69:mainfrom
arandomogg:approval-status-widget

Conversation

@arandomogg
Copy link
Copy Markdown

closes #175

ApprovalStatusWidget Component

Overview

Created a new ApprovalStatusWidget component for displaying approval statuses across different roles.

Features

  • Role Status Display: Shows required, given, and pending approvals in separate sections
  • Visual Indicators:
    • Clock icon for pending approvals
    • Green checkmark for approved
    • Red X for rejected
  • User Identification: Avatar images with fallback to initial-based avatars
  • Accessibility: Full aria-label support for each approval row
  • Empty State: Graceful handling when no approvals are present

Changes

  • src/components/ApprovalStatusWidget.tsx - New widget component
  • src/components/icons/StatusIcons.tsx - Added XCircleIcon for rejected status

Design

  • Built with Tailwind CSS for consistent styling
  • Responsive layout with hover states
  • Matches existing design patterns in the codebase

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@arandomogg Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Frontend · Multi-party approval UI] Create ApprovalStatusWidget — approver rows

2 participants