parse-dashboard 3.3.0-alpha.1 → 3.3.0-alpha.13
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/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/img/{151bd0d0acab0c914cf28e7ceba3fed8.jpg → 151bd0d0acab0c914cf2.jpg} +0 -0
- package/Parse-Dashboard/public/bundles/img/{4400f45c001b956571860243d332df58.jpg → 4400f45c001b95657186.jpg} +0 -0
- package/Parse-Dashboard/public/bundles/img/{69665d8b6f6f575b2a22907909a456a1.png → 69665d8b6f6f575b2a22.png} +0 -0
- package/Parse-Dashboard/public/bundles/img/{dc9bd65a9fc3e6b981413630496bd936.jpg → dc9bd65a9fc3e6b98141.jpg} +0 -0
- package/Parse-Dashboard/public/bundles/img/{f8c84bccdc8cdeed8ded6ff40f55f090.jpg → f8c84bccdc8cdeed8ded.jpg} +0 -0
- package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
- package/README.md +55 -4
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Aalpha)
|
|
6
6
|
[](https://snyk.io/test/github/parse-community/parse-dashboard)
|
|
7
|
+
|
|
8
|
+
[](https://nodejs.org/)
|
|
9
|
+
[](https://github.com/parse-community/parse-dashboard/releases)
|
|
10
|
+
|
|
11
|
+
[](https://www.npmjs.com/package/parse-dashboard)
|
|
12
|
+
[](https://www.npmjs.com/package/parse-dashboard)
|
|
13
|
+
[](https://www.npmjs.com/package/parse-dashboard)
|
|
14
|
+
|
|
7
15
|
[][open-collective-link]
|
|
8
16
|
[][open-collective-link]
|
|
9
17
|
[![License][license-svg]][license-link]
|
|
10
18
|
[](https://community.parseplatform.org/c/parse-server)
|
|
11
19
|
[](https://twitter.com/intent/follow?screen_name=ParsePlatform)
|
|
12
20
|
|
|
21
|
+
---
|
|
22
|
+
|
|
13
23
|
Parse Dashboard is a standalone dashboard for managing your [Parse Server](https://github.com/ParsePlatform/parse-server) apps.
|
|
14
24
|
|
|
25
|
+
---
|
|
26
|
+
|
|
15
27
|
- [Getting Started](#getting-started)
|
|
16
28
|
- [Local Installation](#local-installation)
|
|
17
29
|
- [Configuring Parse Dashboard](#configuring-parse-dashboard)
|
|
@@ -25,6 +37,7 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
|
|
|
25
37
|
- [App Background Color Configuration](#app-background-color-configuration)
|
|
26
38
|
- [Other Configuration Options](#other-configuration-options)
|
|
27
39
|
- [Prevent columns sorting](#prevent-columns-sorting)
|
|
40
|
+
- [Custom order in the filter popup](#custom-order-in-the-filter-popup)
|
|
28
41
|
- [Running as Express Middleware](#running-as-express-middleware)
|
|
29
42
|
- [Deploying Parse Dashboard](#deploying-parse-dashboard)
|
|
30
43
|
- [Preparing for Deployment](#preparing-for-deployment)
|
|
@@ -40,6 +53,8 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
|
|
|
40
53
|
- [Run with Docker](#run-with-docker)
|
|
41
54
|
- [Features](#features)
|
|
42
55
|
- [Browse as User](#browse-as-user)
|
|
56
|
+
- [Change Pointer Key](#change-pointer-key)
|
|
57
|
+
- [Limitations](#limitations)
|
|
43
58
|
- [CSV Export](#csv-export)
|
|
44
59
|
- [Contributing](#contributing)
|
|
45
60
|
|
|
@@ -280,6 +295,29 @@ You can prevent some columns to be sortable by adding `preventSort` to columnPre
|
|
|
280
295
|
]
|
|
281
296
|
```
|
|
282
297
|
|
|
298
|
+
### Custom order in the filter popup
|
|
299
|
+
|
|
300
|
+
If you have classes with a lot of columns and you filter them often with the same columns you can sort those to the top by extending the `columnPreference` setting with the `filterSortToTop` option:
|
|
301
|
+
|
|
302
|
+
```json
|
|
303
|
+
"apps": [
|
|
304
|
+
{
|
|
305
|
+
"columnPreference": {
|
|
306
|
+
"_User": [
|
|
307
|
+
{
|
|
308
|
+
"name": "objectId",
|
|
309
|
+
"filterSortToTop": true
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "email",
|
|
313
|
+
"filterSortToTop": true
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
```
|
|
320
|
+
|
|
283
321
|
# Running as Express Middleware
|
|
284
322
|
|
|
285
323
|
Instead of starting Parse Dashboard with the CLI, you can also run it as an [express](https://github.com/expressjs/express) middleware.
|
|
@@ -605,6 +643,19 @@ This feature allows you to use the data browser as another user, respecting that
|
|
|
605
643
|
|
|
606
644
|
> ⚠️ Logging in as another user will trigger the same Cloud Triggers as if the user logged in themselves using any other login method. Logging in as another user requires to enter that user's password.
|
|
607
645
|
|
|
646
|
+
## Change Pointer Key
|
|
647
|
+
|
|
648
|
+
▶️ *Core > Browser > Edit > Change pointer key*
|
|
649
|
+
|
|
650
|
+
This feature allows you to change how a pointer is represented in the browser. By default, a pointer is represented by the `objectId` of the linked object. You can change this to any other column of the object class. For example, if class `Installation` has a field that contains a pointer to class `User`, the pointer will show the `objectId` of the user by default. You can change this to display the field `email` of the user, so that a pointer displays the user's email address instead.
|
|
651
|
+
|
|
652
|
+
### Limitations
|
|
653
|
+
|
|
654
|
+
- This does not work for an array of pointers; the pointer will always display the `objectId`.
|
|
655
|
+
- System columns like `createdAt`, `updatedAt`, `ACL` cannot be set as pointer key.
|
|
656
|
+
- This feature uses browser storage; switching to a different browser resets the pointer key to `objectId`.
|
|
657
|
+
|
|
658
|
+
> ⚠️ For each custom pointer key in each row, a server request is triggered to resolve the custom pointer key. For example, if the browser shows a class with 50 rows and each row contains 3 custom pointer keys, a total of 150 separate server requests are triggered.
|
|
608
659
|
## CSV Export
|
|
609
660
|
|
|
610
661
|
▶️ *Core > Browser > Export*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-dashboard",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.13",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ParsePlatform/parse-dashboard"
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"csurf": "1.11.0",
|
|
46
46
|
"express": "4.17.1",
|
|
47
47
|
"graphiql": "1.4.2",
|
|
48
|
-
"graphql": "15.
|
|
48
|
+
"graphql": "15.6.1",
|
|
49
49
|
"history": "4.10.1",
|
|
50
50
|
"immutable": "4.0.0-rc.9",
|
|
51
51
|
"immutable-devtools": "0.1.5",
|
|
52
|
-
"inquirer": "8.
|
|
52
|
+
"inquirer": "8.2.0",
|
|
53
53
|
"js-beautify": "1.14.0",
|
|
54
54
|
"otpauth": "7.0.6",
|
|
55
55
|
"package-json": "6.5.0",
|
|
56
56
|
"parse": "3.3.1",
|
|
57
|
-
"passport": "0.
|
|
57
|
+
"passport": "0.5.0",
|
|
58
58
|
"passport-local": "1.0.0",
|
|
59
59
|
"prismjs": "1.25.0",
|
|
60
60
|
"prop-types": "15.7.2",
|
|
@@ -98,7 +98,6 @@
|
|
|
98
98
|
"eslint": "6.8.0",
|
|
99
99
|
"eslint-plugin-jest": "23.8.2",
|
|
100
100
|
"eslint-plugin-react": "7.19.0",
|
|
101
|
-
"file-loader": "6.0.0",
|
|
102
101
|
"http-server": "0.12.0",
|
|
103
102
|
"jest": "24.8.0",
|
|
104
103
|
"madge": "5.0.1",
|