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 interactive terminal component w/ json view #159

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

cordt-sei
Copy link
Contributor

Adds InteractiveTerminal component for displaying and navigating JSON data in a terminal-like interface. The component allows users to expand and collapse nested objects to explore JSON structures.

Features:

  • Renders JSON data with support for multiple levels of nesting.
  • Toggle nested objects and arrays.
  • Theme colors very ugly, please suggest better.

It is not added into any pages, just available to use.

TODO - increase portability with variable source URL

@cordt-sei cordt-sei requested a review from a team as a code owner October 24, 2024 19:22
};

return (
<div className={styles.terminal}>
Copy link
Contributor

Choose a reason for hiding this comment

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

we'll probably need to add theming here when we actually use the component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I will see about making the top-left buttons do stuff too

@cordt-sei cordt-sei merged commit e64feeb into main Oct 25, 2024
1 check passed
@cordt-sei cordt-sei deleted the feat/docs-revamp branch October 25, 2024 17:49
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.

2 participants