Skip to content

Commit 3051d1d

Browse files
authored
Changing 'customer' --> 'client' to be consistent (#555)
1 parent 8cbab56 commit 3051d1d

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,13 @@ An engagement cannot be launched until the following fields are populated for th
267267

268268
| Variable | Section | Description |
269269
| :------------------------- | :---------------- | :------------------------------------------- |
270-
| **Customer Name** | Basic | The name of the customer for this engagement |
270+
| **Client Name** | Basic | The name of the client for this engagement |
271271
| **Project Name** | Basic | The name of this engagements project |
272272
| **Residency Date (Start)** | Basic | The start date of the engagement |
273273
| **Residency Date (End)** | Basic | The start date of the engagement |
274274
| **Labs EL** | Point of Contact | The name and email for the Engagement Lead |
275275
| **Labs Technical Lead** | Point of Contact | The name and email for the Technical Lead |
276-
| **Customer Contact** | Point of Contact | The name and email for the client contact |
276+
| **Client Contact** | Point of Contact | The name and email for the Client contact |
277277
| **Cloud Provider** | OpenShift Cluster | Which cloud provider is being utilized |
278278
| **Provider Region** | OpenShift Cluster | Which region is this cloud hosted |
279279
| **Open Shift Version** | OpenShift Cluster | Which version of OpenShift is required |

src/common/human_readable_engagement_field.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ export function getHumanReadableFieldName(field: string): string {
22
const humanReadableFieldMap = {
33
archive_date: 'Archive Date',
44
commits: 'History',
5-
customer_contact_email: 'Customer Contact Email',
6-
customer_contact_name: 'Customer Contact Name',
7-
customer_name: 'Customer Name',
5+
customer_contact_email: 'Client Contact Email',
6+
customer_contact_name: 'Client Contact Name',
7+
customer_name: 'Client Name',
88
description: 'Description',
99
end_date: 'End Date',
1010
engagement_users: 'Engagement Users',

src/components/dashboard/widgets/dw_last_updated_engagements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface DwLastUpdatedProps {
2121
engagements: Partial<Engagement>[];
2222
onClick?(uuid: string): void;
2323
}
24-
const columns = ['Customer Name', 'Name', 'Last Update'];
24+
const columns = ['Client Name', 'Name', 'Last Update'];
2525
export const DwLastUpdated = (props: DwLastUpdatedProps) => {
2626
const rows = props.engagements.map(e => {
2727
let relativeDate = formatRelative(e.last_update, new Date());

src/components/engagement_data_cards/point_of_contact_card/point_of_contact_card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function PointOfContactCard() {
8686
</TitledDataPoint>
8787
</GridItem>
8888
<GridItem sm={12} md={4}>
89-
<TitledDataPoint title="Customer Contact">
89+
<TitledDataPoint title="Client Contact">
9090
{currentEngagement?.customer_contact_name}
9191
</TitledDataPoint>
9292
</GridItem>

src/components/engagement_edit_modals/__tests__/__snapshots__/poc_edit_modal.spec.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Object {
302302
<span
303303
class="pf-c-form__label-text"
304304
>
305-
Customer Contact
305+
Client Contact
306306
</span>
307307
<span
308308
aria-hidden="true"
@@ -319,7 +319,7 @@ Object {
319319
>
320320
<div
321321
class="pf-c-input-group"
322-
label="Customer Contact"
322+
label="Client Contact"
323323
>
324324
<label
325325
class="pf-c-input-group__text"
@@ -342,7 +342,7 @@ Object {
342342
</label>
343343
<input
344344
aria-invalid="false"
345-
aria-label="Customer contact name"
345+
aria-label="Client contact name"
346346
class="pf-c-form-control"
347347
data-cy="customer_contact_name"
348348
disabled=""

src/components/engagement_edit_modals/point_of_contact_edit_modal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ export function PointOfContactEditModal({
215215
fieldId="customer-contact"
216216
helperText="Who is the point person for the project?"
217217
isRequired
218-
label="Customer Contact"
218+
label="Client Contact"
219219
validated={
220220
validateEmail(customerContactEmail)
221221
? 'default'
222222
: 'error'
223223
}
224224
helperTextInvalid={INVALID_TEXT}
225225
>
226-
<InputGroup label="Customer Contact">
226+
<InputGroup label="Client Contact">
227227
<InputGroupText
228228
style={input}
229229
component="label"
@@ -234,7 +234,7 @@ export function PointOfContactEditModal({
234234
<TextInput
235235
isDisabled={!hasFeature(APP_FEATURES.writer)}
236236
style={input}
237-
aria-label="Customer contact name"
237+
aria-label="Client contact name"
238238
id="customer-contact-name"
239239
name="customer-contact-name"
240240
onChange={setCustomerContactName}

src/components/engagement_filter_bar/components/sort_select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function SortSelect({ filter, onChange }: EngagementFilterProps) {
2525
} else if (e === EngagementSortFields.endDate) {
2626
return 'End Date';
2727
} else if (e === EngagementSortFields.customerName) {
28-
return 'Customer Name';
28+
return 'Client Name';
2929
} else if (e === EngagementSortFields.projectName) {
3030
return 'Project Name';
3131
}

0 commit comments

Comments
 (0)