Skip to content

Commit c2b1614

Browse files
committed
Replace /workspaces → /projects as default landing page for both users and teams
1 parent fad83ab commit c2b1614

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.werft/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export async function deployToDev(deploymentConfig: DeploymentConfig, workspaceF
395395
werft.fail('deploy', err);
396396
} finally {
397397
// produce the result independently of Helm succeding, so that in case Helm fails we still have the URL.
398-
exec(`werft log result -d "dev installation" -c github-check-preview-env url ${url}/workspaces/`);
398+
exec(`werft log result -d "dev installation" -c github-check-preview-env url ${url}/projects`);
399399
}
400400

401401
werft.log(`observability`, "Running observability static checks.")

components/dashboard/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function App() {
239239
<Route path="/admin/workspaces" component={WorkspacesSearch} />
240240

241241
<Route path={["/", "/login"]} exact>
242-
<Redirect to="/workspaces" />
242+
<Redirect to="/projects" />
243243
</Route>
244244
<Route path={["/settings"]} exact>
245245
<Redirect to="/account" />
@@ -283,7 +283,7 @@ function App() {
283283
{(teams || []).map(team =>
284284
<Route path={`/t/${team.slug}`} key={team.slug}>
285285
<Route exact path={`/t/${team.slug}`}>
286-
<Redirect to={`/t/${team.slug}/workspaces`} />
286+
<Redirect to={`/t/${team.slug}/projects`} />
287287
</Route>
288288
<Route exact path={`/t/${team.slug}/:maybeProject/:resourceOrPrebuild?`} render={(props) => {
289289
const { maybeProject, resourceOrPrebuild } = props.match.params;

components/dashboard/src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default function Menu() {
176176
return (
177177
<div className="flex p-1 pl-3 ">
178178
{ projectName && <div className="flex h-full rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 px-2 py-1">
179-
<Link to={team ? `/t/${team.slug}/projects` : "/workspaces"}>
179+
<Link to={team ? `/t/${team.slug}/projects` : `/projects`}>
180180
<span className="text-base text-gray-600 dark:text-gray-400 font-semibold">{team?.name || userFullName}</span>
181181
</Link>
182182
</div> }

components/gitpod-protocol/src/util/gitpod-host-url.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,23 @@ export class GitpodHostUrl {
8585
}
8686

8787
asDashboard(): GitpodHostUrl {
88-
return this.with(url => ({ pathname: '/workspaces/' }));
88+
return this.with(url => ({ pathname: '/projects' }));
8989
}
9090

9191
asLogin(): GitpodHostUrl {
92-
return this.with(url => ({ pathname: '/login/' }));
92+
return this.with(url => ({ pathname: '/login' }));
9393
}
9494

9595
asUpgradeSubscription(): GitpodHostUrl {
96-
return this.with(url => ({ pathname: '/plans/' }));
96+
return this.with(url => ({ pathname: '/plans' }));
9797
}
9898

9999
asAccessControl(): GitpodHostUrl {
100-
return this.with(url => ({ pathname: '/access-control/' }));
100+
return this.with(url => ({ pathname: '/integrations' }));
101101
}
102102

103103
asSettings(): GitpodHostUrl {
104-
return this.with(url => ({ pathname: '/settings/' }));
104+
return this.with(url => ({ pathname: '/settings' }));
105105
}
106106

107107
asGraphQLApi(): GitpodHostUrl {

0 commit comments

Comments
 (0)