parse-dashboard 3.3.0-alpha.10 → 3.3.0-alpha.14

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
@@ -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.10",
3
+ "version": "3.3.0-alpha.14",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ParsePlatform/parse-dashboard"
@@ -41,11 +41,11 @@
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
47
  "graphiql": "1.4.2",
48
- "graphql": "15.6.0",
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",