Skip to content

Comments

upcoming: [UIE-10178] - Use new hostname endpoint in Database Summary and Network tab#13413

Merged
hana-akamai merged 14 commits intolinode:developfrom
hana-akamai:UIE-10178-use-hosts-endpoints-dbaas-connection-details
Feb 24, 2026
Merged

upcoming: [UIE-10178] - Use new hostname endpoint in Database Summary and Network tab#13413
hana-akamai merged 14 commits intolinode:developfrom
hana-akamai:UIE-10178-use-hosts-endpoints-dbaas-connection-details

Conversation

@hana-akamai
Copy link
Contributor

@hana-akamai hana-akamai commented Feb 18, 2026

Description 📝

Update host fields in Database Summary Connection Details and Networking tab to use new host.endpoints data instead of constructing the address ourselves

I created a new file ConnectionDetailsHostRows2 based off the old file ConnectionDetailsHostRows so we could seamlessly toggle between old/new logic with a feature flag. After the API releases the hostname changes, we can easily delete the old logic

Changes 🔄

  • Add Hostname Endpoints feature flag
  • Display host fields using host.endpoints if the Hostname Endpoints feature flag is on
  • Some refactoring in the new file

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

Preview 📷

Host Fields
No VPC image
VPC with no public access image
VPC with public access image

How to test 🧪

Prerequisites

(How to setup test environment)

  • Turn on the legacy MSW

Verification steps

(How to verify changes)

  • In the makeMockDatabase function in serverHandlers.ts, comment/uncomment out some of the values to simulate No VPC (public only), VPC with no public access (private only), VPC with public access (private and public)
  • Host fields that display should match the table in the ticket. Similar fields should display with/without the Hostname Endpoints feature flag on
pnpm test ConnectionDetailsHostRows2
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

@hana-akamai hana-akamai self-assigned this Feb 18, 2026
@hana-akamai hana-akamai added the DBaaS Relates to Database as a Service label Feb 18, 2026
host: HostEndpoint;
}

export const ConnectionDetailsHostDisplay = (
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Extracted from ConnectionDetailsHostRows and made more generic

const PRIVATE_PRIMARY = `private-${DEFAULT_PRIMARY}`;
const PRIVATE_STANDBY = `private-${DEFAULT_STANDBY}`;

describe('ConnectionDetailsHostRows2', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file is a copy of ConnectionDetailsHostRows.test.tsx with updates to support endpoints field and minor clean up

/**
* This component is responsible for conditionally rendering the Private Host, Public Host, and Read-only Host rows that get displayed in
* the Connection Details tables that appear in the Database Summary and Networking tabs */
export const ConnectionDetailsHostRows2 = (
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file is a copy of ConnectionDetailsHostRows.tsx with updates to use host endpoints and some refactoring

address: string;
port: number;
private_access: boolean;
public_access: boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Went ahead and updated the private_access field to public_access since it was soft approved

@hana-akamai hana-akamai marked this pull request as ready for review February 20, 2026 15:51
@hana-akamai hana-akamai requested a review from a team as a code owner February 20, 2026 15:51
@bnussman-akamai bnussman-akamai self-requested a review February 23, 2026 19:38
Copy link
Contributor

@dwiley-akamai dwiley-akamai left a comment

Choose a reason for hiding this comment

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

Verification steps ✅
Code review ✅

Approved pending resolution of the FeatureFlagTool.tsx conflict

Copy link
Contributor

@smans-akamai smans-akamai left a comment

Choose a reason for hiding this comment

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

Verification steps ✅
Code review ✅
Feedback Addressed ✅

The changes look great!

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Feb 24, 2026
@hana-akamai hana-akamai merged commit 0635df0 into linode:develop Feb 24, 2026
32 checks passed
@hana-akamai hana-akamai deleted the UIE-10178-use-hosts-endpoints-dbaas-connection-details branch February 24, 2026 22:37
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DBaaS Relates to Database as a Service

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants