microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.55k stars 898 forks source link

Dashboard tab panels with tables extend under output panel #10627

Open Charles-Gagnon opened 4 years ago

Charles-Gagnon commented 4 years ago

This happens for the Agent and SQL Server Assessment extensions (the only ones which use this table in a dashboard I believe)

Capture

alanrenmsft commented 4 years ago

this is because the panel resize event is not wired all the way to the agent control, to fix this, agent extension and assessment extension should listen to the mouse move event and update the size of the grid.

Charles-Gagnon commented 4 years ago

I would expect that the visible content area is controlled by the core dashboard code - not the extension. The size of the table within it can be controlled but the scrollbar should be for the content container - not the table. How are extensions supposed to know the size of the visible content area since they don't have access to the DOM?

kburtram commented 4 years ago

Yeah, it seems like dashboard needs to have a standard way to forward resize events to extensions, and extensions may need some logic to handle this. Since both these extensions need to be migrated to modelview in the next several months, it may be better to make sure this type of scenario works well with that framework than over-invest in these custom UI extensions.

aisbergde commented 4 years ago

is there any workaround how to see the full list? Or is the only solution to change the sort order to see hidden elements?