Rename Vendor to Subprocessor in trust API surface
Rename Vendor → Subprocessor, VendorConnection → SubprocessorConnection, and VendorEdge → SubprocessorEdge across the GraphQL schema, Go resolvers, and React frontend components. Internal coredata types remain unchanged. User-facing labels in console app updated to reflect terminology change. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -78,7 +78,7 @@ export function CompliancePageLayout(props: { queryRef: PreloadedQuery<Complianc
|
||||
</TabLink>
|
||||
<TabLink to={`/organizations/${organizationId}/compliance-page/vendors`}>
|
||||
<IconStore className="size-4" />
|
||||
{__("Vendors")}
|
||||
{__("Subprocessors")}
|
||||
</TabLink>
|
||||
<TabLink to={`/organizations/${organizationId}/compliance-page/access`}>
|
||||
<IconPeopleAdd className="size-4" />
|
||||
|
||||
@@ -29,9 +29,9 @@ export function CompliancePageVendorsPage(props: {
|
||||
<div className="space-y-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h3 className="text-base font-medium">{__("Vendors")}</h3>
|
||||
<h3 className="text-base font-medium">{__("Subprocessors")}</h3>
|
||||
<p className="text-sm text-txt-tertiary">
|
||||
{__("Manage vendor assessments and third-party risk information")}
|
||||
{__("Manage subprocessor assessments and third-party risk information")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -42,7 +42,7 @@ export function CompliancePageVendorList(props: { fragmentRef: CompliancePageVen
|
||||
{vendors.edges.length === 0 && (
|
||||
<Tr>
|
||||
<Td colSpan={4} className="text-center text-txt-secondary">
|
||||
{__("No vendors available")}
|
||||
{__("No subprocessors available")}
|
||||
</Td>
|
||||
</Tr>
|
||||
)}
|
||||
|
||||
@@ -47,8 +47,8 @@ export function CompliancePageVendorListItem(props: {
|
||||
>(
|
||||
updateVendorVisibilityMutation,
|
||||
{
|
||||
successMessage: __("Vendor visibility updated successfully."),
|
||||
errorMessage: __("Failed to update vendor visibility"),
|
||||
successMessage: __("Subprocessor visibility updated successfully."),
|
||||
errorMessage: __("Failed to update subprocessor visibility"),
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user