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

Columnar table view for List responses #330

Open
mandarjog opened this issue Aug 3, 2024 · 1 comment
Open

Columnar table view for List responses #330

mandarjog opened this issue Aug 3, 2024 · 1 comment

Comments

@mandarjog
Copy link

gRPC standard List method output is rendered as one table per record, and records appear one after another mirroring json output passed through jq.

I would like to see columnar output.

What have I tried

  1. searched for setting that would make this a table view.
  2. I see that populateResultContainer is used to populate the grpc-response-data .output-container However that function is not wired up to anything in the latest code.
  3. This function used to be called from $.ajax.Post.Done in v1.0.0

Please advise.

@jhump
Copy link
Contributor

jhump commented Aug 6, 2024

@mandarjog, I assume you mean the HTML table output for responses?

It was removed in #100. There is an existing issue open about adding it back, but in an opt-in way (and possibly with more information in the table to make it more useful): #308.

In its previous form, it wasn't providing much value other than it was slightly nicer aesthetically. But it had plenty of drawbacks: it was extremely slow to load and render for very large responses. This made grpcui very painful to use for certain kinds of RPC endpoints, like queries that return a lot of data or even just complex and deeply-nested data structures (since that meant many layers of nested HTML tables, which are slow for the browser to compute layout).

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

No branches or pull requests

2 participants