Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

JSON boxes output #13

Open
lynn opened this issue Aug 11, 2022 · 0 comments
Open

JSON boxes output #13

lynn opened this issue Aug 11, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@lynn
Copy link
Collaborator

lynn commented Aug 11, 2022

Currently zugai outputs a whole HTML document and https://toaq.net/zugai/ presents it in an iframe. But this is kind of silly, and it keeps the output from having the right size, because iframes seem to demand a constant (or at least not computed from their contents) size. Right now the iframe is rendered way too big:

image

I think I want zugai to instead output JSON, and the web client to render it into boxes. This would let it be sized normally and also open the door for interactivity: @uakci suggested showing the top-level structure first and allowing the user to click a subclause to expand or walk into it. (But that is a separate issue.)

@lynn lynn added the good first issue Good for newcomers label Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant