Skip to content

[IGNORE] some migration patches#276

Merged
AntoineThebaud merged 2 commits intomainfrom
antoinethebaud/ts-migrate-misc
Aug 26, 2025
Merged

[IGNORE] some migration patches#276
AntoineThebaud merged 2 commits intomainfrom
antoinethebaud/ts-migrate-misc

Conversation

@AntoineThebaud
Copy link
Contributor

@AntoineThebaud AntoineThebaud commented Aug 26, 2025

Description

  • simplify some code in table migration logic
  • avoid generating an empty array for querySettings
  • formatting for Table & TimeSeriesChart
  • add note for future work for Table

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
@AntoineThebaud AntoineThebaud changed the title [IGNORE] Table migration: small refacto & add note for future work [IGNORE] misc migration patches Aug 26, 2025
@AntoineThebaud AntoineThebaud changed the title [IGNORE] misc migration patches [IGNORE] some migration patches Aug 26, 2025
@AntoineThebaud AntoineThebaud marked this pull request as ready for review August 26, 2025 18:38
@AntoineThebaud AntoineThebaud merged commit aad3547 into main Aug 26, 2025
13 checks passed
@AntoineThebaud AntoineThebaud deleted the antoinethebaud/ts-migrate-misc branch August 26, 2025 18:39
colorMode: "fixed"
colorValue: property.value.fixedColor
}
if override.matcher.id == "byName" && override.matcher.options != _|_
Copy link
Member

Choose a reason for hiding this comment

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

would have been great to keep the indentation, the code is harder to read now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's more correct like this because all the for & if are chained here (notice that there's no opening brace at the end of each line), so this doesnt mislead you in thinking we are generating structs in the middle of the chain. Actually if we were enforcing file formatting I think that would be the output since this is what I get on CUE playground:
image

rafi-ruetcse17 pushed a commit to opnpulse/perses_plugins that referenced this pull request Sep 1, 2025
* [IGNORE] Table migration: small refacto & add note for future work

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* avoid empty array for querySettings + formatting

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
* [IGNORE] Table migration: small refacto & add note for future work

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

* avoid empty array for querySettings + formatting

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>

---------

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
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