Bug description
There is a new error being logged in workspaces list when you've opened a snapshot before. This also causes the displayed workspace context URL to be undefined:


Steps to reproduce
- Open a snapshot in Gitpod
- Open your Workspaces list
Workspace affected
No response
Expected behavior
Instead of trying to parse the snapshot/1234-abcd context as a URL, and showing undefined as the context, the workspaces list should just show snapshot/1234-abcd as plain text (not a link) for snapshots here:
|
const normalizedContextUrl = ContextURL.getNormalizedURL(ws)?.toString() || "undefined"; |
|
<a href={normalizedContextUrl}> |
|
<div className="text-sm text-gray-400 dark:text-gray-500 overflow-ellipsis truncate hover:text-blue-600 dark:hover:text-blue-400">{normalizedContextUrl}</div> |
|
</a> |
Example repository
No response
Anything else?
No response
Bug description
There is a new error being logged in workspaces list when you've opened a snapshot before. This also causes the displayed workspace context URL to be
undefined:Steps to reproduce
Workspace affected
No response
Expected behavior
Instead of trying to parse the
snapshot/1234-abcdcontext as a URL, and showingundefinedas the context, the workspaces list should just showsnapshot/1234-abcdas plain text (not a link) for snapshots here:gitpod/components/dashboard/src/workspaces/WorkspaceEntry.tsx
Line 132 in 5ff578e
gitpod/components/dashboard/src/workspaces/WorkspaceEntry.tsx
Lines 145 to 147 in 5ff578e
Example repository
No response
Anything else?
No response