Skip to content

Conversation

@kagora-akamai
Copy link
Contributor

@kagora-akamai kagora-akamai commented Jan 22, 2026

Description 📝

Change text visibility of Log Path info tooltip based on account capabilities.

Changes 🔄

For user without Akamai Cloud Pulse Logs LKE-E Audit capability, do not show LKE sample path.

Scope 🚢

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

  • Some customers (e.g. in Beta or Limited Availability)

Target release date 🗓️

January 2026

Preview 📷

Before After
Screenshot 2026-01-22 at 10 57 06 Screenshot 2026-01-22 at 10 57 32

How to test 🧪

Verification steps

Go to Destination Create page (/logs/delivery/destinations/create) and hover over info icon next to Sample Destination Object Name. If your account has Akamai Cloud Pulse Logs LKE-E Audit capability you should see 2 default paths described, if it does not then you should only see Audit Logs path described.

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
🔐 Removing all sensitive information from the code and PR description
📱 Providing mobile 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

@kagora-akamai kagora-akamai self-assigned this Jan 22, 2026
@kagora-akamai kagora-akamai marked this pull request as ready for review January 22, 2026 10:14
@kagora-akamai kagora-akamai requested a review from a team as a code owner January 22, 2026 10:14
return `${getDestinationTypeOption(destination.type)?.label}`;
};

export const checkLkeEAuditLogsTypeSelectionEnabled = (
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd change it to useIsLkeEAuditLogsTypeSelectionEnabled hook:

export const useIsLkeEAuditLogsTypeSelectionEnabled = (): boolean => {
  const { data: account } = useAccount();
  return !!account?.capabilities?.includes(
    'Akamai Cloud Pulse Logs LKE-E Audit'
  );
};

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Question for Linode team reviewer:
Should we maybe move this to useIsACLPLogsEnabled hook? Or is it better to leave it as a separate one?

@kagora-akamai kagora-akamai force-pushed the feature/DPS-36290-toottip-shows-data-for-kubernetes-and-audit-logs branch from ac5c7c7 to 00d7370 Compare January 22, 2026 14:03
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 2 failing tests on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
2 Failing863 Passing11 Skipped42m 29s

Details

Failing Tests
SpecTest
advanced-configuration.spec.tsCloud Manager Cypress Tests→Update database clusters→Advanced configurations for a g7-premium-2 MySQL v8.x 2-node cluster » Initial advanced configurations state of an active database clusters
clone-linode.spec.tsCloud Manager Cypress Tests→clone linode » can clone a Linode from Linode details page

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/databases/advanced-configuration.spec.ts,cypress/e2e/core/linodes/clone-linode.spec.ts"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

3 participants