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

Add support for setting browser :config with objects #594

Merged
merged 2 commits into from
Jun 21, 2017

Conversation

oskarhane
Copy link
Member

@oskarhane oskarhane commented Jun 20, 2017

Add ability to accept setting browser configs with a JSON string, like: :config {"maxFrames":50, "theme": "outline"} or the more related format like: :config {maxFrames: 50, theme: "outline"}

When setting config with an JSON object string, the current config is being replaced (merged with the default values) not updated as the case when setting single config values.

Helpful hints are displayed below the editor to enlighten users if something goes wrong.

oskar4j 2017-06-20 at 14 50 01

Add ability to accept setting browser configs with a JSON string, like: `:config {"maxFrames":50, "theme": "outline"}`
@oskarhane oskarhane force-pushed the 3.0-config-json-string branch from df11599 to 82549a1 Compare June 20, 2017 12:48
@oskarhane oskarhane changed the title Add support for setting browser :config with JSON object string Add support for setting browser :config with objects Jun 20, 2017
@pe4cey pe4cey self-requested a review June 21, 2017 09:13
Copy link
Contributor

@pe4cey pe4cey left a comment

Choose a reason for hiding this comment

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

LGTM

@pe4cey pe4cey merged commit 936f8a4 into neo4j:3.0 Jun 21, 2017
@oskarhane oskarhane deleted the 3.0-config-json-string branch June 21, 2017 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants