Skip to content

[BUGFIX] Partial table cell settings - gauge chart and range function#645

Open
mixturesolutions wants to merge 3 commits into
perses:mainfrom
mixturesolutions:snapshot/table-fix-test
Open

[BUGFIX] Partial table cell settings - gauge chart and range function#645
mixturesolutions wants to merge 3 commits into
perses:mainfrom
mixturesolutions:snapshot/table-fix-test

Conversation

@mixturesolutions
Copy link
Copy Markdown

@mixturesolutions mixturesolutions commented May 1, 2026

Description

This PR fixes/implements the proposals from this perses/perses##3969

  • gauge chart fixed in cell
  • gauge chart colors aligned with cell settings
  • range function debugged to allow only number (letters except e(used as scientific notation) cannot be entered instead of returning NaN)
  • range function allow decimals not just integers

Screenshots

Prev:
image
image

With PR: image
image

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.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@mixturesolutions mixturesolutions requested a review from a team as a code owner May 1, 2026 12:41
@mixturesolutions mixturesolutions requested review from Gladorme and removed request for a team May 1, 2026 12:41
@mixturesolutions mixturesolutions force-pushed the snapshot/table-fix-test branch 3 times, most recently from f1555e2 to 8dcea73 Compare May 1, 2026 13:07
- gauge chart fixed in cell
- gauge chart colors aligned with cell settings
- range function debugged to allow only number (letters except e(used as scientific notation) cannot be entered instead of returning NaN)
- range function allow decimals not just integers

Signed-off-by: Iris Ye <[email protected]>
@mixturesolutions mixturesolutions force-pushed the snapshot/table-fix-test branch from 8dcea73 to 8af9e34 Compare May 1, 2026 15:33
Copy link
Copy Markdown
Contributor

@ibakshay ibakshay left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! Looks solid. left a small comment.

Comment thread table/src/components/TablePanel.tsx Outdated
/>
</Box>
<Typography variant="body2" sx={{ minWidth: 52, textAlign: 'right' }}>
{value.toFixed(2)} ms
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove the hard-coded ms unit. The unit should come from the column setting.

Image

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thank you Akshay for the review. Newest commit should solve the issue.

@mixturesolutions mixturesolutions force-pushed the snapshot/table-fix-test branch from 3730c3a to 8af9e34 Compare May 6, 2026 14:50
…ith Gauge units aligning to column format

Signed-off-by: Iris Ye <[email protected]>
Comment thread table/src/components/TablePanel.tsx Outdated
@AntoineThebaud
Copy link
Copy Markdown
Contributor

@mixturesolutions looks like your PR is a partial implem of perses/perses#3292 - partial as only applies to GaugeChart, right? If this statement is correct could you please rephrase your PR title & description as it's currently not well reflecting what the change is about IMHO

Co-authored-by: Akshay Iyyadurai Balasundaram <[email protected]>
Signed-off-by: Iris Ye <[email protected]>
@mixturesolutions mixturesolutions changed the title [BUGFIX] Table cell settings [BUGFIX] Partial table cell settings - gauge chart and range function May 11, 2026
@mixturesolutions
Copy link
Copy Markdown
Author

@mixturesolutions looks like your PR is a partial implem of perses/perses#3292 - partial as only applies to GaugeChart, right? If this statement is correct could you please rephrase your PR title & description as it's currently not well reflecting what the change is about IMHO

@AntoineThebaud that is correct. I have rephrased the PR title. For the description, I was refering to the issue I proposed myself that is a more detailed reference of the problems I faced and how it leads to the four bullet points I have:

  • gauge chart fixed in cell
  • gauge chart colors aligned with cell settings
  • range function debugged to allow only number (letters except e(used as scientific notation) cannot be entered instead of returning NaN)
  • range function allow decimals not just integers
    if needed, I can move everything from that issue to this PR

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.

3 participants