Skip to content

Commit 6432681

Browse files
authored
Minor tooltip fixes (#2861)
1 parent b3b6df9 commit 6432681

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

portal-ui/src/screens/Console/EventDestinations/CustomForms/ConfMySql.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ const ConfMySql = ({ onChange, classes }: IConfMySqlProps) => {
277277
label="Queue Dir"
278278
placeholder="Enter Queue Dir"
279279
value={queueDir}
280-
tooltip="staging dir for undelivered messages e.g. '/home/events'"
280+
tooltip="Staging directory for undelivered messages e.g. '/home/events'"
281281
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
282282
setQueueDir(e.target.value);
283283
}}
@@ -291,7 +291,7 @@ const ConfMySql = ({ onChange, classes }: IConfMySqlProps) => {
291291
placeholder="Enter Queue Limit"
292292
type="number"
293293
value={queueLimit}
294-
tooltip="maximum limit for undelivered messages, defaults to '10000'"
294+
tooltip="Maximum limit for undelivered messages, defaults to '10000'"
295295
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
296296
setQueueLimit(e.target.value);
297297
}}

portal-ui/src/screens/Console/EventDestinations/CustomForms/ConfPostgres.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const ConfPostgres = ({ onChange, classes }: IConfPostgresProps) => {
364364
label="Queue Dir"
365365
placeholder="Enter Queue Directory"
366366
value={queueDir}
367-
tooltip="staging dir for undelivered messages e.g. '/home/events'"
367+
tooltip="Staging directory for undelivered messages e.g. '/home/events'"
368368
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
369369
setQueueDir(e.target.value);
370370
}}
@@ -378,7 +378,7 @@ const ConfPostgres = ({ onChange, classes }: IConfPostgresProps) => {
378378
placeholder="Enter Queue Limit"
379379
type="number"
380380
value={queueLimit}
381-
tooltip="maximum limit for undelivered messages, defaults to '10000'"
381+
tooltip="Maximum limit for undelivered messages, defaults to '10000'"
382382
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
383383
setQueueLimit(e.target.value);
384384
}}

portal-ui/src/screens/Console/EventDestinations/utils.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const commonFields = [
117117
label: "Queue Directory",
118118
required: false,
119119

120-
tooltip: "staging dir for undelivered messages e.g. '/home/events'",
120+
tooltip: "Staging directory for undelivered messages e.g. '/home/events'",
121121
type: "string",
122122
placeholder: "Enter Queue Directory",
123123
},
@@ -126,7 +126,7 @@ const commonFields = [
126126
label: "Queue Limit",
127127
required: false,
128128

129-
tooltip: "maximum limit for undelivered messages, defaults to '10000'",
129+
tooltip: "Maximum limit for undelivered messages, defaults to '10000'",
130130
type: "number",
131131
placeholder: "Enter Queue Limit",
132132
},
@@ -187,7 +187,7 @@ export const notificationEndpointsFields: any = {
187187
name: "tls_client_auth",
188188
label: "TLS Client Auth",
189189
tooltip:
190-
"Client Auth determines the Kafka server's policy for TLS client auth",
190+
"Client Auth determines the Kafka server's policy for TLS client authorization",
191191
type: "string",
192192
placeholder: "Enter TLS Client Auth",
193193
},
@@ -213,14 +213,14 @@ export const notificationEndpointsFields: any = {
213213
{
214214
name: "client_tls_cert",
215215
label: "client TLS cert",
216-
tooltip: "Path to client certificate for mTLS auth",
216+
tooltip: "Path to client certificate for mTLS authorization",
217217
type: "path",
218218
placeholder: "Enter TLS Client Cert",
219219
},
220220
{
221221
name: "client_tls_key",
222222
label: "client TLS key",
223-
tooltip: "Path to client key for mTLS auth",
223+
tooltip: "Path to client key for mTLS authorization",
224224
type: "path",
225225
placeholder: "Enter TLS Client Key",
226226
},
@@ -312,7 +312,7 @@ export const notificationEndpointsFields: any = {
312312
name: "address",
313313
required: true,
314314
label: "Address",
315-
tooltip: "Redis server's address. For example: `localhost:6379`",
315+
tooltip: "Redis server's address e.g. `localhost:6379`",
316316
type: "address",
317317
placeholder: "Enter Address",
318318
},
@@ -346,7 +346,7 @@ export const notificationEndpointsFields: any = {
346346
name: "topic",
347347
required: true,
348348
label: "Topic",
349-
tooltip: "name of the MQTT topic to publish",
349+
tooltip: "Name of the MQTT topic to publish",
350350
type: "string",
351351
placeholder: "Enter Topic",
352352
},
@@ -376,7 +376,7 @@ export const notificationEndpointsFields: any = {
376376
label: "Keep Alive Interval",
377377
tooltip: "Keep-alive interval for MQTT connections in s,m,h,d",
378378
type: "duration",
379-
placeholder: "Enter Keep Alive Internal",
379+
placeholder: "Enter Keep Alive Interval",
380380
},
381381
{
382382
name: "reconnect_interval",
@@ -448,13 +448,13 @@ export const notificationEndpointsFields: any = {
448448
{
449449
name: "streaming",
450450
label: "Streaming",
451-
tooltip: "Set to 'on', to use streaming NATS server",
451+
tooltip: "Set to 'on' to use streaming NATS server",
452452
type: "on|off",
453453
},
454454
{
455455
name: "streaming_async",
456456
label: "Streaming async",
457-
tooltip: "Set to 'on', to enable asynchronous publish",
457+
tooltip: "Set to 'on' to enable asynchronous publish",
458458
type: "on|off",
459459
},
460460
{
@@ -488,7 +488,7 @@ export const notificationEndpointsFields: any = {
488488
{
489489
name: "client_key",
490490
label: "Client Key",
491-
tooltip: "Client cert key for NATS mTLS auth",
491+
tooltip: "Client cert key for NATS mTLS authorization",
492492
type: "string",
493493
placeholder: "Enter Client Key",
494494
},
@@ -530,14 +530,14 @@ export const notificationEndpointsFields: any = {
530530
required: true,
531531
label: "Endpoint",
532532
tooltip:
533-
"webhook server endpoint e.g. http://localhost:8080/minio/events",
533+
"Webhook server endpoint e.g. http://localhost:8080/minio/events",
534534
type: "url",
535535
placeholder: "Enter Endpoint",
536536
},
537537
{
538538
name: "auth_token",
539539
label: "Auth Token",
540-
tooltip: "opaque string or JWT authorization token",
540+
tooltip: "Opaque string or JWT authorization token",
541541
type: "string",
542542
placeholder: "Enter auth_token",
543543
},
@@ -563,14 +563,14 @@ export const notificationEndpointsFields: any = {
563563
{
564564
name: "tls",
565565
label: "TLS",
566-
tooltip: "set to 'on' to enable TLS",
566+
tooltip: "Set to 'on' to enable TLS",
567567
type: "on|off",
568568
},
569569
{
570570
name: "tls_skip_verify",
571571
label: "TLS Skip Verify",
572572
tooltip:
573-
'trust server TLS without verification, defaults to "on" (verify)',
573+
'Trust server TLS without verification, defaults to "on" (verify)',
574574
type: "on|off",
575575
},
576576
...commonFields,

portal-ui/src/screens/Console/IDP/utils.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const ldapFormFields = {
153153
return !s && editMode ? "Server Address is required" : "";
154154
},
155155
label: "Server Insecure",
156-
tooltip: "disable SSL certificate verification ",
156+
tooltip: "Disable SSL certificate verification ",
157157
placeholder: "myldapserver.com:636",
158158
type: "toggle",
159159
},
@@ -174,7 +174,7 @@ export const ldapFormFields = {
174174
},
175175
label: "Lookup Bind DN",
176176
tooltip:
177-
"DN for LDAP read-only service account used to perform DN and group lookups",
177+
"DN (Distinguished Name) for LDAP read-only service account used to perform DN and group lookups",
178178
placeholder: "cn=admin,dc=min,dc=io",
179179
type: "text",
180180
},

0 commit comments

Comments
 (0)