Skip to content

Added: [DI-29914] - Pendo Analytics unique IDs for CloudPulse metrics filters and Autocomplete#13402

Merged
venkymano-akamai merged 10 commits intolinode:developfrom
venkymano-akamai:pendo_limited_id
Feb 18, 2026
Merged

Added: [DI-29914] - Pendo Analytics unique IDs for CloudPulse metrics filters and Autocomplete#13402
venkymano-akamai merged 10 commits intolinode:developfrom
venkymano-akamai:pendo_limited_id

Conversation

@venkymano-akamai
Copy link
Contributor

@venkymano-akamai venkymano-akamai commented Feb 16, 2026

Description 📝

Need to add unique IDs for pendo analytics to track the filters usage for our CloudPulse metrics

Changes 🔄

  1. Add a data-pendo-id for the options inside the autocomplete
  2. Add data-test ids for Custom Select and Text filter component in CloudPulse
  3. When a custom renderOption is used, add the pendo id in the customisation

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 🗓️ Next Release date

Preview 📷

Include a screenshot <img src="" /> or video <video src="" /> of the change.

🔒 Use the Mask Sensitive Data setting for security.

💡 For changes requiring multiple steps to validate, prefer a video for clarity.

Pendo ID's for options
Screenshot 2026-02-16 at 2 14 59 PM

How to test 🧪

  1. Login into Cloud Manager application
  2. Navigate to metrics under monitor or any other URL which has autocomplete
  3. If you open the autocomplete popper and inspect on it, you should see data-pendo-id for the options
  4. This is additon of ID, no functionality or any other change to UI/UX.
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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Pendo analytics tracking IDs and test IDs to CloudPulse metrics filters and Autocomplete components to enable better usage tracking and testing. The changes are focused on the CloudPulse feature area and the shared Autocomplete UI component, with no functional changes to application behavior.

Changes:

  • Added data-pendo-id attributes to Autocomplete options (default rendering path) and custom renderOption implementations in CloudPulse components
  • Added data-testid attributes to CloudPulse filter components (CustomSelect, TextFilter, DateRangePicker presets)
  • Updated test file to match renamed data-testid value from "group-by" to "widget-group-by"

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/ui/src/components/Autocomplete/Autocomplete.tsx Added data-pendo-id to default renderOption for tracking option selections
packages/ui/src/components/DatePicker/DateRangePicker/Presets.tsx Added data-testid to preset buttons for testing
packages/manager/src/features/CloudPulse/shared/CloudPulseTextFilter.tsx Added data-testid to text input field
packages/manager/src/features/CloudPulse/shared/CloudPulseCustomSelect.tsx Added data-testid to select component
packages/manager/src/features/CloudPulse/shared/CloudPulseResourcesSelect.tsx Added data-pendo-id to custom renderOption for resource options
packages/manager/src/features/CloudPulse/shared/CloudPulseFirewallNodebalancersSelect.tsx Added data-pendo-id to custom renderOption for firewall/nodebalancer options
packages/manager/src/features/CloudPulse/shared/CloudPulseEndpointsSelect.tsx Added data-pendo-id to custom renderOption for endpoint options
packages/manager/src/features/CloudPulse/GroupBy/CloudPulseGroupByDrawer.tsx Added data-pendo-id to custom renderOption for group-by dimension options
packages/manager/src/features/CloudPulse/GroupBy/WidgetFilterGroupByRenderer.tsx Renamed data-testid from "group-by" to "widget-group-by" for clarity
packages/manager/src/features/CloudPulse/GroupBy/WidgetFilterGroupByRenderer.test.tsx Updated tests to use new "widget-group-by" data-testid
packages/manager/src/features/CloudPulse/Alerts/NotificationChannels/NotificationChannelDetail/NotificationChannelAlerts.tsx Added data-pendo-id to custom renderOption for alert service options
packages/manager/src/features/CloudPulse/Alerts/NotificationChannels/CreateChannel/NotificationRecipients.tsx Added data-pendo-id to custom renderOption for recipient options
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/GeneralInformation/AlertEntityScopeSelect.tsx Added data-pendo-id to custom renderOption for entity scope options
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx Added data-pendo-id to custom renderOption for service filter options
packages/ui/.changeset/pr-13402-added-1771232329193.md Changeset documenting Autocomplete changes
packages/manager/.changeset/pr-13402-added-1771232291930.md Changeset documenting CloudPulse metrics changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@kmuddapo kmuddapo left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Feb 16, 2026
@venkymano-akamai venkymano-akamai marked this pull request as ready for review February 16, 2026 15:54
@venkymano-akamai venkymano-akamai requested review from a team as code owners February 16, 2026 15:54
@venkymano-akamai venkymano-akamai requested review from cpathipa and removed request for a team February 16, 2026 15:54
<Autocomplete
autoHighlight
clearOnBlur
data-pendoid={label || 'Resources'} // Adding data-pendoid for better tracking in Pendo analytics, using the label prop to create a unique identifier for the select element.
Copy link
Member

Choose a reason for hiding this comment

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

Should this be data-pendo-id?

Suggested change
data-pendoid={label || 'Resources'} // Adding data-pendoid for better tracking in Pendo analytics, using the label prop to create a unique identifier for the select element.
data-pendo-id={label || 'Resources'} // Adding data-pendoid for better tracking in Pendo analytics, using the label prop to create a unique identifier for the select element.

@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 868 passing tests on test run #8 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing868 Passing11 Skipped40m 14s

@venkymano-akamai venkymano-akamai merged commit 6e64561 into linode:develop Feb 18, 2026
35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Feb 18, 2026
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.

6 participants