Skip to content

Commit 633ef9d

Browse files
committed
Merge branch 'master' into pr/1523
2 parents 83b4317 + b7698be commit 633ef9d

33 files changed

+3032
-3368
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)

Parse-Dashboard/parse-dashboard-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
}
1212
],
1313
"iconsFolder": "icons"
14-
}
14+
}

Parse-Dashboard/public/index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<head>
3+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
4+
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
5+
<base href="/"/>
6+
<script>
7+
PARSE_DASHBOARD_PATH = "/";
8+
</script>
9+
</head>
10+
<html>
11+
<title>Parse Dashboard</title>
12+
<body>
13+
<div id="browser_mount"></div>
14+
<script type="text/javascript">
15+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
16+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
17+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
18+
})(window,document,'script','https://a.back4app.com/a.js','ga');
19+
ga('create', 'UA-66038885-1', 'auto');
20+
ga('send', 'pageview');
21+
setTimeout("ga('send','event','Profitable Engagement','time on page more than 30 seconds')",30000);
22+
</script>
23+
<!--Start of Zopim Live Chat Script-->
24+
<script>
25+
window.zEmbed||(function(){
26+
var queue = [];
27+
28+
window.zEmbed = function() {
29+
queue.push(arguments);
30+
}
31+
window.zE = window.zE || window.zEmbed;
32+
document.zendeskHost = "back4app.zendesk.com";
33+
document.zEQueue = queue;
34+
}());
35+
</script>
36+
<script src="https://assets.zendesk.com/embeddable_framework/main.js" data-ze-csp="true" async defer></script>
37+
<!--End of Zopim Live Chat Script-->
38+
<script src="https://survey.solucx.com.br/widget.js"></script>
39+
<script type="text/javascript" src="http://localhost:9000/back4app-navigation.bundle.js"></script><script type="text/javascript" src="bundles/dashboard.751689feb1b99fab176b.js"></script><script type="text/javascript" src="bundles/login.2cc31a054b35c671c417.js"></script></body>
40+
</html>

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.

0 commit comments

Comments
 (0)