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.77k stars 129 forks source link

Indicate a readonly query or query folder #1928

Open jameskerr opened 2 years ago

jameskerr commented 2 years ago

There is no visual indication that a folder or query is readonly. We need to add a lock icon next to the folder or the queries or both. We also should display a disabled mouse cursor when trying to drag something in there.

image

philrz commented 1 year ago

Maybe this justifies its own issue, but when looking at this for myself, I struggled to even figure out how to make a query read-only. My first instinct was to right-click on the query in the left sidebar but the option wasn't there. I then managed to find "Lock Query" in the vertical "..." menu in the title area above the editor. This left me thinking that we might want to make sure the two menus share the same options.

jameskerr commented 1 year ago

I agree. I think it deserves it's own issue too.

philrz commented 1 year ago

Thanks @jameskerr. I've opened #2546 to track that one separately.