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

Remove graphIQL console and API console #2316

Open
3 tasks done
dblythy opened this issue Oct 12, 2022 · 4 comments
Open
3 tasks done

Remove graphIQL console and API console #2316

dblythy opened this issue Oct 12, 2022 · 4 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@dblythy
Copy link
Member

dblythy commented Oct 12, 2022

New Feature / Enhancement Checklist

Current Limitation

Both the graphIQL console and API console add heavy dependencies to this project, bloating node modules out quite a bit. The dashboard is used for managing data of a live Parse Server, being able to write and execute javascript in an editor that has no types, terminal, debugging, etc, is practically useless.

Feature / Enhancement Description

Remove react-ace, graphIQL

Example Use Case

Allows dashboard to be deployed on smaller instances

Alternatives / Workarounds

Remove from package-lock.json and run npm ci`

3rd Party References

parse-community/parse-server#7979

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Oct 12, 2022
@mtrezza
Copy link
Member

mtrezza commented Oct 12, 2022

Well, it may be still the quickest option to execute some JS code on Parse Server. What is the current impact of these features in terms of bloating?

@dblythy
Copy link
Member Author

dblythy commented Oct 12, 2022

ace-builds is 50M, graphiql is 10M. Not huge, but they have many subdependancies as well

@mtrezza
Copy link
Member

mtrezza commented Oct 12, 2022

Is there any other impact apart from the additional 60MB?

Unfortunately we don't have any usage statistics. Maybe the leading question is whether we want such a feature in the dashboard at all. If no we can remove it; if yes we could keep it and start an issue about what we want to improve about it. For example, is there a better editor with type checking, auto-complete, etc that could be used instead?

Or how about writing a VSC plugin for Parse Server that allows to easily connect to a (local) Parse Server instance and execute code? That way all the benefits of an IDE come out of the box. #2318

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