Skip to content

Improve Arrow rendering in tooltips #10906

@grtlr

Description

@grtlr

Describe the bug

The following PR adds very nice rendering of Arrow components:

Now that we might encounter deeply nested Arrow arrays our heuristics for when to output items during formatting (currently the threshold is set to 10 iirc) can be off.

To Reproduce
Steps to reproduce the behavior:

  1. Open arrow_example.rrd
  2. Hover over the large_nested_list
  3. Screenshot below

Important

Happens when hovering over empty spaces in the Arrow values.

Expected behavior

  • Use UI with syntax highlighting (cc @gavrelina 🙏)
  • Keep track of how much output was already produced when visiting the nested fields and exit based on the length of encountered symbols instead of a hardcoded value of elements.

Screenshots

Image

Metadata

Metadata

Assignees

Labels

uiconcerns graphical user interface🧑‍🎨 DesignRequires UX/UI designer input🧢 MCAPEverything related to the MCAP support

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions