Skip to content

Conversation

@dmitryk-dk
Copy link
Contributor

@dmitryk-dk dmitryk-dk commented Dec 9, 2025

Related issue: this is mostly followup commit after adding tenant fetch support

Describe Your Changes

To be compatible with Grafana < 11 version, we need to support components Select, AsyncSelect, and Combobox.
Implemented a component which checks the availability of the Combobox component and uses it if it can be used, or use the old Select or AsyncSelect

Checklist

The following checks are mandatory:

@dmitryk-dk dmitryk-dk changed the base branch from main to issue-357 December 9, 2025 14:11
implement two types of compatible combobox

fix usage of the components

cleanup

update CHANGELOG.md
# Conflicts:
#	src/components/QueryEditor/QueryBuilder/components/QueryBuilderFilters/QueryBuilderFieldFilter.tsx
@dmitryk-dk dmitryk-dk marked this pull request as ready for review December 9, 2025 14:49
Copy link
Contributor

@arturminchukov arturminchukov left a comment

Choose a reason for hiding this comment

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

LGTM! just few nit comments.

@dmitryk-dk dmitryk-dk merged commit 94c8964 into issue-357 Dec 10, 2025
dmitryk-dk added a commit that referenced this pull request Dec 10, 2025
* fix issue with many of the filter fileds and values

use lodash debounce, fix parsing

use memoization to avoid errors on render

fix render for Grafana < 11

simplify check

update CHANGELOG.md

* remove unused state

* Combobox component (#493)

* implement Combobox for different versions of Grafana

implement two types of compatible combobox

fix usage of the components

cleanup

update CHANGELOG.md

* fix nit comments

* fix fe tests
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.

2 participants