Skip to content

Fixes #3313: YAML-format the config context in the GUI #4011

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

Merged
merged 5 commits into from
Feb 3, 2020
Merged

Fixes #3313: YAML-format the config context in the GUI #4011

merged 5 commits into from
Feb 3, 2020

Conversation

hSaria
Copy link
Contributor

@hSaria hSaria commented Jan 25, 2020

Fixes: #3313

Change the rendered config context format to YAML. The JSON format can still be displayed via a toggle.

I've made this change for the final rendered context of an object as well as the context's data (i.e. extras/config-contexts/{id}/).

gif

Editing a config context is still JSON-based.

Edit: I've since changed the default format to JSON to maintain the existing behaviour. This PR now just adds a YAML toggle.

image

@jeremystretch jeremystretch merged commit fe22a8d into netbox-community:develop Feb 3, 2020
@hSaria hSaria deleted the 3313-config-context-gui branch February 3, 2020 21:40
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render Config Contexts as YAML in GUI
2 participants