You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**source**|**Yes**| string or [JSONata](100-jsonata.md) expression | Used to fetch data for the widget. In its simplest form, it's the path to the value. Not required for presentational widgets. |
16
-
|**name**|**Yes**| string | Name for the primary label of this field. Required for most widgets (except for some rare cases that don't display a label). This can be a key to use from the [**translation** section](150-translations.md |
17
-
| ). |
16
+
|**name**|**Yes**| string | Name for the primary label of this field. Required for most widgets (except for some rare cases that don't display a label). This can be a key to use from the [**translation** section](150-translations.md). |
18
17
|**widget**| No | string | A widget to render the defined entry. By default the value is displayed verbatim. For more information about the available widgets, see [List and Details Widgets](./50-list-and-details-widgets.md). |
19
18
|**valuePreprocessor**| No | string | Name of the [value preprocessor](130-additional-sections-resources.md#value-preprocessors). |
20
19
|**visibility**| No | boolean or [JSONata](100-jsonata.md) expression | By default all fields are visible; however, you can use the **visibility** property to control a single item display. <br>- If set to `false` explicitly, the field doesn't render. <br> - If set to any string, this property is treated as [JSONata](100-jsonata.md) format, determining if the field should be visible based on the current value given as `$value`. <br> - If not set, the field always renders. |
Copy file name to clipboardExpand all lines: docs/extensibility/50-list-and-details-widgets.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ See the following example:
59
59
description: status.message
60
60
```
61
61
62
-
<img src="./assets/display-widgets/Badge.png" alt="Example of a badge widget" width="50%" style="border: 1px solid #D2D5D9">
62
+
<img src="./assets/display-widgets/Badge.png" alt="Example of a badge widget" width="50%">
63
63
<br/><br/>
64
64
65
65
### `ControlledBy`
@@ -81,7 +81,7 @@ This is an example of kind and name link:
81
81
placeholder: '-'
82
82
```
83
83
84
-
<img src="./assets/display-widgets/ControlledBy.png" alt="Example of a ControlledBy widget" width="40%" style="border: 1px solid #D2D5D9">
84
+
<img src="./assets/display-widgets/ControlledBy.png" alt="Example of a ControlledBy widget" width="40%">
85
85
86
86
This is an exaple of kind only:
87
87
@@ -92,7 +92,7 @@ This is an exaple of kind only:
92
92
kindOnly: true
93
93
```
94
94
95
-
<img src="./assets/display-widgets/ControlledBy--kindOnly.png" alt="Example of a ControlledBy widget without name link" width="40%" style="border: 1px solid #D2D5D9">
95
+
<img src="./assets/display-widgets/ControlledBy--kindOnly.png" alt="Example of a ControlledBy widget without name link" width="40%">
96
96
97
97
### `ConditionList`
98
98
@@ -112,7 +112,7 @@ status:
112
112
source: status.conditions
113
113
```
114
114
115
-
<img src="./assets/display-widgets/ConditionList.png" alt="Example of a condition list widget" style="border: 1px solid #D2D5D9">
115
+
<img src="./assets/display-widgets/ConditionList.png" alt="Example of a condition list widget">
116
116
117
117
This is an example of `ConditionList` with overriden statuses:
118
118
@@ -139,7 +139,7 @@ status:
139
139
- unknown
140
140
```
141
141
142
-
<img src="./assets/display-widgets/ConditionListHighlights.png" alt="Example of a condition list widget with overriden statuses" style="border: 1px solid #D2D5D9">
142
+
<img src="./assets/display-widgets/ConditionListHighlights.png" alt="Example of a condition list widget with overriden statuses">
143
143
144
144
### `ExternalLink`
145
145
@@ -169,7 +169,7 @@ This is an example of source only usage:
169
169
name: spec.servers.hosts
170
170
```
171
171
172
-
<img src="./assets/display-widgets/ExternalLinks.png" alt="Example of a ExternalLink widget without linkFormula and textFormula" width="40%" style="border: 1px solid #D2D5D9">
172
+
<img src="./assets/display-widgets/ExternalLinks.png" alt="Example of a ExternalLink widget without linkFormula and textFormula" width="40%">
<img src="./assets/display-widgets/CodeViewer.png" alt="Example of a CodeViewer widget" style="border: 1px solid #D2D5D9">
372
+
<img src="./assets/display-widgets/CodeViewer.png" alt="Example of a CodeViewer widget">
373
373
374
374
### `Columns`
375
375
@@ -398,7 +398,7 @@ See the following example:
398
398
- source: spec.other-value
399
399
```
400
400
401
-
<img src="./assets/display-widgets/Columns.png" alt="Example of a columns widget" style="border: 1px solid #D2D5D9">
401
+
<img src="./assets/display-widgets/Columns.png" alt="Example of a columns widget">
402
402
403
403
### `EventList`
404
404
@@ -422,7 +422,7 @@ See the following examples:
422
422
defaultType: information
423
423
```
424
424
425
-
<img src="./assets/display-widgets/EventList-InvolvedObject.png" alt="Example of a EventList widget" style="border: 1px solid #D2D5D9">
425
+
<img src="./assets/display-widgets/EventList-InvolvedObject.png" alt="Example of a EventList widget">
426
426
427
427
---
428
428
@@ -434,7 +434,7 @@ See the following examples:
434
434
hideInvolvedObjects: true
435
435
```
436
436
437
-
<img src="./assets/display-widgets/EventList-Hidden.png" alt="Example of a EventList widget with hidden involved objects" style="border: 1px solid #D2D5D9">
437
+
<img src="./assets/display-widgets/EventList-Hidden.png" alt="Example of a EventList widget with hidden involved objects">
438
438
439
439
### `FeaturedCard`
440
440
@@ -480,7 +480,7 @@ injections: |-
480
480
location: ClusterOverview
481
481
```
482
482
483
-
<img src="./assets/display-widgets/FeaturedCard.png" alt="Example of a FeaturedCard widget" style="border: 1px solid #D2D5D9">
483
+
<img src="./assets/display-widgets/FeaturedCard.png" alt="Example of a FeaturedCard widget">
484
484
485
485
### `Panel`
486
486
@@ -512,7 +512,7 @@ See the following example:
512
512
- source: '$parent.entry2'
513
513
```
514
514
515
-
<img src="./assets/display-widgets/Panel.png" alt="Example of a panel widget" style="border: 1px solid #D2D5D9">
515
+
<img src="./assets/display-widgets/Panel.png" alt="Example of a panel widget">
0 commit comments