brimdata / zui

Zui is a powerful desktop application for exploring and working with data. The official front-end to the Zed lake.
https://www.brimdata.io/download/
Other
1.78k stars 129 forks source link

Pins not visible when scrolling to top of editor after pasting tall program #2799

Closed philrz closed 1 year ago

philrz commented 1 year ago

Repro is with Zui commit aaa8022.

In the attached video, I've got a tall Zed program already in my paste buffer (specifically, suricata.zed from the Brimcap repo). Notice that when I scroll to the top of the editor, the from pin is no longer visible. However, once I click to a different tab and back to this one again, it appears.

https://github.com/brimdata/zui/assets/5934157/b1beca56-b006-4451-bfe9-2c9b6b4976e5

philrz commented 1 year ago

Verified in Zui commit 361906b.

As shown in the attached video, now when I paste the tall Zed program into the editor, I can scroll to the top and everything is visible. The video also shows some additional changes that made it into linked PR #2806 that make it possible to hide/reveal the stacked bar chart and also resize it. When using the resize I bumped into a new issue that's tracked separately in #2807.

https://github.com/brimdata/zui/assets/5934157/4dca49b6-5c3a-4c9e-bb9d-e7559f533f1d

Thanks @jameskerr!