parse-dashboard 3.3.0-alpha.12 → 3.3.0-alpha.16

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
@@ -37,6 +37,7 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
37
37
  - [App Background Color Configuration](#app-background-color-configuration)
38
38
  - [Other Configuration Options](#other-configuration-options)
39
39
  - [Prevent columns sorting](#prevent-columns-sorting)
40
+ - [Custom order in the filter popup](#custom-order-in-the-filter-popup)
40
41
  - [Running as Express Middleware](#running-as-express-middleware)
41
42
  - [Deploying Parse Dashboard](#deploying-parse-dashboard)
42
43
  - [Preparing for Deployment](#preparing-for-deployment)
@@ -294,6 +295,29 @@ You can prevent some columns to be sortable by adding `preventSort` to columnPre
294
295
  ]
295
296
  ```
296
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
+
297
321
  # Running as Express Middleware
298
322
 
299
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-alpha.12",
3
+ "version": "3.3.0-alpha.16",
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.2.0",
44
+ "copy-to-clipboard": "3.3.1",
45
45
  "csurf": "1.11.0",
46
46
  "express": "4.17.1",
47
- "graphiql": "1.4.2",
47
+ "graphiql": "1.4.7",
48
48
  "graphql": "15.6.1",
49
49
  "history": "4.10.1",
50
- "immutable": "4.0.0-rc.9",
50
+ "immutable": "4.0.0",
51
51
  "immutable-devtools": "0.1.5",
52
52
  "inquirer": "8.2.0",
53
53
  "js-beautify": "1.14.0",
54
54
  "otpauth": "7.0.6",
55
- "package-json": "6.5.0",
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,15 +64,15 @@
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.0.0",
67
+ "react-helmet": "6.1.0",
68
68
  "react-json-view": "1.21.3",
69
- "react-popper-tooltip": "4.3.0",
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",
73
73
  "regenerator-runtime": "0.13.8",
74
74
  "semver": "7.3.4",
75
- "typescript": "4.4.3"
75
+ "typescript": "4.4.4"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@actions/core": "1.2.6",
@@ -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.12.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,8 +113,8 @@
113
113
  "semantic-release": "17.4.6",
114
114
  "style-loader": "1.1.2",
115
115
  "svg-prep": "1.0.4",
116
- "webpack": "5.53.0",
117
- "webpack-cli": "4.0.0",
116
+ "webpack": "5.61.0",
117
+ "webpack-cli": "4.9.1",
118
118
  "yaml": "1.10.0"
119
119
  },
120
120
  "scripts": {
@@ -123,8 +123,8 @@
123
123
  "dev": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --devtool eval-source-map --progress --watch",
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
- "build": "cross-env NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
127
- "test": "cross-env NODE_PATH=./node_modules jest",
126
+ "build": "webpack --node-env=production --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
127
+ "test": "jest",
128
128
  "lint": "eslint . --ignore-path .gitignore --cache",
129
129
  "pretest": "npm run lint",
130
130
  "generate": "node scripts/generate.js",