Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing * for required Columns #1720

Merged
merged 13 commits into from
Jul 23, 2021

Conversation

sadakchap
Copy link
Member

Differentiating between required columns & non-required columns using *.

image

@mtrezza
Copy link
Member

mtrezza commented May 31, 2021

Thanks for opening this PR.

I wonder if we can find something visually more appealing than a text asterisk? We already have the field type next to it in a more subtile design, maybe we add something in that same fading gray after the type?

However, before getting into design, we should think about why we want this indication in the column name and what its purpose should be.

  • When adding a row, the required fields are indicated as they are filled out.
  • "Required" is not the only property of a field, it may also be "unique", "auto-filled", "with default value", etc. So why is it so important that of all properties we want to add the "required" flag to the column?

@sadakchap
Copy link
Member Author

sadakchap commented May 31, 2021

I wonder if we can find something visually more appealing than a text asterisk? We already have the field type next to it in a more subtile design, maybe we add something in that same fading gray after the type?

Yes, we can add that in fading grey. It will look like this.
image
But, for long column names it won't be visible at all.
image

  • When adding a row, the required fields are indicated as they are filled out.

In master branch, for adding a new row we need to click on "Add" button. And if there are more than 2 or 3 required field and user does not know about it, then in worst user will have to click on "Add" button every time just to get field is required error.

  • "Required" is not the only property of a field, it may also be "unique", "auto-filled", "with default value", etc. So why is it so important that of all properties we want to add the "required" flag to the column?

Flag only for required, as when user will edit or add new row, will have knowledge about all required columns, so that user does not have to wait for error note on every field. Specially when adding a new row and user has 5 or 7 required columns.

@mtrezza
Copy link
Member

mtrezza commented Jun 1, 2021

I think the asterisk is rather ambiguous, it's not clear what it means. In a form field (like the modal view to add a row) a user would assume that an asterisk means required, but not so much for a column name. It doesn't seem to be a usual UI concept.

Also, making it permanently visible seems unnecessary as it's always the same fields. The user will know after a few times which fields are required.

if there are more than 2 or 3 required field and user does not know about it, then in worst user will have to click on "Add" button every time just to get field is required error.

The solution to that would be to mark all required and missing fields at once. Can't we infer from the schema which fields are required, even before sending it to the server?

@sadakchap
Copy link
Member Author

Also, making it permanently visible seems unnecessary as it's always the same fields. The user will know after a few times which fields are required.

True.

The solution to that would be to mark all required and missing fields at once. Can't we infer from the schema which fields are required, even before sending it to the server?

yes, we can get info about fields that are required from the schema. Could you please explain more about mark all required and missing fields at once. I mean how do we exactly want to mark all the fields & where?

@mtrezza
Copy link
Member

mtrezza commented Jun 1, 2021

Could you please explain more about mark all required and missing fields at once. I mean how do we exactly want to mark all the fields & where?

In #1692 we are displaying information about the cell instead of just (undefined). So for required fields that are empty, we could just display (required). This way a user can see without submitting which fields they need to fill out.

If a user submits a row with missing required fields anyway, an error message could be displayed and all fields that are required could have a red border (instead of blue), or however this is indicated currently. This all before submitting anything to the server.

@sadakchap
Copy link
Member Author

sadakchap commented Jun 2, 2021

something like this while adding new row? It does sound like a good idea. firstName is required field
image

But, for a field like password whose value is hidden & required, should we show only (hidden) or something else
image

@mtrezza
Copy link
Member

mtrezza commented Jun 2, 2021

But, for a field like password whose value is hidden & required, should we show only (hidden) or something else

How about (required) when it's empty and (hidden) when a value is set?

I think revealing whether any value is set or not should not have a significant security impact, because for existing rows, all pw fields should show (hidden), except the ones manually added to the DB where the field is actually missing. However, such a change should be highlighted in the changelog.

I think we can see that there is a lot of room for improvement in general. Like adding an i(nfo) icon to each column and with a click one could see / edit all field properties. But that's obviously beyond this PR.

@mtrezza
Copy link
Member

mtrezza commented Jun 3, 2021

Kindly let me know when this is ready for review :)

@sadakchap
Copy link
Member Author

sadakchap commented Jun 7, 2021

@mtrezza , thanks for waiting. I think it's ready for a review.

@mtrezza
Copy link
Member

mtrezza commented Jun 21, 2021

Thanks for your patience, I had time to review this, the only change I would make is to conform to this:

How about (required) when it's empty and (hidden) when a value is set?

This is currently not the case; after entering a password, the field still says requried instead of hidden:

