Skip to content

feat: add proposal comparison and shortlisting interface for clients - #279

Open
DevKoya06 wants to merge 1 commit into
Lumina-eX:mainfrom
DevKoya06:feat/issue-239-proposal-comparison-shortlisting-interface
Open

DevKoya06 wants to merge 1 commit into
Lumina-eX:mainfrom
DevKoya06:feat/issue-239-proposal-comparison-shortlisting-interface

Conversation

@DevKoya06

Copy link
Copy Markdown

Overview

This PR adds a client-facing proposal comparison view for a project. Clients can review freelancer proposals side by side, shortlist candidates, and accept or reject proposals with a confirmation step. Proposal statuses (Pending, Shortlisted, Accepted, Rejected) are visually distinguished, and loading, empty, and error states are handled.

Related Issue

Closes #

Changes

📋 Proposal Comparison UI

  • [ADD] components/proposals/proposal-card.tsx

    • Card for a single freelancer proposal showing budget, delivery timeline, and status.
  • [ADD] components/proposals/proposal-list.tsx

    • Responsive list/grid layout for comparing multiple proposals across desktop, tablet, and mobile.
  • [ADD] components/proposals/proposal-status-badge.tsx

    • Visual badge distinguishing Pending, Shortlisted, Accepted, and Rejected states.
  • [ADD] components/proposals/proposal-confirm-dialog.tsx

    • Confirmation dialog shown before accepting or rejecting a proposal.
  • [ADD] components/proposals/proposal-empty-state.tsx

    • Empty state when a project has no proposals yet.
  • [ADD] components/proposals/proposal-skeleton.tsx

    • Loading skeleton shown while proposals are fetched.
  • [ADD] components/proposals/index.ts

    • Barrel export for the proposal components.
  • [ADD] app/dashboard/proposals/[projectId]/page.tsx

    • Project-scoped dashboard page that composes the comparison view.

Verification Results

No automated tests were added in this PR. Verification was limited to manual review of the components against the acceptance criteria in the issue.

Acceptance Criteria Status
Responsive comparison layout across desktop, tablet, and mobile ✅ List layout adapts to viewport width
Loading, empty, and error states implemented ✅ Skeleton, empty state, and error handling in page/list
Proposal statuses clearly distinguished ✅ Status badge with Pending / Shortlisted / Accepted / Rejected
Confirmation dialogs before accept/reject ✅ proposal-confirm-dialog.tsx gates both actions

Closes #239

@drips-wave

drips-wave Bot commented Nov 20, 2026

Copy link
Copy Markdown

@DevKoya06 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.

[Feature]: Proposal Comparison & Shortlisting Interface

1 participant