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

WiP: Admin config dump json viewer #38199

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jmarantz
Copy link
Contributor

@jmarantz jmarantz commented Jan 26, 2025

Commit Message: Experrimental change to incorporate an HTML/javascript JSON viewer into the admin /config_dump endpoint.

Note pending questions on how best to incorporate this into our system (andypf/json-viewer#24) as well as a functional enhancement request: (andypf/json-viewer#23)

Additional Description:

Screenshot of this hack in action for /config_dump:

Screenshot 2025-01-26 at 10 44 29 AM

Note: this json viewer allows for a lot of customization tweaks; the above color scheme is from the settings on the example page on https://github.com/andypf/json-viewer but we could make these look more like the rest of the admin panel with some tweaks.

Just wanted to see if folks think this viewing mode may be useful.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

…ump?format=html

Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38199 was opened by jmarantz.

see: more, trace.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
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.

1 participant