diff --git a/packages/server/src/ui/routes/build-view/build-hash-selector.css b/packages/server/src/ui/routes/build-view/build-hash-selector.css
index 6cdc267d3..8915f3895 100644
--- a/packages/server/src/ui/routes/build-view/build-hash-selector.css
+++ b/packages/server/src/ui/routes/build-view/build-hash-selector.css
@@ -76,6 +76,7 @@
.build-hash-selector__links {
display: none;
+ white-space: nowrap;
}
.build-hash-selector__list li:hover .build-hash-selector__links {
diff --git a/packages/server/src/ui/routes/build-view/build-hash-selector.jsx b/packages/server/src/ui/routes/build-view/build-hash-selector.jsx
index a82d542a7..336f6f5ea 100644
--- a/packages/server/src/ui/routes/build-view/build-hash-selector.jsx
+++ b/packages/server/src/ui/routes/build-view/build-hash-selector.jsx
@@ -12,9 +12,9 @@ import {AsyncLoader, combineLoadingStates, combineAsyncData} from '../../compone
import {Pill} from '../../components/pill';
import {useEffect} from 'preact/hooks';
-/** @param {{branch: string, withDevLine: boolean, withNode: boolean, withDevBranchOff: boolean}} props */
+/** @param {{branch: string, withDevLine: boolean, withNode: boolean, withDevBranchArc: boolean}} props */
const GitViz = props => {
- const {branch, withDevLine, withNode, withDevBranchOff} = props;
+ const {branch, withDevLine, withNode, withDevBranchArc} = props;
return (
@@ -22,7 +22,7 @@ const GitViz = props => {
{withDevLine ? : }
{withNode && branch === 'master' ? : }
{withNode && branch !== 'master' ? : }
- {withDevBranchOff ? : }
+ {withDevBranchArc ? : }
);
};
@@ -36,7 +36,7 @@ const LabelLineItem = props => {
{
);
};
-/** @param {{build: LHCI.ServerCommand.Build, compareBuild: LHCI.ServerCommand.Build, baseBuild: LHCI.ServerCommand.Build | null | undefined, selector: 'base'|'compare', withDevBranchOff: boolean, withDevLine: boolean, key: string}} props */
+/** @param {{build: LHCI.ServerCommand.Build, compareBuild: LHCI.ServerCommand.Build, baseBuild: LHCI.ServerCommand.Build | null | undefined, selector: 'base'|'compare', withDevBranchArc: boolean, withDevLine: boolean, key: string}} props */
const BuildLineItem = props => {
const {build, compareBuild, baseBuild, selector} = props;
const isCompareBranch = build.id === compareBuild.id;
@@ -90,7 +90,7 @@ const BuildLineItem = props => {
@@ -99,7 +99,7 @@ const BuildLineItem = props => {
{build.commitMessage}
- {build.externalBuildUrl ? Travis : }
+ {build.externalBuildUrl ? View Build : }
);
@@ -153,10 +153,10 @@ const BuildHashSelector_ = props => {
compareBuild={props.build}
baseBuild={props.ancestorBuild}
selector={props.selector}
- withDevLine={index <= indexOfFirstDev}
- withDevBranchOff={index === indexOfFirstDev + 1}
+ withDevLine={index <= indexOfFirstDev && build.branch !== 'master'}
+ withDevBranchArc={index === indexOfFirstDev + 1}
/>
- {index === indexOfFirstDev ? (
+ {index === indexOfFirstDev && build.branch !== 'master' ? (
) : null}
{index === builds.length - 1 ? (