ref(dashboards): Inline top_n -> area conversion into widget library templates#114563
Merged
DominikB2014 merged 1 commit intomasterfrom May 1, 2026
Merged
Conversation
…templates Define the three previously-top_n library templates as area + limit=5 directly, and remove getTopNConvertedDefaultWidgets in favor of exporting getDefaultWidgets. Templates already rendered as area at runtime via the converter, so this is a no-op for users; it just removes an indirection now that the builder no longer creates top_n widgets. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
narsaynorath
approved these changes
May 1, 2026
cleptric
pushed a commit
that referenced
this pull request
May 5, 2026
…templates (#114563) The three `top_n` widget library templates (`high-throughput-transactions` x2 and `top-unhandled`) are now defined as `area` with `limit: 5` directly, instead of `top_n` plus a runtime converter. Users already saw the converted form via `getTopNConvertedDefaultWidgets`, so this is a no-op for them; it removes an indirection now that the builder no longer creates `top_n` widgets at all. Pairs with the data backfill in #114560, but doesn't depend on it — both can land in either order. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The three
top_nwidget library templates (high-throughput-transactionsx2 andtop-unhandled) are now defined asareawithlimit: 5directly, instead oftop_nplus a runtime converter. Users already saw the converted form viagetTopNConvertedDefaultWidgets, so this is a no-op for them; it removes an indirection now that the builder no longer createstop_nwidgets at all.Pairs with the data backfill in #114560, but doesn't depend on it — both can land in either order.