parse-dashboard 3.3.0-alpha.9 → 3.3.0
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.
|
@@ -4,6 +4,14 @@ object-assign
|
|
|
4
4
|
@license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/*!
|
|
8
|
+
* escape-html
|
|
9
|
+
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
10
|
+
* Copyright(c) 2015 Andreas Lubbe
|
|
11
|
+
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
12
|
+
* MIT Licensed
|
|
13
|
+
*/
|
|
14
|
+
|
|
7
15
|
/**
|
|
8
16
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
9
17
|
*
|
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
---
|
|
2
4
|
|
|
3
5
|
[](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Aalpha)
|
|
4
6
|
[](https://snyk.io/test/github/parse-community/parse-dashboard)
|
|
@@ -20,6 +22,8 @@
|
|
|
20
22
|
|
|
21
23
|
Parse Dashboard is a standalone dashboard for managing your [Parse Server](https://github.com/ParsePlatform/parse-server) apps.
|
|
22
24
|
|
|
25
|
+
---
|
|
26
|
+
|
|
23
27
|
- [Getting Started](#getting-started)
|
|
24
28
|
- [Local Installation](#local-installation)
|
|
25
29
|
- [Configuring Parse Dashboard](#configuring-parse-dashboard)
|
|
@@ -33,6 +37,7 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
|
|
|
33
37
|
- [App Background Color Configuration](#app-background-color-configuration)
|
|
34
38
|
- [Other Configuration Options](#other-configuration-options)
|
|
35
39
|
- [Prevent columns sorting](#prevent-columns-sorting)
|
|
40
|
+
- [Custom order in the filter popup](#custom-order-in-the-filter-popup)
|
|
36
41
|
- [Running as Express Middleware](#running-as-express-middleware)
|
|
37
42
|
- [Deploying Parse Dashboard](#deploying-parse-dashboard)
|
|
38
43
|
- [Preparing for Deployment](#preparing-for-deployment)
|
|
@@ -290,6 +295,29 @@ You can prevent some columns to be sortable by adding `preventSort` to columnPre
|
|
|
290
295
|
]
|
|
291
296
|
```
|
|
292
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
|
+
|
|
293
321
|
# Running as Express Middleware
|
|
294
322
|
|
|
295
323
|
Instead of starting Parse Dashboard with the CLI, you can also run it as an [express](https://github.com/expressjs/express) middleware.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-dashboard",
|
|
3
|
-
"version": "3.3.0
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ParsePlatform/parse-dashboard"
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"commander": "6.2.1",
|
|
42
42
|
"connect-flash": "0.1.1",
|
|
43
43
|
"cookie-session": "2.0.0-beta.3",
|
|
44
|
-
"copy-to-clipboard": "3.
|
|
44
|
+
"copy-to-clipboard": "3.3.1",
|
|
45
45
|
"csurf": "1.11.0",
|
|
46
46
|
"express": "4.17.1",
|
|
47
|
-
"graphiql": "1.4.
|
|
48
|
-
"graphql": "15.6.
|
|
47
|
+
"graphiql": "1.4.7",
|
|
48
|
+
"graphql": "15.6.1",
|
|
49
49
|
"history": "4.10.1",
|
|
50
|
-
"immutable": "4.0.0
|
|
50
|
+
"immutable": "4.0.0",
|
|
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
|
-
"package-json": "
|
|
55
|
+
"package-json": "7.0.0",
|
|
56
56
|
"parse": "3.3.1",
|
|
57
57
|
"passport": "0.5.0",
|
|
58
58
|
"passport-local": "1.0.0",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"react-dnd": "10.0.2",
|
|
65
65
|
"react-dnd-html5-backend": "10.0.2",
|
|
66
66
|
"react-dom": "16.14.0",
|
|
67
|
-
"react-helmet": "6.
|
|
67
|
+
"react-helmet": "6.1.0",
|
|
68
68
|
"react-json-view": "1.21.3",
|
|
69
|
-
"react-popper-tooltip": "4.3.
|
|
69
|
+
"react-popper-tooltip": "4.3.1",
|
|
70
70
|
"react-redux": "5.1.2",
|
|
71
71
|
"react-router": "5.2.1",
|
|
72
72
|
"react-router-dom": "5.3.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"eslint": "6.8.0",
|
|
99
99
|
"eslint-plugin-jest": "23.8.2",
|
|
100
100
|
"eslint-plugin-react": "7.19.0",
|
|
101
|
-
"http-server": "0.
|
|
101
|
+
"http-server": "14.0.0",
|
|
102
102
|
"jest": "24.8.0",
|
|
103
103
|
"madge": "5.0.1",
|
|
104
104
|
"marked": "0.8.2",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"semantic-release": "17.4.6",
|
|
114
114
|
"style-loader": "1.1.2",
|
|
115
115
|
"svg-prep": "1.0.4",
|
|
116
|
-
"webpack": "5.
|
|
116
|
+
"webpack": "5.61.0",
|
|
117
117
|
"webpack-cli": "4.0.0",
|
|
118
118
|
"yaml": "1.10.0"
|
|
119
119
|
},
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"dashboard": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --progress --watch",
|
|
125
125
|
"pig": "http-server ./PIG -p 4041 -s & webpack --config webpack/PIG.config.js --progress --watch",
|
|
126
126
|
"build": "cross-env NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
|
|
127
|
-
"test": "
|
|
127
|
+
"test": "jest",
|
|
128
128
|
"lint": "eslint . --ignore-path .gitignore --cache",
|
|
129
129
|
"pretest": "npm run lint",
|
|
130
130
|
"generate": "node scripts/generate.js",
|