[BUGFIX] TimeSeriesChart: migration: handle lineWidth as string#401
Merged
AntoineThebaud merged 5 commits intomainfrom Oct 9, 2025
Merged
[BUGFIX] TimeSeriesChart: migration: handle lineWidth as string#401AntoineThebaud merged 5 commits intomainfrom
AntoineThebaud merged 5 commits intomainfrom
Conversation
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
abelyakin
pushed a commit
to abelyakin/plugins
that referenced
this pull request
Jan 14, 2026
…es#401) * [BUGFIX] TimeSeriesChart: migration: handle lineWidth as string Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr> * simplify code using switch pattern Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr> * fix import Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr> * cover case in unit test Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr> * remove redundant code Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr> --------- Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
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.
Description
Fix such migration failure when lineWidth is a string:
bad request: unable to convert to Perses panel: spec: invalid operands \"0\" and 3 to '>' (type string and int)Checklist
[<catalog_entry>] <commit message>naming convention using one of thefollowing
catalog_entryvalues:FEATURE,ENHANCEMENT,BUGFIX,BREAKINGCHANGE,DOC,IGNORE.