Skip to content

Commit 88a64e1

Browse files
committed
Merge branch 'master' of parse-community/parse-dashboard into edit-clone-rows
2 parents 5d1b9ff + dd0a460 commit 88a64e1

23 files changed

+607
-66
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
name: "\U0001F41B Report an issue"
3+
about: A feature is not working as expected.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### New Issue Checklist
11+
<!--
12+
Check every following box [x] before submitting your issue.
13+
Click the "Preview" tab for better readability.
14+
Thanks for contributing to Parse Platform!
15+
-->
16+
17+
- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/parse-server/blob/master/SECURITY.md).
18+
- [ ] I am not just asking a [question](https://github.com/parse-community/.github/blob/master/SUPPORT.md).
19+
- [ ] I have searched through [existing issues](https://github.com/parse-community/parse-dashboard/issues?q=is%3Aissue).
20+
- [ ] I can reproduce the issue with the [latest version of Parse Server](https://github.com/parse-community/parse-server/releases).
21+
- [ ] I can reproduce the issue with the [latest version of Parse Dashboard](https://github.com/parse-community/parse-dashboard/releases).
22+
23+
### Issue Description
24+
<!-- What is the specific issue? -->
25+
26+
### Steps to reproduce
27+
<!-- How can someone else reproduce the issue? -->
28+
29+
### Actual Outcome
30+
<!-- What outcome did you get? -->
31+
32+
### Expected Outcome
33+
<!-- What outcome did you expect? -->
34+
35+
### Pull Request
36+
<!-- If you can, please submit a PR with a fix. -->
37+
38+
- PR: #`FILL_THIS_OUT`
39+
40+
### Environment
41+
<!-- Be specific with versions, don't use "latest" or semver ranges like "~x.y.z" or "^x.y.z". -->
42+
43+
Dashboard
44+
- Parse Dashboard version: `FILL_THIS_OUT`
45+
- Browser (Safari, Chrome, Firefox, Edge, etc.): `FILL_THIS_OUT`
46+
- Browser version: `FILL_THIS_OUT`
47+
48+
Server
49+
- Parse Server version: `FILL_THIS_OUT`
50+
- Operating system: `FILL_THIS_OUT`
51+
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): `FILL_THIS_OUT`
52+
53+
Database
54+
- System (MongoDB or Postgres): `FILL_THIS_OUT`
55+
- Database version: `FILL_THIS_OUT`
56+
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): `FILL_THIS_OUT`
57+
58+
### Logs
59+
<!--
60+
Include relevant logs here. Turn on additional logging by configuring VERBOSE=1 in your environment. If you get a Browser JavaScript error run `npm run dev` to see source maps and a more detailed stack trace.
61+
-->
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: "\U0001F4A1 Request a feature"
3+
about: Suggest new functionality or an enhancement of existing functionality.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### New Feature / Enhancement Checklist
11+
<!--
12+
Check every following box [x] before submitting your issue.
13+
Click the "Preview" tab for better readability.
14+
Thanks for contributing to Parse Platform!
15+
-->
16+
17+
- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/parse-server/blob/master/SECURITY.md).
18+
- [ ] I am not just asking a [question](https://github.com/parse-community/.github/blob/master/SUPPORT.md).
19+
- [ ] I have searched through [existing issues](https://github.com/parse-community/parse-dashboard/issues?q=is%3Aissue).
20+
21+
### Current Limitation
22+
<!-- Which current limitation is the feature or enhancement addressing? -->
23+
24+
### Feature / Enhancement Description
25+
<!-- What is the concept of the functionality and how should it be implemented? -->
26+
27+
### Example Use Case
28+
<!-- What is an example use case in steps (1. / 2. / 3. / etc.) that describes the functionality? -->
29+
30+
### Alternatives / Workarounds
31+
<!-- Which alternatives or workarounds exist currently? -->
32+
33+
### 3rd Party References
34+
<!-- Have you seen a similar functionality provided somewhere else? -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🙋🏽‍♀️ Getting help with code
4+
url: https://stackoverflow.com/questions/tagged/parse-platform
5+
about: Get help with code-level questions on Stack Overflow.
6+
- name: 🙋 Getting general help
7+
url: https://community.parseplatform.org
8+
about: Get help with other questions on our Community Forum.

.github/pull_request_template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### New Pull Request Checklist
2+
<!--
3+
Please check the following boxes [x] before submitting your issue.
4+
Click the "Preview" tab for better readability.
5+
Thanks for contributing to Parse Server!
6+
-->
7+
8+
- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/parse-server/blob/master/SECURITY.md).
9+
- [ ] I am creating this PR in reference to an [issue](https://github.com/parse-community/parse-dashboard/issues?q=is%3Aissue).
10+
11+
### Issue Description
12+
<!-- Add a brief description of the issue this PR solves. -->
13+
14+
Related issue: #`FILL_THIS_OUT`
15+
16+
### Approach
17+
<!-- Add a description of the approach in this PR. -->
18+
19+
### TODOs before merging
20+
<!--
21+
Add TODOs that need to be completed before merging this PR.
22+
Delete TODOs that do not apply to this PR.
23+
-->
24+
25+
- [ ] Add tests
26+
- [ ] Add entry to changelog
27+
- [ ] Add changes to documentation (guides, repository pages, in-code descriptions)
Lines changed: 128 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,133 @@
11
{
22
"apps": [
33
{
4-
"serverURL": "http://localhost:1338/parse",
5-
"appId": "hello",
6-
"masterKey": "world",
7-
"appName": "",
8-
"iconName": "",
9-
"primaryBackgroundColor": "",
10-
"secondaryBackgroundColor": ""
4+
"serverURL": "https://parseapi-homolog.back4app.com",
5+
"appId": "mQFigU8a6rIVd0iR8YspHMZqG7xdaFRMRjhrLwHm",
6+
"javascriptKey": "59Aqu7n6WCm2WGgqo5xpJoujuLKbzLTSa2pSlbpY",
7+
"restKey": "s9IRTCGVGpPCF6vPOM80u7hyH44pd8ckNITufvmE",
8+
"clientKey": "41wIRkLIlSF5ksPDoiRp38t0glmOgEN5UHzIlR72",
9+
"windowsKey": "lRr1as1Bqyh815zQ2XBKsC8GSob0Kz15qgZufPyl",
10+
"webhookKey": "t3YafAm0UYjoytFYX7FGbczZIGAOwjfGF6GA6fSc",
11+
"apiKey": "abf2c547-6700-460f-94a0-0b55f1ef443c",
12+
"appName": "Sample Blog App",
13+
"production": true,
14+
"appNameForURL": "376a0ede-1aef-4fb7-b9d9-480dbbce2181",
15+
"feedbackEmail": "[email protected]",
16+
"custom": {
17+
"isGDPR": false,
18+
"forceShowGDPRFields": false,
19+
"showAdminPage": false,
20+
"isOwner": true,
21+
"isDatabasePublic": false
22+
},
23+
"supportedPushLocales": [],
24+
"graphQLServerURL": "https://parseapi.back4app.com/graphql",
25+
"masterKey": "WBj1fHiKL2oX60XKlSQK29Ofo04ejsnuTSbowkjg"
26+
},
27+
{
28+
"serverURL": "https://parseapi-homolog.back4app.com",
29+
"appId": "WaVsDEoypTqV8yEB5PZxY6Yxw5oSM6R0UMUV2KeT",
30+
"javascriptKey": "JSqQJb7h3UZ4LsbCVaezS2f52rIXTpwQ6sSO5K5q",
31+
"restKey": "3hLLYc4aBmihnGJl9rXO5geEdbCWZ5SLXaqjOigr",
32+
"clientKey": "W7VQq9zc0x2YIc2VkHI1sNRIKltpyrhPlvIXsOda",
33+
"windowsKey": "SZDqvZwuWRWNCSnX4mLbNbee3BXkQLKCSRUiIxOw",
34+
"webhookKey": "wNfGMB7Td9bQM2fNVYAetjIxmTT8l2OKw5sJKhzx",
35+
"apiKey": "0a6a3380-e4c7-43b3-a3f3-ec19137c532d",
36+
"appName": "My awesome app",
37+
"production": true,
38+
"appNameForURL": "f171d9cb-2f9a-4ebc-b89e-3044d74c3707",
39+
"feedbackEmail": "[email protected]",
40+
"custom": {
41+
"isGDPR": false,
42+
"forceShowGDPRFields": false,
43+
"showAdminPage": false,
44+
"isOwner": true,
45+
"isDatabasePublic": false
46+
},
47+
"supportedPushLocales": ["en", "ru", "fr"],
48+
"graphQLServerURL": "https://parseapi.back4app.com/graphql",
49+
"masterKey": "WCyo3hDrxRy7GLWGdXvqMfbzJvtVpIRTNZORMrgx"
50+
},
51+
{
52+
"serverURL": "https://parseapi-homolog.back4app.com",
53+
"appId": "QI6OXGgC5SWniVM8pyPcxjq1yvoftphMO3CInOkn",
54+
"javascriptKey": "P1hfsgqtUeDGJBtnlWZQjDieYWdhshtzNFLjvfoG",
55+
"restKey": "5CFY3ZpapN7resoznUqnFtLB3K3uM0mFdr2ECqMc",
56+
"clientKey": "PjwqF4xS6fo08O0wv4dnpU9Eyqs40xsl7gq5loia",
57+
"windowsKey": "jpHF6wqrioJ7BzYvyE9jItwqthPcE12IMRKaxLx8",
58+
"webhookKey": "pz0kBJKPzmV4ca1DsRw51UxdlMacgytwwMRLV3HB",
59+
"apiKey": "34769d3d-fbb1-49d6-9fb4-754c2bfd64ca",
60+
"appName": "osm app",
61+
"production": true,
62+
"appNameForURL": "c7a6796e-aca0-4a6c-8531-264db4e1a01b",
63+
"feedbackEmail": "[email protected]",
64+
"custom": {
65+
"isGDPR": false,
66+
"forceShowGDPRFields": false,
67+
"showAdminPage": false,
68+
"isOwner": true,
69+
"isDatabasePublic": false
70+
},
71+
"supportedPushLocales": [],
72+
"graphQLServerURL": "https://parseapi.back4app.com/graphql",
73+
"masterKey": "jrkeRKQ7FAyflU44QxkEaIxcy7PxKVZZTlZRFTrX"
74+
},
75+
{
76+
"serverURL": "https://parseapi.back4app.com",
77+
"appId": "hava58eE0F5BnP1Xz1AWDiW5Sdn7JEZtLqeHVCXT",
78+
"javascriptKey": "sI0KsJndJFyeH6yTgXoMHOWLCplffAIAQEDSynDu",
79+
"restKey": "mUala6JGbvpJ6mgHgNwZ5sKzpsGSauMHrfwlURO3",
80+
"clientKey": "lgKMxXRVEgt1P0iblJug3bYrLtgpizjxZ5eFqlPI",
81+
"windowsKey": "Pt3IM73T8JeIW0GWKBcv9BpGCJXrg0ntlx52yMVk",
82+
"webhookKey": "5Y4hiZMI7HsgXSG5bJF9NWPLpMa7XRp7Nk8QyPmK",
83+
"apiKey": "73fcf2c0-980c-4524-8360-1b85ba9c9022",
84+
"appName": "deja vu",
85+
"production": true,
86+
"appNameForURL": "2d34d793-1a89-4514-b189-b30c2f144404",
87+
"feedbackEmail": "[email protected]",
88+
"custom": {
89+
"isGDPR": false,
90+
"forceShowGDPRFields": false,
91+
"showAdminPage": false,
92+
"isOwner": true,
93+
"isDatabasePublic": false
94+
},
95+
"supportedPushLocales": [],
96+
"graphQLServerURL": "https://parseapi.back4app.com/graphql",
97+
"masterKey": "H2h3ZMcDwG7wTZQ7aRJ1kd6ivgU8taQIZ2gjfrms"
98+
},
99+
{
100+
"serverURL": "https://parseapi.back4app.com",
101+
"appId": "cq1SwLrKOMnvVRHlwXLOQ0OJwl9DkVXDHrAOnXLp",
102+
"javascriptKey": "errgVPjCiwrh80tmOwE789nsabiJzOTAbAeBTBKn",
103+
"restKey": "xWE0sYXpsYYpYlJBYIxJH5XmXJ1tjTQeEkWg3qah",
104+
"clientKey": "ECFIFusLOcoaMsqZQWaDLi7QIER6ooBkuu9HsRHx",
105+
"windowsKey": "pZWFWviroSRWBYlNC8xVyYlXhRTHoLEAQvbNuXYi",
106+
"webhookKey": "s0EZTYRAQVk3Os95a0Z4jSM1IAnv507m2kgHwu7e",
107+
"apiKey": "d0bcb6bd-430a-4f91-aad0-351c9d8afee9",
108+
"appName": "kakashi",
109+
"production": true,
110+
"appNameForURL": "319c036a-e647-4519-bc67-57c476daf2f9",
111+
"feedbackEmail": "[email protected]",
112+
"custom": {
113+
"isGDPR": false,
114+
"forceShowGDPRFields": false,
115+
"showAdminPage": false,
116+
"isOwner": true,
117+
"isDatabasePublic": false
118+
},
119+
"supportedPushLocales": [],
120+
"graphQLServerURL": "https://parseapi.back4app.com/graphql",
121+
"masterKey": "YyxjrcUYkwZGudgTdgrAdCkX4nRtGQfFp3UVKtNE"
11122
}
12123
],
13-
"iconsFolder": "icons"
14-
}
124+
"iconsFolder": "icons",
125+
"newFeaturesInLatestVersion": [],
126+
"user": {
127+
"email": "[email protected]",
128+
"has_password": false,
129+
"account_keys": [],
130+
"name": "[email protected]",
131+
"playDatabaseBrowserTutorial": false
132+
}
133+
}

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
2323
* [App Icon Configuration](#app-icon-configuration)
2424
* [App Background Color Configuration](#app-background-color-configuration)
2525
* [Other Configuration Options](#other-configuration-options)
26+
* [Prevent columns sorting](#prevent-columns-sorting)
2627
* [Running as Express Middleware](#running-as-express-middleware)
2728
* [Deploying Parse Dashboard](#deploying-parse-dashboard)
2829
* [Preparing for Deployment](#preparing-for-deployment)
@@ -241,6 +242,33 @@ You can set `appNameForURL` in the config file for each app to control the url o
241242

242243
To change the app to production, simply set `production` to `true` in your config file. The default value is false if not specified.
243244

245+
### Prevent columns sorting
246+
247+
You can prevent some columns to be sortable by adding `preventSort` to columnPreference options in each app configuration
248+
249+
```json
250+
251+
"apps": [
252+
{
253+
"appId": "local_app_id",
254+
"columnPreference": {
255+
"_User": [
256+
{
257+
"name": "createdAt",
258+
"visible": true,
259+
"preventSort": true
260+
},
261+
{
262+
"name": "updatedAt",
263+
"visible": true,
264+
"preventSort": false
265+
},
266+
]
267+
}
268+
}
269+
]
270+
```
271+
244272
# Running as Express Middleware
245273

246274
Instead of starting Parse Dashboard with the CLI, you can also run it as an [express](https://github.com/expressjs/express) middleware.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"LICENSE"
3636
],
3737
"dependencies": {
38-
"@babel/runtime": "7.13.17",
38+
"@babel/runtime": "7.14.6",
3939
"bcryptjs": "2.3.0",
4040
"body-parser": "1.19.0",
4141
"codemirror-graphql": "github:timsuchanek/codemirror-graphql#details-fix",
@@ -51,27 +51,27 @@
5151
"history": "4.10.1",
5252
"immutable": "4.0.0-rc.9",
5353
"immutable-devtools": "0.1.5",
54-
"js-beautify": "1.13.13",
54+
"js-beautify": "1.14.0",
5555
"json-file-plus": "3.2.0",
5656
"package-json": "6.5.0",
57-
"parse": "2.19.0",
57+
"parse": "3.3.0",
5858
"passport": "0.4.1",
5959
"passport-local": "1.0.0",
60-
"prismjs": "1.23.0",
60+
"prismjs": "1.24.1",
6161
"prop-types": "15.7.2",
6262
"query-string": "6.14.1",
6363
"react": "16.14.0",
64-
"react-ace": "9.4.0",
64+
"react-ace": "9.4.1",
6565
"react-dnd": "10.0.2",
6666
"react-dnd-html5-backend": "10.0.2",
6767
"react-dom": "16.14.0",
6868
"react-helmet": "6.0.0",
6969
"react-json-view": "1.21.3",
70-
"react-popper-tooltip": "4.2.0",
70+
"react-popper-tooltip": "4.3.0",
7171
"react-redux": "5.1.2",
7272
"react-router": "5.1.2",
7373
"react-router-dom": "5.1.2",
74-
"regenerator-runtime": "0.13.5",
74+
"regenerator-runtime": "0.13.8",
7575
"semver": "7.3.4"
7676
},
7777
"devDependencies": {

0 commit comments

Comments
 (0)