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

Create Endpoint to fetch and save Parse Dashboard settings in Database #7479

Open
3 tasks done
dblythy opened this issue Aug 4, 2021 · 5 comments
Open
3 tasks done
Labels
type:feature New feature or improvement of existing feature

Comments

@dblythy
Copy link
Member

dblythy commented Aug 4, 2021

New Feature / Enhancement Checklist

Current Limitation

As Parse Dashboard's features grow more and more, (in my opinion) it makes less and less sense to have every option configurable via startup parameters.

Feature / Enhancement Description

I am proposing storing the settings (such as columnPreferences, upcoming userPreferences) in the database. Features can then be modified on the fly via a Settings page on the Dashboard. This would then hopefully allow Dashboard users and permissions, column preferences, etc, to be changed on the fly. The only startup options would be appId, serverURL, etc, the rest would be configured via the Dashboard settings.

"Saveable" features:

  • Dashboard Users (so you can create an manage permissions of dashboard users)
  • Column Preferences
  • Colors

Example Use Case

For the upcoming userPreferences feature (where you can specify access to Dashboard users), I think it makes sense to add a "Settings" page, with toggles for what each admin can access, along with a "create admin". I can't think of any way to do this through the dashboard without creating a server endpoint to save the settings in a database class.

Alternatives / Workarounds

Set via startup options.

3rd Party References

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Aug 4, 2021
@mtrezza
Copy link
Member

mtrezza commented Aug 4, 2021

Thanks for suggesting! This definitely makes sense, just thinking about the column order and visibility which always resets in a new browser. Hasn't there been another issue in the past that discussed this feature?

@dblythy
Copy link
Member Author

dblythy commented Aug 4, 2021

The column preferences already exists in the dashboard, it just has to be set via a startup option. I couldn't find any PR here that suggested saving it in the database

@mtrezza
Copy link
Member

mtrezza commented Aug 4, 2021

I am sure there is a recent conversation somewhere about this feature. Not sure whether on GH or in the forum. But it was only a discussion, not a PR.

@dblythy
Copy link
Member Author

dblythy commented Aug 20, 2021

@mtrezza
Copy link
Member

mtrezza commented Aug 20, 2021

That's the one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants