Skip to content

Commit 7ba532a

Browse files
authored
Change the label from Default site address to Included site address (#107572)
Change the label from Default site address to Included site address and also update the copy of the tooltip for Primary domain
1 parent 9eb073f commit 7ba532a

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

client/dashboard/domains/dataviews/field-domain-name.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DomainSubtype } from '@automattic/api-core';
22
import config from '@automattic/calypso-config';
33
import { Link } from '@tanstack/react-router';
4-
import { __experimentalVStack as VStack } from '@wordpress/components';
4+
import { Tooltip, __experimentalVStack as VStack } from '@wordpress/components';
55
import { __ } from '@wordpress/i18n';
66
import { domainOverviewRoute, domainTransferRoute } from '../../app/router/domains';
77
import { Text } from '../../components/text';
@@ -31,17 +31,19 @@ export const DomainNameField = ( {
3131
<VStack spacing={ 1 }>
3232
<span style={ textOverflowStyles }>{ value }</span>
3333
{ showPrimaryDomainBadge && domain.primary_domain && (
34-
<span
35-
style={ {
36-
...textOverflowStyles,
37-
color: 'var(--dashboard__foreground-color-success)',
38-
fontWeight: 'normal',
39-
textDecoration: 'underline',
40-
textDecorationStyle: 'dotted',
41-
} }
42-
>
43-
{ __( 'Primary site address' ) }
44-
</span>
34+
<Tooltip text={ __( 'The address people see when visiting your site.' ) }>
35+
<span
36+
style={ {
37+
...textOverflowStyles,
38+
color: 'var(--dashboard__foreground-color-success)',
39+
fontWeight: 'normal',
40+
textDecoration: 'underline',
41+
textDecorationStyle: 'dotted',
42+
} }
43+
>
44+
{ __( 'Primary site address' ) }
45+
</span>
46+
</Tooltip>
4547
) }
4648
{ domain.subtype.id !== DomainSubtype.DOMAIN_REGISTRATION && (
4749
<Text variant="muted" style={ { ...textOverflowStyles, fontWeight: 'normal' } }>

client/dashboard/domains/dataviews/fields.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const useFields = ( {
8585
{ value: DomainSubtype.DOMAIN_REGISTRATION, label: __( 'Domain name registration' ) },
8686
{ value: DomainSubtype.DOMAIN_TRANSFER, label: __( 'Domain name transfer' ) },
8787
{ value: DomainSubtype.DOMAIN_CONNECTION, label: __( 'Domain name connection' ) },
88-
{ value: DomainSubtype.DEFAULT_ADDRESS, label: __( 'Default site address' ) },
88+
{ value: DomainSubtype.DEFAULT_ADDRESS, label: __( 'Included site address' ) },
8989
],
9090
filterBy: {
9191
operators: [ 'isAny' as Operator ],

0 commit comments

Comments
 (0)