Skip to content

[DI-26291] - Introduce dimension value label transformation config#12676

Merged
nikhagra-akamai merged 19 commits intolinode:developfrom
ankita-akamai:feature/dimension_value_display_l
Aug 14, 2025
Merged

[DI-26291] - Introduce dimension value label transformation config#12676
nikhagra-akamai merged 19 commits intolinode:developfrom
ankita-akamai:feature/dimension_value_display_l

Conversation

@ankita-akamai
Copy link
Copy Markdown
Contributor

@ankita-akamai ankita-akamai commented Aug 12, 2025

Description 📝

Introduce dimension filter value label transformation config for alerts and metrics

Changes 🔄

  • Created dimension filter value label transformation config at DimensionTransform.ts.
  • Updated unit tests and cypress.

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

26 aug 2025

Preview 📷

Before After
image image
image image

How to test 🧪

  • Navigate to /metrics page.

  • Go to serverhandler.ts, in /metrics mocked api response, put 'node_type' as one of the keys and give a dummy value - primary.

  • Check if primary is concatenated in the legend title and capitalized - Primary.

  • Navigate to /alerts page.

  • Select any service and click on add a dimension filter button, choose any filter, operator and,

  • Verify that the transformation function mapping in DimensionTranform.ts config is applied properly on the values which you see in values dropdown.

Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@ankita-akamai ankita-akamai marked this pull request as ready for review August 12, 2025 14:36
@ankita-akamai ankita-akamai requested review from a team as code owners August 12, 2025 14:36
@ankita-akamai ankita-akamai requested review from bnussman-akamai, dmcintyr-akamai and hasyed-akamai and removed request for a team August 12, 2025 14:36
@ankita-akamai ankita-akamai changed the title [DI-26291] - Introduce dimension value transformation config [DI-26291] - Introduce dimension value label transformation config Aug 12, 2025
@dmcintyr-akamai
Copy link
Copy Markdown
Contributor

changes are visible for me in local dev env

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Aug 13, 2025
@linode-gh-bot
Copy link
Copy Markdown
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #4 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing717 Passing4 Skipped130m 39s

Details

Failing Tests
SpecTest
linode-storage.spec.tsCloud Manager Cypress Tests→linode storage tab » delete disk

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/linode-storage.spec.ts"

@nikhagra-akamai nikhagra-akamai merged commit 4ecbc37 into linode:develop Aug 14, 2025
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants