🔥 Remove line breaks from param descriptions (#2473)

* 🔥 Remove line breaks from param descriptions

* 🔥 Remove more line breaks

* 🎨 Fix spacing for list item in tooltip

*  Apply multiline with <p> tags

*  Improve <code> and <a> tags

* ✏️ Improve grammar and spelling

*  Add missing <p> tags

* ✏️ Make "multiple" phrasing consistent

*  Fix unneeded quote escapes

*  Encode angle brackets

*  Fix typo and copy-paste artifact
This commit is contained in:
Iván Ovejero
2021-11-25 18:10:06 +01:00
committed by GitHub
parent 260ab395d1
commit 0764c49dcf
120 changed files with 327 additions and 659 deletions

View File

@@ -99,9 +99,7 @@ export const taskFields = [
name: 'activityDate',
type: 'dateTime',
default: '',
description: `Represents the due date of the task.<br/>
This field has a timestamp that is always set to midnight
in the Coordinated Universal Time (UTC) time zone.`,
description: `Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.`,
},
{
displayName: 'Call Disposition',
@@ -131,9 +129,7 @@ export const taskFields = [
alwaysOpenEditWindow: true,
},
default: '',
description: `Name of a call center. Limit is 255 characters. <br/>
Not subject to field-level security, available for any user in an
organization with Salesforce CRM Call Center.`,
description: `Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.`,
},
{
displayName: 'Call Type',
@@ -257,11 +253,7 @@ export const taskFields = [
name: 'recurrenceDayOfWeekMask',
type: 'number',
default: '',
description: `The day or days of the week on which the task repeats.
This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2
Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64
Multiple days are represented as the sum of their numerical values.<br/>
For example, Tuesday and Thursday = 4 + 16 = 20.`,
description: `The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64 Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.`,
},
{
displayName: 'Recurrence End Date Only',
@@ -347,26 +339,21 @@ export const taskFields = [
value: 'RecurrenceRegenerated',
},
],
description: `Represents what triggers a repeating task to repeat.<br/>
Add this field to a page layout together with the RecurrenceInterval field,
which determines the number of days between the triggering date (due date or close date)
and the due date of the next repeating task in the series.Label is Repeat This Task.`,
description: `Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.`,
},
{
displayName: 'Recurrence Start Date Only',
name: 'recurrenceEndDateOnly',
type: 'dateTime',
default: '',
description: `The date when the recurring task begins.<br/>
Must be a date and time before RecurrenceEndDateOnly.`,
description: `The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.`,
},
{
displayName: 'Recurrence TimeZone SidKey',
name: 'recurrenceTimeZoneSidKey',
type: 'string',
default: '',
description: `The time zone associated with the recurring task.<br/>
For example, “UTC-8:00” for Pacific Standard Time.`,
description: `The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.`,
},
{
displayName: 'Reminder Date Time',
@@ -412,8 +399,7 @@ export const taskFields = [
name: 'whoId',
type: 'string',
default: '',
description: `The WhoId represents a human such as a lead or a contact.<br/>
WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
description: `The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
},
],
},
@@ -461,9 +447,7 @@ export const taskFields = [
name: 'activityDate',
type: 'dateTime',
default: '',
description: `Represents the due date of the task.<br/>
This field has a timestamp that is always set to midnight <br/>
in the Coordinated Universal Time (UTC) time zone.`,
description: `Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.`,
},
{
displayName: 'Call Disposition',
@@ -493,9 +477,7 @@ export const taskFields = [
alwaysOpenEditWindow: true,
},
default: '',
description: `Name of a call center. Limit is 255 characters. <br/>
Not subject to field-level security, available for any user in an
organization with Salesforce CRM Call Center.`,
description: `Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.`,
},
{
displayName: 'Call Type',
@@ -612,11 +594,7 @@ export const taskFields = [
name: 'recurrenceDayOfWeekMask',
type: 'number',
default: '',
description: `The day or days of the week on which the task repeats.<br/>
This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2
Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64
Multiple days are represented as the sum of their numerical values.<br/>
For example, Tuesday and Thursday = 4 + 16 = 20.`,
description: `The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64. Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.`,
},
{
displayName: 'Recurrence End Date Only',
@@ -705,8 +683,7 @@ export const taskFields = [
name: 'recurrenceEndDateOnly',
type: 'dateTime',
default: '',
description: `The date when the recurring task begins.<br/>
Must be a date and time before RecurrenceEndDateOnly.`,
description: `The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.`,
},
{
displayName: 'Recurrence Regenerated Type',
@@ -727,10 +704,7 @@ export const taskFields = [
value: 'RecurrenceRegenerated',
},
],
description: `Represents what triggers a repeating task to repeat.<br/>
Add this field to a page layout together with the RecurrenceInterval field,
which determines the number of days between the triggering date (due date or close date)
and the due date of the next repeating task in the series.Label is Repeat This Task.`,
description: `Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.`,
},
{
displayName: 'Recurrence Type',
@@ -747,8 +721,7 @@ export const taskFields = [
name: 'recurrenceTimeZoneSidKey',
type: 'string',
default: '',
description: `The time zone associated with the recurring task.<br/>
For example, “UTC-8:00” for Pacific Standard Time.`,
description: `The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.`,
},
{
displayName: 'Reminder Date Time',
@@ -784,8 +757,7 @@ export const taskFields = [
name: 'whoId',
type: 'string',
default: '',
description: `The WhoId represents a human such as a lead or a contact.<br/>
WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
description: `The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
},
],
},