Skip to content

User/mattwar/more results view#38

Merged
mattwar merged 2 commits into
mainfrom
user/mattwar/MoreResultsView
Mar 13, 2026
Merged

User/mattwar/more results view#38
mattwar merged 2 commits into
mainfrom
user/mattwar/MoreResultsView

Conversation

@mattwar

@mattwar mattwar commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements and refactorings to the Kusto Explorer VS Code extension, focusing on enhancing the user experience, streamlining code organization, and updating documentation for clarity. The most significant changes include a major refactor of query document handling, updates to the results and chart display logic, improvements to the extension's configuration and commands, and expanded documentation.

Refactoring and Code Organization:

  • The documentPanels.ts file has been renamed and refactored to queryDocuments.ts, consolidating query document logic and updating all relevant imports and activations to use the new module. This simplifies the codebase and clarifies responsibilities. [1] [2] [3] [4]

Results and Chart Display Logic:

  • The logic for displaying query results and charts has been unified and improved. Functions now use displayResultsPanel and displaySingletonResultView for consistent behavior, and redundant calls to separate results and chart display functions have been removed. Error handling for result display has also been streamlined. [1] [2] [3] [4] [5]

Extension Configuration and Commands:

  • New user configuration option kusto.results.display allows users to choose where query results are shown: either in the bottom panel or beside the query editor. This enhances customization and usability.
  • The context conditions for several results-related commands have been refined to ensure commands are only available in appropriate UI contexts, preventing confusion and improving UX.

Documentation Updates:

  • The README.md has been expanded with clearer descriptions of features, including new sections for Kusto Connections, the Chart Panel, and improved explanations for result and chart handling. Typos and formatting have also been corrected. [1] [2] [3]

UI Label Improvements:

  • The "Connections" panel in the explorer is now labeled "Kusto Connections" for better clarity.

mattwar added 2 commits March 13, 2026 12:54
Results can be viewed in bottom panel, singleton view or document view.
Add mode for display: chart, data, and all.
@mattwar mattwar merged commit da4dcb3 into main Mar 13, 2026
4 checks passed
@mattwar mattwar deleted the user/mattwar/MoreResultsView branch March 13, 2026 22:16
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