Skip to content

feat(queries): improve query details ui#538

Merged
luanfreitasdev merged 1 commit into4.xfrom
fix-queries-details
Apr 12, 2026
Merged

feat(queries): improve query details ui#538
luanfreitasdev merged 1 commit into4.xfrom
fix-queries-details

Conversation

@luanfreitasdev
Copy link
Copy Markdown
Member

This pull request improves the SQL query display in the dump viewer by enhancing the formatting, metadata presentation, and expand/collapse controls for better readability and usability. The main changes include adding query metadata badges, refining the SQL code formatting, and redesigning the expand/collapse experience.

UI/UX Improvements for Query Display:

  • Added badges to show the query's connectionName and execution time (in ms) directly in the metadata line of the dump item.
  • Redesigned the expand/collapse control for long SQL queries with a new overlay, fade effect, and clearer expand/collapse button, improving usability and visual clarity. The collapsed height threshold was also reduced for better default visibility. [1] [2]

SQL Formatting Enhancements:

  • Updated SQL formatting to use lowercase keywords and standard indentation style for improved readability.

Code and Style Cleanups:

  • Removed unused imports and adjusted class names for consistency and clarity. [1] [2]
  • Fixed minor class name typos and improved layout/styling for the modal and explain nodes display. [1] [2]

Additional Features:

  • Enabled double-click to "prettify" a query directly from the dump item for faster formatting.…nced expand/collapse controls

@luanfreitasdev luanfreitasdev merged commit 33c180c into 4.x Apr 12, 2026
3 checks passed
@luanfreitasdev luanfreitasdev deleted the fix-queries-details branch April 12, 2026 17:08
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

Successfully merging this pull request may close these issues.

1 participant