Skip to content

Commit

Permalink
Merge pull request #11185 from linode/staging
Browse files Browse the repository at this point in the history
Release v1.131.1 - staging → master
  • Loading branch information
bnussman-akamai authored Oct 29, 2024
2 parents 47ed675 + 7bcc3c5 commit db0f640
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 41 deletions.
7 changes: 7 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [2024-10-29] - v1.131.1


### Fixed:

- Hostnames not showing on the Database details page ([#11182](https://github.com/linode/manager/pull/11182))

## [2024-10-28] - v1.131.0


Expand Down
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linode-manager",
"author": "Linode",
"description": "The Linode Manager website",
"version": "1.131.0",
"version": "1.131.1",
"private": true,
"type": "module",
"bugs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ const sxTooltipIcon = {
const privateHostCopy =
'A private network host and a private IP can only be used to access a Database Cluster from Linodes in the same data center and will not incur transfer costs.';

const mongoHostHelperCopy =
'This is a public hostname. Coming soon: connect to your MongoDB clusters using private IPs';

/**
* Deprecated @since DBaaS V2 GA. Will be removed remove post GA release ~ Dec 2024
* TODO (UIE-8214) remove POST GA
Expand Down Expand Up @@ -287,48 +284,29 @@ export const DatabaseSummaryConnectionDetailsLegacy = (props: Props) => {
)}
</Box>
<Box>
<Typography>
<span>hosts</span> ={' '}
{(!database.peers || database.peers.length === 0) && (
<span className={classes.provisioningText}>
Your hostnames will appear here once they are available.
</span>
)}
</Typography>
{database.peers &&
database.peers.length > 0 &&
database.peers.map((hostname, i) => (
<Box
alignItems="center"
display="flex"
flexDirection="row"
key={hostname}
>
<Typography
style={{
marginBottom: 0,
marginLeft: 16,
marginTop: 0,
}}
>
<Box alignItems="center" display="flex" flexDirection="row">
{database.hosts?.primary ? (
<>
<Typography>
<span>host</span> ={' '}
<span style={{ fontFamily: theme.font.normal }}>
{hostname}
</span>
{database.hosts?.primary}
</span>{' '}
</Typography>
<CopyTooltip
className={classes.inlineCopyToolTip}
text={hostname}
text={database.hosts?.primary}
/>
{/* Display the helper text on the first hostname */}
{i === 0 && (
<TooltipIcon
status="help"
sxTooltipIcon={sxTooltipIcon}
text={mongoHostHelperCopy}
/>
)}
</Box>
))}
</>
) : (
<Typography>
<span>host</span> ={' '}
<span className={classes.provisioningText}>
Your hostname will appear here once it is available.
</span>
</Typography>
)}
</Box>
</Box>
{readOnlyHost && (
<Box alignItems="center" display="flex" flexDirection="row">
Expand Down

0 comments on commit db0f640

Please sign in to comment.