Skip to content

feat(datasource-select): migrate pages to DatasourceSelectV3 - #2290

Draft
jsers wants to merge 5 commits into
mainfrom
optimize-datasource-selectors
Draft

feat(datasource-select): migrate pages to DatasourceSelectV3#2290
jsers wants to merge 5 commits into
mainfrom
optimize-datasource-selectors

Conversation

@jsers

@jsers jsers commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Extend DatasourceSelectV3 with filterKey/showHost/className passthrough, array-aware onChange, and a styled default tag. Migrate alert rules, history events, shield, subscribe, metrics-builtin and alert-rule form off the legacy per-group DatasourceSelect.

Extend DatasourceSelectV3 with filterKey/showHost/className passthrough,
array-aware onChange, and a styled default tag. Migrate alert rules, history
events, shield, subscribe, metrics-builtin and alert-rule form off the
legacy per-group DatasourceSelect.
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

jsers and others added 4 commits August 31, 2026 15:41
…label

- merge props.className into base class and omit it from the rest spread
  to avoid duplicate className on Select
- switch optionLabel to flex layout with overflow-hidden / truncate so
  long datasource names no longer overflow the selected display
Render a warning label for selected datasource values that no longer
exist in the list, while keeping the parent-facing onChange contract
on primitive string|number values via labelInValue wrap/unwrap.
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