Skip to content

Comments

[DQL] Introducing the Query Console view#121

Merged
dorian-krefft-dt merged 5 commits intomainfrom
feature/dql/query-console
Feb 8, 2026
Merged

[DQL] Introducing the Query Console view#121
dorian-krefft-dt merged 5 commits intomainfrom
feature/dql/query-console

Conversation

@dorian-krefft-dt
Copy link
Collaborator

@dorian-krefft-dt dorian-krefft-dt commented Feb 8, 2026

image

@dorian-krefft-dt dorian-krefft-dt self-assigned this Feb 8, 2026
Copilot AI review requested due to automatic review settings February 8, 2026 00:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Introduces a new “Dynatrace Query Console” in the Services tool window to execute DQL without creating a .dql file.

Changes:

  • Adds a new Services action and UI panel backed by a virtual file to host the query console editor.
  • Adds tenant-group toolbar actions to open a console preselected to a tenant and to close all executions for that tenant.
  • Improves execution naming by allowing a preferred execution name to flow through the execution actions.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/main/resources/messages/DQLBundle.properties Adds i18n strings for the Query Console action and tenant-group toolbar actions.
src/main/resources/META-INF/plugin.xml Registers the Query Console action in Tools → Services and ServiceView “Add Service”.
src/main/java/pl/thedeem/intellij/dql/services/ui/TenantServiceGroup.java Adds Service Group toolbar actions (open console with tenant, close all executions).
src/main/java/pl/thedeem/intellij/dql/fileProviders/DQLQueryConsoleVirtualFile.java Introduces a virtual file type to host the Query Console UI component.
src/main/java/pl/thedeem/intellij/dql/exec/panel/DQLQueryConsolePanel.java Adds the Query Console UI (editor + toolbar + data context provisioning).
src/main/java/pl/thedeem/intellij/dql/exec/DQLExecutionService.java Avoids creating a tenant group when no tenant is configured.
src/main/java/pl/thedeem/intellij/dql/editor/actions/StartStopDQLExecutionAction.java Uses the preferred execution name when available.
src/main/java/pl/thedeem/intellij/dql/editor/actions/QueryConfigurationOptionsAction.java Avoids executing actions when the component is no longer showing.
src/main/java/pl/thedeem/intellij/dql/editor/actions/QueryConfigurationAction.java Fixes update() flow by returning early for context menu usage.
src/main/java/pl/thedeem/intellij/dql/actions/OpenDQLQueryConsoleAction.java Adds an action to open new Query Consoles in the editor area.
src/main/java/pl/thedeem/intellij/dql/actions/ExecuteDQLQueryAction.java Introduces a DataKey to pass a preferred execution name to execution actions.
docs/wiki/DQL.md Documents how to open and use the new Query Console.
CHANGELOG.md Announces the new Query Console feature in the changelog.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

dorian-krefft-dt and others added 2 commits February 8, 2026 01:04
…ction.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2026

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.3.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@dorian-krefft-dt
Copy link
Collaborator Author

dorian-krefft-dt commented Feb 8, 2026

An error needs to be fixed:

Override-only method pl.thedeem.intellij.dql.editor.actions.QueryConfigurationAction.actionPerformed(AnActionEvent) is invoked in pl.thedeem.intellij.dql.editor.actions.QueryConfigurationAction$1.updateSelectedTenant(String, AnActionEvent) : void. 
This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. 
See documentation of the @ApiStatus.OverrideOnly for more info.

@dorian-krefft-dt dorian-krefft-dt merged commit a5dd4f8 into main Feb 8, 2026
9 checks passed
@dorian-krefft-dt dorian-krefft-dt deleted the feature/dql/query-console branch February 8, 2026 21:32
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