feat: shorten MH eligibility button and move it with PDF viewer toggle below Delta IL/Others row

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 22:24:12 -05:00
co-authored by Claude Opus 5.5
parent b95196f4c8
commit 5d7a35bdc9
@@ -1046,38 +1046,6 @@ export default function InsuranceStatusPage() {
</div> </div>
</div> </div>
<div className="flex flex-col-2 gap-4 mt-4">
<Button
id="eligibility-cmsp"
className="w-full"
disabled={isCheckingCMSP}
onClick={() => handleCMSPButton()}
>
{isCheckingCMSP ? (
<>
<LoaderCircleIcon className="h-4 w-4 mr-2 animate-spin" />
Processing...
</>
) : (
<>
<CheckCircle className="h-4 w-4 mr-2" />
MH Eligibility &amp; Remaining &amp; History
</>
)}
</Button>
</div>
<div className="flex items-center gap-2 mt-2">
<Switch
id="mh-show-pdf-viewer"
checked={showPdfViewerOnComplete}
onCheckedChange={setShowPdfViewerOnComplete}
/>
<Label htmlFor="mh-show-pdf-viewer" className="text-sm text-muted-foreground font-normal">
Show PDF viewer after check completes
</Label>
</div>
{/* TEMP PROVIDER BUTTONS */} {/* TEMP PROVIDER BUTTONS */}
<div id="eligibility-other-providers" className="space-y-4 mt-6"> <div id="eligibility-other-providers" className="space-y-4 mt-6">
<h3 className="text-sm font-medium text-muted-foreground"> <h3 className="text-sm font-medium text-muted-foreground">
@@ -1381,6 +1349,39 @@ export default function InsuranceStatusPage() {
Others Others
</Button> </Button>
</div> </div>
{/* Row 6 — MH */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<Button
id="eligibility-cmsp"
className="w-full"
disabled={isCheckingCMSP}
onClick={() => handleCMSPButton()}
>
{isCheckingCMSP ? (
<>
<LoaderCircleIcon className="h-4 w-4 mr-2 animate-spin" />
Processing...
</>
) : (
<>
<CheckCircle className="h-4 w-4 mr-2" />
MH
</>
)}
</Button>
<div className="flex items-center gap-2 md:col-span-2">
<Switch
id="mh-show-pdf-viewer"
checked={showPdfViewerOnComplete}
onCheckedChange={setShowPdfViewerOnComplete}
/>
<Label htmlFor="mh-show-pdf-viewer" className="text-sm text-muted-foreground font-normal">
Show PDF viewer after check completes
</Label>
</div>
</div>
</div> </div>
</CardContent> </CardContent>
</Card> </Card>