Skip to content

Conversation

@github-actions
Copy link
Contributor

This is an automated pull request to merge mariano/more-ui-pages into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
app Ready Ready Preview, Comment Jan 27, 2026 9:24pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
portal Skipped Skipped Jan 27, 2026 9:24pm

Request Review

@cursor
Copy link

cursor bot commented Jan 27, 2026

PR Summary

Introduces dedicated tabs and UI refinements across vendor pages and risk components.

  • Adds tasks and comments tabs in VendorDetailTabs with TaskItems and Comments (moved out of VendorPageClient overview)
  • Updates VendorHeader layout to focus on verified certification icons and external links; cleans up spacing
  • Simplifies SecondaryFields wrapper to Section (replaces card)
  • Tweaks CommentRichTextField editor UX: smaller min height, increased padding, inline min-height style, import tidy
  • Improves RiskMatrixChart readability: left-side rotated "Likelihood" label, bottom-centered "Impact" label, full probability row labels, adjusted padding and grid

Written by Cursor Bugbot for commit 882f4fe. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 4 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

return <div key={`${cert.type}-${index}`}>{iconContent}</div>;
})}
</div>
)}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vendor description removed from display

Medium Severity

The vendor.description text was removed from VendorHeader and is no longer displayed anywhere on the vendor detail page. While a TitleAndDescription component exists that could display it, it's not being used. Users can only access the description through the edit sheet (UpdateTitleAndDescriptionSheet), but there's no read-only view of this information anymore.

Fix in Cursor Fix in Web

<TabsContent value="tasks">
<TaskItems entityId={vendorId} entityType="vendor" organizationId={orgId} />
</TabsContent>
)}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TaskItems no longer visible when viewing a task

Medium Severity

The TaskItems component was previously rendered unconditionally on the vendor detail page, making tasks always visible. After this change, TaskItems is wrapped in {!isViewingTask && (...)}, so when isViewingTask is true, the tasks list is no longer accessible. This behavioral regression removes functionality users may rely on when viewing a task in context.

Additional Locations (1)

Fix in Cursor Fix in Web

};

const probabilityLevels = ['Very Likely', 'Likely', 'Possible', 'Unlikely', 'Very Unlikely'];
const probabilityNumbers = ['5', '4', '3', '2', '1'];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused constant probabilityLabels left as dead code

Low Severity

The probabilityLabels array constant is defined but never used. The diff shows that the row label element previously had title={probabilityLabels[rowIdx]} for tooltip functionality, but this was removed during the refactoring. The constant definition was left behind, creating dead code that clutters the codebase and may confuse future developers.

Fix in Cursor Fix in Web

};

const probabilityLevels = ['Very Likely', 'Likely', 'Possible', 'Unlikely', 'Very Unlikely'];
const probabilityNumbers = ['5', '4', '3', '2', '1'];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused constant impactNumbers is dead code

Low Severity

The impactNumbers array constant is defined but never used anywhere in the component or codebase. While cleaning up probabilityNumbers (which was removed in this PR), this related unused constant was overlooked. It represents dead code that adds unnecessary clutter.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant