diff --git a/components/bounty-detail/bounty-detail-client.tsx b/components/bounty-detail/bounty-detail-client.tsx index 816e5f2f..345a031a 100644 --- a/components/bounty-detail/bounty-detail-client.tsx +++ b/components/bounty-detail/bounty-detail-client.tsx @@ -236,10 +236,12 @@ export function BountyDetailClient({ bountyId }: { bountyId: string }) { {bounty.type === "MILESTONE_BASED" && isAssignedApplicant && walletAddress && - bounty.status === "IN_PROGRESS" && ( + (bounty.status === "IN_PROGRESS" || + bounty.status === "UNDER_REVIEW") && ( )} diff --git a/components/bounty/application-submit-work-panel.tsx b/components/bounty/application-submit-work-panel.tsx index fe6ff934..ecb6e70e 100644 --- a/components/bounty/application-submit-work-panel.tsx +++ b/components/bounty/application-submit-work-panel.tsx @@ -12,16 +12,19 @@ import { import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; +import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { useSubmitApplicationWork } from "@/hooks/use-bounty-application"; interface ApplicationSubmitWorkPanelProps { bountyId: string; contributorAddress: string; + latestRevisionFeedback?: string | null; } export function ApplicationSubmitWorkPanel({ bountyId, contributorAddress, + latestRevisionFeedback, }: ApplicationSubmitWorkPanelProps) { const [workCid, setWorkCid] = useState(""); @@ -51,6 +54,19 @@ export function ApplicationSubmitWorkPanel({ + {latestRevisionFeedback && ( + + + Revisions Requested + + + {latestRevisionFeedback} + + + )}
- {/* Revision Section - Coming Soon */} + {/* Revision Section */}
-
- -

- Needs Changes? -

-

- Request revisions before releasing the escrow. -

- -
+ {!showRevisionForm ? ( +
+ +

+ Needs Changes? +

+

+ Request revisions before releasing the escrow. +

+ +
+ ) : ( +
+
+ +

+ Explain what needs to be changed before approval. +

+