parse-dashboard 7.3.0-alpha.13 → 7.3.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -949,6 +949,7 @@ A text item that consists of a key and a value. The value can optionally be link
|
|
|
949
949
|
| `value` | String | - | No | The value text to display. |
|
|
950
950
|
| `url` | String | `undefined` | Yes | The URL that will be opened in a new browser tab when clicking on the value text. It can be set to an absolute URL or a relative URL in which case the base URL is `<PROTOCOL>://<HOST>/<MOUNT_PATH>/`. |
|
|
951
951
|
| `isRelativeUrl` | Boolean | `false` | Yes | Set this to `true` when linking to another dashboard page, in which case the base URL for the relative URL will be `<PROTOCOL>://<HOST>/<MOUNT_PATH>/apps/<APP_NAME>/`. |
|
|
952
|
+
| `values` | Array | - | Yes | Additional values to display after `value`. Each item is an object with `value`, optional `url` and `isRelativeUrl`. |
|
|
952
953
|
| `style` | Object | - | Yes | The CSS style definition. |
|
|
953
954
|
|
|
954
955
|
Examples:
|
|
@@ -981,6 +982,17 @@ Examples:
|
|
|
981
982
|
}
|
|
982
983
|
```
|
|
983
984
|
|
|
985
|
+
```json
|
|
986
|
+
{
|
|
987
|
+
"type": "keyValue",
|
|
988
|
+
"key": "Purchase Value",
|
|
989
|
+
"value": "123",
|
|
990
|
+
"url": "browser/Purchase",
|
|
991
|
+
"isRelativeUrl": true,
|
|
992
|
+
"values": [{ "value": "456" }]
|
|
993
|
+
}
|
|
994
|
+
```
|
|
995
|
+
|
|
984
996
|
To navigate to a specific object using a relative URL, the query parameters must be URL encoded:
|
|
985
997
|
|
|
986
998
|
```js
|
|
@@ -1207,4 +1219,4 @@ As of April 5, 2017, Parse, LLC has transferred this code to the parse-community
|
|
|
1207
1219
|
|
|
1208
1220
|
[license-svg]: https://img.shields.io/badge/license-BSD-lightgrey.svg
|
|
1209
1221
|
[license-link]: LICENSE
|
|
1210
|
-
[open-collective-link]: https://opencollective.com/parse-server
|
|
1222
|
+
[open-collective-link]: https://opencollective.com/parse-server
|