Skip to content

Commit

Permalink
[projects] remove prebuild number
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTugarev authored and roboquat committed Aug 24, 2021
1 parent 03c996b commit f646642
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion components/dashboard/src/projects/Prebuild.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function () {
if (!prebuild) {
return "unknown prebuild";
}
return (<h1 className="tracking-tight">{prebuild.branch} <span className="text-gray-200">#{prebuild.branchPrebuildNumber}</span></h1>);
return (<h1 className="tracking-tight">{prebuild.branch} </h1>);
};

const renderSubtitle = () => {
Expand Down
1 change: 0 additions & 1 deletion components/dashboard/src/projects/Prebuilds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export default function () {
<ItemField className="flex items-center">
<div className="flex space-x-2">
<span className="font-medium text-gray-500 dark:text-gray-50">{p.branch}</span>
<span className="text-gray-400">#{p.branchPrebuildNumber}</span>
</div>
<span className="flex-grow" />
<ItemFieldContextMenu menuEntries={prebuildContextMenu(p)} />
Expand Down
2 changes: 0 additions & 2 deletions components/dashboard/src/service/service-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ const gitpodServiceMock = createServiceMock({
id: "pb1",
branch: "main",
buildWorkspaceId: "123",
branchPrebuildNumber: "123342",
teamId: "t1",
projectId,
projectName: "pb1",
Expand All @@ -129,7 +128,6 @@ const gitpodServiceMock = createServiceMock({
id: "pb1",
branch: "foo/bar",
buildWorkspaceId: "1234",
branchPrebuildNumber: "3",
teamId: "t1",
projectId,
projectName: "pb1",
Expand Down
1 change: 0 additions & 1 deletion components/gitpod-protocol/src/teams-projects-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export interface PrebuildInfo {
projectName: string;
cloneUrl: string;
branch: string;
branchPrebuildNumber: string;
buildWorkspaceId: string;

startedAt: string;
Expand Down
1 change: 0 additions & 1 deletion components/server/src/projects/projects-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export class ProjectsService {
changeTitle: commit.commitMessage,
// changePR
// changeUrl
branchPrebuildNumber: "42"
};
}

Expand Down

0 comments on commit f646642

Please sign in to comment.