Screen.Recording.2021-06-21.at.22.20.51.mov

@sadakchap
Copy link
Member Author

Thank you @mtrezza for review. I tried implementing the requested changes. Please have a look and let me know if we need more changes 🙂

@mtrezza mtrezza mentioned this pull request Jun 26, 2021
@mtrezza
Copy link
Member

mtrezza commented Jun 26, 2021

The password field now always show (hidden), even before entering any value. Is the password field always required, or can a user be created without setting a password, e.g. with authData only?

@sadakchap
Copy link
Member Author

The password field now always show (hidden), even before entering any value.

I tried on latest 0989c0a of this #1720, and it did seem to me working fine.

requiredFields

Could you please try again after clearing cache & could you also please confirm the commit that you are trying on.

Is the password field always required, or can a user be created without setting a password, e.g. with authData only?

password is only required when username is provided.
Yes, user can be created without setting a password when authData is set.

@mtrezza
Copy link
Member

mtrezza commented Jun 29, 2021

Yes, user can be created without setting a password when authData is set.

So the field placeholders would have to change dynamically, is that even possible?

  • The username, password and authData fields should show (required) initially, when none is being set.
  • If authData has been set, then username and password should show (undefined), because they are not required anymore.
  • If username has been set then password should show (required) and authData should show (undefined).

Does that make sense?

@sadakchap
Copy link
Member Author

Thanks for patience @mtrezza, I tried making suggested changes, now it looks like this

requiredDiff.mp4

Please let me know about your thoughts

@mtrezza
Copy link
Member

mtrezza commented Jul 12, 2021

This is amazing! Just the password field still shows (hidden) even though no value has been set, so it should show (undefined). Is that possible?

image

@sadakchap
Copy link
Member Author

sadakchap commented Jul 12, 2021

Just the password field still shows (hidden) even though no value has been set, so it should show (undefined). Is that possible?

image

Is this a normal row(not a new row), if yes, then password field value will never come from backend & since this field is hidden, we are showing (hidden) for that.

else if it is a new row, I think It should show accordingly.

@mtrezza
Copy link
Member

mtrezza commented Jul 12, 2021

Do I read your comment correctly that the password field is never sent from the server, therefore the dashboard cannot know whether a value is set for password or not?

@sadakchap
Copy link
Member Author

sadakchap commented Jul 13, 2021

Do I read your comment correctly that the password field is never sent from the server, therefore the dashboard cannot know whether a value is set for password or not?

Yes.

const q = new Parse.Query('_User');
const res = q.find().then(res => console.log(res.map(o => o.id + ' password - ' + o.get('password'))))
// password will always be undefined

@mtrezza
Copy link
Member

mtrezza commented Jul 13, 2021

Then it makes sense to always display it as (hidden), even if it is actually (undefined). I think this PR should be ready, I'll just take a final look.

@mtrezza
Copy link
Member

mtrezza commented Jul 19, 2021

Just a tiny glitch: when deleting the username value, the password field does not change back from (undefined) to (required) with the red rectangle. Just as it changes immediately from (required) to (undefined) when entering a value for username, it should change back immediately when deleting the value for username.

Screen.Recording.2021-07-19.at.11.58.14.mov

@sadakchap
Copy link
Member Author

Just a tiny glitch: when deleting the username value, the password field does not change back from (undefined) to (required) with the red rectangle. Just as it changes immediately from (required) to (undefined) when entering a value for username, it should change back immediately when deleting the value for username.

@mtrezza did you mean authData field does not change to (required) after deleting username field ?

@mtrezza
Copy link
Member

mtrezza commented Jul 20, 2021

Sorry, yes, authData, not password, as shown in the video.

@sadakchap
Copy link
Member Author

@mtrezza can you please try with latest commit. I tired implementing requested changes

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Can you just resolve the merge conflicts and make sure this is based on master?

@sadakchap
Copy link
Member Author

Can you just resolve the merge conflicts and make sure this is based on master?

Done!

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for merge to me, thanks for this PR! We'll just wait for a second review approval to merge this.

@mtrezza mtrezza requested review from dplewis and davimacedo July 23, 2021 12:39
Copy link
Member

@davimacedo davimacedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@davimacedo davimacedo merged commit 038be15 into parse-community:master Jul 23, 2021
@mtrezza
Copy link
Member

mtrezza commented Jul 26, 2021

@sadakchap Would you be interested in becoming an official member of the Parse Dashboard community? Your contributions over time have added great value to the community and further development of the product. We would be delighted to welcome you onboard. Please feel free to reach out for any questions you may have. You can respond here (in public) or send me a private message in the Parse Community Forum (@Manuel).

@sadakchap
Copy link
Member Author

sadakchap commented Jul 27, 2021

@sadakchap Would you be interested in becoming an official member of the Parse Dashboard community? Your contributions over time have added great value to the community and further development of the product. We would be delighted to welcome you onboard. Please feel free to reach out for any questions you may have. You can respond here (in public) or send me a private message in the Parse Community Forum (@Manuel).

😱 Sure, I would be very happy to become official member of Parse Dashboard community 😇. Thanks @mtrezza for reaching out to me.

@mtrezza
Copy link
Member

mtrezza commented Jul 27, 2021

Great, we will open a voting in the community forum in the coming days to confirm your membership. You can find more infos on how the process works in our Governance. Feel free to join the forum if you haven't already to follow the voting. There is no action required on your side at this point, but feel free to reach out anytime, preferably through the forum.

davimacedo added a commit to back4app/parse-dashboard that referenced this pull request Oct 4, 2021
* Github Action (parse-community#1640)

* [Snyk] Upgrade parse from 2.17.0 to 2.18.0 (parse-community#1629)

* fix: upgrade parse from 2.17.0 to 2.18.0

Snyk has created this PR to upgrade parse from 2.17.0 to 2.18.0.

See this package in npm:
https://www.npmjs.com/package/parse

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* bump parse to 2.19.0

Co-authored-by: Diamond Lewis <findlewis@gmail.com>

* fix: upgrade commander from 6.2.0 to 6.2.1 (parse-community#1636)

Snyk has created this PR to upgrade commander from 6.2.0 to 6.2.1.

See this package in npm:
https://www.npmjs.com/package/commander

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Diamond Lewis <findlewis@gmail.com>

* fix: upgrade semver from 7.3.2 to 7.3.4 (parse-community#1634)

Snyk has created this PR to upgrade semver from 7.3.2 to 7.3.4.

See this package in npm:
https://www.npmjs.com/package/semver

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Diamond Lewis <findlewis@gmail.com>

* chore(deps): bump ini from 1.3.5 to 1.3.8 (parse-community#1641)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: upgrade react-ace from 8.0.0 to 9.2.1 (parse-community#1642)

Snyk has created this PR to upgrade react-ace from 8.0.0 to 9.2.1.

See this package in npm:
https://www.npmjs.com/package/react-ace

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade query-string from 6.13.7 to 6.13.8 (parse-community#1647)

Snyk has created this PR to upgrade query-string from 6.13.7 to 6.13.8.

See this package in npm:
https://www.npmjs.com/package/query-string

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade prismjs from 1.22.0 to 1.23.0 (parse-community#1646)

Snyk has created this PR to upgrade prismjs from 1.22.0 to 1.23.0.

See this package in npm:
https://www.npmjs.com/package/prismjs

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.19.1 to 1.20.0 (parse-community#1651)

Snyk has created this PR to upgrade react-json-view from 1.19.1 to 1.20.0.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.20.0 to 1.20.2 (parse-community#1652)

Snyk has created this PR to upgrade react-json-view from 1.20.0 to 1.20.2.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.20.2 to 1.20.4 (parse-community#1655)

Snyk has created this PR to upgrade react-json-view from 1.20.2 to 1.20.4.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-ace from 9.2.1 to 9.3.0 (parse-community#1659)

Snyk has created this PR to upgrade react-ace from 9.2.1 to 9.3.0.

See this package in npm:
https://www.npmjs.com/package/react-ace

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.20.4 to 1.20.5 (parse-community#1660)

Snyk has created this PR to upgrade react-json-view from 1.20.4 to 1.20.5.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade @babel/runtime from 7.12.5 to 7.12.13 (parse-community#1661)

Snyk has created this PR to upgrade @babel/runtime from 7.12.5 to 7.12.13.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.20.5 to 1.21.0 (parse-community#1662)

Snyk has created this PR to upgrade react-json-view from 1.20.5 to 1.21.0.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-json-view from 1.21.0 to 1.21.1 (parse-community#1663)

Snyk has created this PR to upgrade react-json-view from 1.21.0 to 1.21.1.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade query-string from 6.13.8 to 6.14.0 (parse-community#1664)

Snyk has created this PR to upgrade query-string from 6.13.8 to 6.14.0.

See this package in npm:
https://www.npmjs.com/package/query-string

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* chore(deps): bump elliptic from 6.5.3 to 6.5.4 (parse-community#1666)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade @babel/runtime from 7.12.13 to 7.12.18 (parse-community#1667)

Snyk has created this PR to upgrade @babel/runtime from 7.12.13 to 7.12.18.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade @babel/runtime from 7.12.18 to 7.13.6 (parse-community#1669)

Snyk has created this PR to upgrade @babel/runtime from 7.12.18 to 7.13.6.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @babel/runtime from 7.13.6 to 7.13.7 (parse-community#1670)

Snyk has created this PR to upgrade @babel/runtime from 7.13.6 to 7.13.7.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade query-string from 6.14.0 to 6.14.1 (parse-community#1672)

Snyk has created this PR to upgrade query-string from 6.14.0 to 6.14.1.

See this package in npm:
https://www.npmjs.com/package/query-string

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @babel/runtime from 7.13.7 to 7.13.8 (parse-community#1673)

Snyk has created this PR to upgrade @babel/runtime from 7.13.7 to 7.13.8.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @babel/runtime from 7.13.8 to 7.13.9 (parse-community#1674)

Snyk has created this PR to upgrade @babel/runtime from 7.13.8 to 7.13.9.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @babel/runtime from 7.13.9 to 7.13.10 (parse-community#1676)

Snyk has created this PR to upgrade @babel/runtime from 7.13.9 to 7.13.10.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade react-json-view from 1.21.1 to 1.21.3 (parse-community#1675)

Snyk has created this PR to upgrade react-json-view from 1.21.1 to 1.21.3.

See this package in npm:
https://www.npmjs.com/package/react-json-view

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* Fix date filters (parse-community#1682)

* Date pickups not working on filters

* catching onClick event,stop propagating to parent

* fix: upgrade react-ace from 9.3.0 to 9.4.0 (parse-community#1683)

Snyk has created this PR to upgrade react-ace from 9.3.0 to 9.4.0.

See this package in npm:
https://www.npmjs.com/package/react-ace

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* chore(deps): bump ssri from 6.0.1 to 6.0.2 (parse-community#1684)

Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](npm/ssri@v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* made expiresAt field readOnly (parse-community#1686)

* showing error message on failed clone row task (parse-community#1687)

* showing a message when no locale is setup (parse-community#1685)

* Added tooltip for readonly fields (parse-community#1688)

* added a tooltip for readonly fields

* added updated package-lock.json

* fix: upgrade js-beautify from 1.11.0 to 1.13.1 (parse-community#1649)

Snyk has created this PR to upgrade js-beautify from 1.11.0 to 1.13.1.

See this package in npm:
https://www.npmjs.com/package/js-beautify

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade js-beautify from 1.13.1 to 1.13.5 (parse-community#1689)

Snyk has created this PR to upgrade js-beautify from 1.13.1 to 1.13.5.

See this package in npm:
https://www.npmjs.com/package/js-beautify

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* hiding setup locales msg (parse-community#1691)

* exculde hidden culomns (parse-community#1694)

* exculde hidden culomns

* get columns from function instead of localStorage directly

* excludeFields function

* add ;

* fix: upgrade js-beautify from 1.13.5 to 1.13.11 (parse-community#1696)

Snyk has created this PR to upgrade js-beautify from 1.13.5 to 1.13.11.

See this package in npm:
https://www.npmjs.com/package/js-beautify

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* showing "(auto)" for readonly fields while adding new row (parse-community#1692)

* chore(deps): bump lodash from 4.17.20 to 4.17.21 (parse-community#1699)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump ua-parser-js from 0.7.22 to 0.7.28 (parse-community#1698)

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.22 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](faisalman/ua-parser-js@0.7.22...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade js-beautify from 1.13.11 to 1.13.13 (parse-community#1701)

Snyk has created this PR to upgrade js-beautify from 1.13.11 to 1.13.13.

See this package in npm:
https://www.npmjs.com/package/js-beautify

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (parse-community#1702)

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](npm/hosted-git-info@v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Added ESC key binding (parse-community#1695)

* added ESC key binding for new row

* added more conditions for cancellling editing rows

* updated cancelling editing condition

* updating counter in sidebar on success clone rows (parse-community#1703)

* updated fetch next query for pagination (parse-community#1706)

* fix: upgrade @babel/runtime from 7.13.10 to 7.13.16 (parse-community#1704)

Snyk has created this PR to upgrade @babel/runtime from 7.13.10 to 7.13.16.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* chore(deps): bump codemirror from 5.58.1 to 5.61.0 (parse-community#1705)

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.58.1 to 5.61.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](codemirror/codemirror5@5.58.1...5.61.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade @babel/runtime from 7.13.16 to 7.13.17 (parse-community#1707)

Snyk has created this PR to upgrade @babel/runtime from 7.13.16 to 7.13.17.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* added cancel button for new row (parse-community#1690)

* added cancel button for new row

* removed extra line on add new row

* added "add" button for new row

* changed order of button for new row

* fix: upgrade @babel/runtime from 7.13.17 to 7.14.0 (parse-community#1710)

Snyk has created this PR to upgrade @babel/runtime from 7.13.17 to 7.14.0.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* feat(preventSort): allow preventSort from columnPreferences props (parse-community#1709)

* feat(preventSort): allow preventSort from columnPreferences props

* feat(preventSort): add doc section of prevent sorting

* chore(deps): bump browserslist from 4.14.5 to 4.16.6 (parse-community#1713)

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.5 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.14.5...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Allow other key binding while adding new row (parse-community#1714)

* update on file change (parse-community#1717)

* update on file change

* showing a spinner while uploading file

* Fix: Column name starting with numbers (parse-community#1718)

* validating column name

* showing error note on fail add column op

* chore(deps): bump normalize-url from 4.5.0 to 4.5.1 (parse-community#1725)

Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* updated parse to 3.2.0 (parse-community#1733)

* fix: upgrade react-popper-tooltip from 4.2.0 to 4.3.0 (parse-community#1736)

Snyk has created this PR to upgrade react-popper-tooltip from 4.2.0 to 4.3.0.

See this package in npm:
https://www.npmjs.com/package/react-popper-tooltip

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade react-ace from 9.4.0 to 9.4.1 (parse-community#1738)

Snyk has created this PR to upgrade react-ace from 9.4.0 to 9.4.1.

See this package in npm:
https://www.npmjs.com/package/react-ace

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* chore(deps): bump prismjs from 1.23.0 to 1.24.0 (parse-community#1739)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade @babel/runtime from 7.14.0 to 7.14.5 (parse-community#1740)

Snyk has created this PR to upgrade @babel/runtime from 7.14.0 to 7.14.5.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade @babel/runtime from 7.14.5 to 7.14.6 (parse-community#1742)

Snyk has created this PR to upgrade @babel/runtime from 7.14.5 to 7.14.6.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: upgrade js-beautify from 1.13.13 to 1.14.0 (parse-community#1743)

Snyk has created this PR to upgrade js-beautify from 1.13.13 to 1.14.0.

See this package in npm:
https://www.npmjs.com/package/js-beautify

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* updated issue and PR templates (parse-community#1741)

* updated issue and PR templates

* added browser info

* updated wording

* Showing * for required Columns (parse-community#1720)

* passing down required field info

* showing * for required columns

* marked required columns for standard classes

* showing required for new row

* mark required fields as red on save new row

* showing hidden when no value set

* dynamically changing required text

* showing (hidden) for hidden field

* added new var isNewRow

* update required fields if all are undefined _User

* update required Fields after new col add

* update required field on required col add

* fix: upgrade regenerator-runtime from 0.13.5 to 0.13.8 (parse-community#1748)

Snyk has created this PR to upgrade regenerator-runtime from 0.13.5 to 0.13.8.

See this package in npm:
https://www.npmjs.com/package/regenerator-runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* fix: package.json & package-lock.json to reduce vulnerabilities (parse-community#1745)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-WS-1296835

* fix: upgrade prismjs from 1.24.0 to 1.24.1 (parse-community#1749)

* removing PR test from issue template

dashboard does not have tests (yet), so only PRs with fixes should be encouraged

* fixed comment style in issue template

* Add option to create a field after creating a class parse-community#1726 (parse-community#1728)

* combined create class flow

* config revert

* reformating -- 1

* reset forms after submitting

* Improve feed back for add column dialog

* improve add column dialog -- 2

* reverting isDisabled

* mergeconflicts resolve 2

* required column changes

* required col in addAndContinue

* removed index.html

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>

* Arrays of Pointers dont render correctly #275 (parse-community#1727)

* pointer array

* fix for array

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>

* Delete index.html

* Browse as Parse.User (Continuation) (parse-community#1750)

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed quickfix for next PR

* Removed quickfix for next PR

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: don't update Array,  Object or Polygon field on EditRowDialog when no changes

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed quickfix for next PR

* Removed quickfix for next PR

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: don't update Array,  Object or Polygon field on EditRowDialog when no changes

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed quickfix for next PR

* Removed quickfix for next PR

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Used object shorthand on useMasterKey

* Clear user & pass from LoginDialog on handleClose

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: don't update Array,  Object or Polygon field on EditRowDialog when no changes

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed quickfix for next PR

* Removed quickfix for next PR

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* Test ACL with parse user login

* Login dialog upgrades;
Expand / Collapse TextArea fields on EditRowDialog;
Fix for live reload data on EditRowDialog when data is updated on server

* fix: don't update Array,  Object or Polygon field on EditRowDialog when no changes

* fix: eslint fixes

* UX changes in main nav bar for browse as user;
Toggle new type added - HIDE_LABELS;

* fix: eslint fixes

* Use master key state property on editRowDialog and ObjectPickerDialog;
Enabled using useMasteKey property for save actions and other actions

* Removed quickfix for next PR

* Removed quickfix for next PR

* Removed EditRowDialog fixes for next PR

* Reposition Browse as User menu item

* setCurrent to null on BrowserMenu open

* fix rebase GeoPointEditor.react.js

* fix rebase TextInput.react.js

* Update Browser.react.js

* Update EditRowDialog.react.js

* Update EditRowDialog.react.js

* Update EditRowDialog.react.js

* Update ObjectPickerDialog.react.js

* Update README.md

* Update README.md

* added missing dynamic useMasterKey

Co-authored-by: Nino Crljenec <nino.crljenec@gmail.com>

* Improve cell value copying of pointer cell (parse-community#1708)

* showing tooltip on mouse enter & leave

* added new arrow svg

* showing arrow icon if cell has follow link value

* Pill pointer, relation to follow link if selected

* added bottom margin for Pill

* following link even if cell is not selected on icon click

* using existing arrow icon

* removed arrow.svg file

* remove arrow outline

* removed Download & delete option from file Editor

* update Pill to download image on icon click

* update Browser cell file value

* opening upload dialog on double click

* File Editor on Edit Row dialog

* pill design update

* removing extra padding from pill

* showing new pointer layout on Edit row dialog

* making input fields light blue

* added margin in new pill design

* added undefined placeholder for edit row modal

* center toggle Input

* removed ccss comment

* Cloning Rows (parse-community#1697)

* disabled clone rows option for standard classes

* providing a way to edit clone rows on error 137

* allowing user to clone rows for standard classes

* checking dirty clone objects on failed clone

* giving option to clone or cancel per row for failed clone rows

* fixed wrapTop for data rows when edit clone row

* showing modal Clone menu

* disabling other menu item on modal state

* clone rows for requried field

* showing cloned rows for missing required field error

* removing username & authData for User class object

* removed null initialization var

* removing username while cloning User obj

* added clone icon attribution note

* added required placehlder text for edit clone rows

* clearing required field row after abort add

* udpating config file

* dynamic update required fields from BrowserRow new

* remove requiredColumnFields state var from Browser

* Update package-lock.json

* disabling all menu options on edit clone row modal state

Co-authored-by: Manuel Trezza <5673677+mtrezza@users.noreply.github.com>

* fix: upgrade @babel/runtime from 7.14.6 to 7.14.8 (parse-community#1755)

Snyk has created this PR to upgrade @babel/runtime from 7.14.6 to 7.14.8.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* CSV Export of class data (parse-community#1494)

* cell select height fix (parse-community#1754)

* cell select height fix

* cell height refactoring

* row height to match cell height

* refactor height

* removed line height

* cell padding fix

* Cell lineheight fix

* cell spacing -- 2

* Update BrowserCell.scss

* Update Pill.scss

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* Sidebar collapse (parse-community#1760)

* feat: Sidebar collapse

* fix: Handling app name text-overflow

* fix overlaying JS console line number bar

* removed toolbar ease-in animation

* fixed pin icon padding

* Update CHANGELOG.md

* fixed pinned collapse state

* fixed uncollapsing on mobile

Co-authored-by: Douglas Muraoka <douglas.muraoka@gmail.com>

* fix: upgrade react-ace from 9.4.1 to 9.4.3 (parse-community#1762)

* Exclude hidden fields  (parse-community#1734)

* get column preference correctly from localstorage

* refreshing after a column is marked visible

* prevent request for always cached fields

* prevent request for password at _User

* set flag cached & making request if not cached

* add cache flag for cached preferences

* refetch data on showAll columns

* Open pointer in new browser tab with [Cmd] click (parse-community#1757)

* cmd+click and context menu

* removed console.log

* fixed pill icon click

* Pill click cleanup

* Delete index.html

* Reverting config.json

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fixed incorrect row height (related to parse-community#1754)

* fixed incorrect row height (related to parse-community#1754)

* Release 2.2.0 (parse-community#1763)

* bump version

* Update CHANGELOG.md

* Update CHANGELOG.md

* rebuilt package-lock (npm 6)

* fixed incorrect row height (related to parse-community#1754)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Fix typo in changelog

* Added missing entry to readme toc

* ci(changelog): add changelog reminder (parse-community#1764)

* added changelog reminder

* Update CHANGELOG.md

* enforce changelog syntax

* Update ci.yml

* rewording

* fix typo in issue template

* ci: add issue bot (parse-community#1766)

* add issue bot

* Update CHANGELOG.md

* refactor: uniform issue templates across repos (parse-community#1767)

* Update ---1-report-an-issue.md

* Update ---1-report-an-issue.md

* Update CHANGELOG.md

* fix: date cell value not selected on double clicks (parse-community#1730)

* removed old logic

* date time fix

* Changelog.MD update

Added improvement to change-log

* fix changelog entry

* Update CHANGELOG.md

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fix: upgrade @babel/runtime from 7.14.8 to 7.15.3 (parse-community#1773)

Snyk has created this PR to upgrade @babel/runtime from 7.14.8 to 7.15.3.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

* chore(deps): bump object-path from 0.11.5 to 0.11.7 (parse-community#1774)

Bumps [object-path](https://github.com/mariocasciaro/object-path) from 0.11.5 to 0.11.7.
- [Release notes](https://github.com/mariocasciaro/object-path/releases)
- [Commits](https://github.com/mariocasciaro/object-path/commits)

---
updated-dependencies:
- dependency-name: object-path
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Edit Array of pointers (parse-community#1771)

* show pill pointer design for array of pointers

* ctrl+c copy array of pointer value

* encoding data to avoid conversion of object to ParseObjects

* updated changelog.md

* Update CHANGELOG.md

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* Improve ui for array of pointer field (parse-community#1776)

* improve ui for array of pointer field

* Updated changelog.md

* Update CHANGELOG.md

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* Edit menu design fix

* Fix: Modal Z-index (parse-community#1778)

* bring modal on top of Sidebar

* updated changelog

* refactor: remove parse issue bot (parse-community#1780)

* ci: Fix docker image pushing to Docker Hub (parse-community#1781)

* Create docker-publish.yml

* update

* update

* Update CHANGELOG.md

* change linux version

* update access token

* add correct tags

* add latest tag

* switch image_name

* Update CHANGELOG.md

* nit

* add multi-platform

* reduce platforms

* remove arm7

* remove arm64

* only build on Intel

* Nit

* Update docker-publish.yml

* allow latest tag to be set automatically

* ci: refactor docker ci (parse-community#1786)

* feat: Add MFA to Dashboard (parse-community#1624)

* Update CloudCode.react.js

* Allow Writing Cloud Code

* Add MFA to Dashboard

* add inquirer

* add changelog

* Update index.js

* Update package.json

* Revert "Update CloudCode.react.js"

This reverts commit e9d3ea7.

* Revert "Allow Writing Cloud Code"

This reverts commit 2a5c050.

* Update index.js

* Update README.md

* Update index.js

* hide otp field by default

* change to one-time

* change to otp

* fix package-lock

* add readme

* Update Authentication.js

* change to SHA256

* Update CHANGELOG.md

* Update README.md

* use OTPAuth secrets

* Update index.js

* Update index.js

* add cli helper

* change to SHA1

* add digits option

* refactoring mfa flow

* more simplification

* fixed unsafe instructions

* fixed password copy to clipboard

* add newline before CLI questions

* style

* refactored readme

* removed RASS

* replaced URL with secret

* added url and secret to output

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* Fix: Update CLP for new class (parse-community#1785)

* update CLP for new class

* update changelog.md

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fix(docker): increase node version in docker to 12 (parse-community#1788)

BREAKING CHANGE

The minimum requires Node version is bumped to 12.

* ci: modernize steps (parse-community#1789)

* Update ci.yml

* Update CHANGELOG.md

* adapt ci for node <10

* Update ci.yml

* bump node-sass for node 16 compatibility

* more chain bumps

* Revert "more chain bumps"

This reverts commit 89db4a9.

* Revert "bump node-sass for node 16 compatibility"

This reverts commit c3afc6e.

* fix determine node major

* fix determine node major

* add docker

* refactor docker

* add madge for circular dependencies

* run docker publish only on tag release

* add ci check

* changed default node vesion to 14

* Update ci.yml

* Update ci.yml

* fixed running ci self-check

* changed default node to 16

* add docker builds

* fix ci self-check

* Update ci.yml

* fix ci self-check

* Update ciCheck.js

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* add node engine check

* Update ci.yml

* removed eol node envs

* Update nodeEngineCheck.js

* ci: Remove parse server dev dependency (parse-community#1796)

* fix: bump node engine to 12.20.0

BREAKING CHANGE

Bump is required to satisfy a dependency that requires that node version. In addition, Parse Dashboard is not officially compatible with Node 16 yet, as tests don't pass.

* remove parse server dev dependency

* minor fixes

* just trying node 16 after removing parse server

* enabling node 16

* enabling node 16

* disabling node 16 as it still doesn't pass

* updating node engine requirement

* Update sass and docker (parse-community#1792)

* Update sass and docker

* update lock file

* Add change log

* bump minimum node

* revert node

* docs: Update node in README

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fix: revert parse-community#1706 which introduced new database index requirements for pagination (parse-community#1800)

* perf: asynchronously fetch classes counts in sidebar to not block dashboard (parse-community#1802)

* fix: upgrade react-router from 5.1.2 to 5.2.1 (parse-community#1805)

Snyk has created this PR to upgrade react-router from 5.1.2 to 5.2.1.

See this package in npm:
https://www.npmjs.com/package/react-router

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fix: security upgrade prismjs from 1.24.1 to 1.25.0 (parse-community#1803)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1585202

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* fix: upgrade react-router-dom from 5.1.2 to 5.2.1 (parse-community#1804)

Snyk has created this PR to upgrade react-router-dom from 5.1.2 to 5.2.1.

See this package in npm:
https://www.npmjs.com/package/react-router-dom

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>

* build: release 3.0.0 (parse-community#1806)

* chore(deps): bump tmpl from 1.0.4 to 1.0.5 (parse-community#1808)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: add release automation (parse-community#1810)

* ci: fix incorrect npm auth token name

* ci: remove changelog todo from pull request template

* ci: update changelog todo in pull request template

* docs: fixed incorrect links in changelog

* ci: upgrade @babel/runtime from 7.15.3 to 7.15.4 (parse-community#1816)

Snyk has created this PR to upgrade @babel/runtime from 7.15.3 to 7.15.4.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

See this project in Snyk:
https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=referral&page=upgrade-pr

* menu icon css fix

* added export functionality

* fixed setCurrent error on opening menu

* added protected fields security dialog

* edit clone rows modal state

* fixed sidebar collapse pin

* added browser feature to tollbar

* removed ci

* Create submenu option for browser menu

* added icon & active state

* added browsing feature as sub menu

* changed active styles

* disabling subMenu

* closing both menus on click

* display submenu on hover

* fixing style for submenu items

* Import submenu

* reduced 1px btw menu & submenu

Co-authored-by: Diamond Lewis <findlewis@gmail.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com>
Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
Co-authored-by: itzharDev <itzhar.dev@gmail.com>
Co-authored-by: Christopher Brookes <chris.klaitos@gmail.com>
Co-authored-by: Christopher Brookes <christopher.brookes@iziwork.com>
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Co-authored-by: fn-faisal <faisal.fn154@gmail.com>
Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>
Co-authored-by: Nino Crljenec <nino.crljenec@gmail.com>
Co-authored-by: Cory Imdieke <cory.imdieke@gmail.com>
Co-authored-by: Douglas Muraoka <douglas.muraoka@gmail.com>
Co-authored-by: Corey <coreyearleon@icloud.com>
Co-authored-by: dblythy <daniel-blyth@live.com.au>
@RaschidJFR
Copy link
Contributor

RaschidJFR commented Jan 3, 2022

This feature is nice and useful, however, I'm finding it "over-restrictive" for some of the cases I commonly use. Example:

Let's say we have a class SmartContract with a required column abiInterface whose value is populated in the beforeSave trigger by calling a different microservice.

This new feature prevents running the beforeSave trigger to populate the required field which cannot be retrieved manually, so new records can't be added. A workaround would be to unmark the column as required, but that would remove the data integrity check.

Is it possible to do the validation server-side instead of client-side?

Another possible solution would be adding a default value (which could later be updated by the triggers), but they don't seem to work (they don't get loaded anywhere when adding a new record).

@mtrezza
Copy link
Member

mtrezza commented Jan 3, 2022

whose value is populated in the beforeSave trigger

You make a good point; I think we overlooked that scenario.

So you suggest the dashboard should only indicate that a field is required (which it does thanks to this PR), but not prevent from saving? It would be great if you could open a quick issue (and maybe even PR) for this, so we discuss there and track this.

@mtrezza mtrezza removed the request for review from dplewis January 3, 2022 23:58
@RaschidJFR
Copy link
Contributor

Move the discussion to #1988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants