Skip to content

Commit b4a682d

Browse files
Display full sandbox ID in breadcrumb instead of truncated version (#280)
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Summary This PR updates the sandbox details page to display the full sandbox ID in the breadcrumb navigation instead of showing a truncated version. ## Changes - **Updated `src/configs/layout.ts`**: Removed the truncation logic that was displaying sandbox IDs as `I1E55K...K3RHIN` and now shows the complete ID like `I1E55KOJWB0SJO8K3RHIN` ## Before The breadcrumb showed truncated sandbox IDs: ``` SANDBOXES / I1E55K...K3RHIN ``` ## After The breadcrumb now shows the full sandbox ID: ``` SANDBOXES / I1E55KOJWB0SJO8K3RHIN ``` ## Related Addresses feedback from #dashboard Slack channel regarding sandbox ID display. <!-- CURSOR_AGENT_PR_BODY_END --> [Slack Thread](https://e2b-team.slack.com/archives/C086YA5T4JD/p1774627173865829?thread_ts=1774627173.865829&cid=C086YA5T4JD) <div><a href="https://cursor.com/agents/bc-38e5eb75-3136-5d82-9bdb-5e475dc399d1"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/background-agent?bcId=bc-38e5eb75-3136-5d82-9bdb-5e475dc399d1"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Ben Fornefeld <ben-fornefeld@users.noreply.github.com>
1 parent e438643 commit b4a682d

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

bun.lock

Lines changed: 29 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/configs/layout.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ const DASHBOARD_LAYOUT_CONFIGS: Record<
3232
const parts = pathname.split('/')
3333
const teamIdOrSlug = parts[2]!
3434
const sandboxId = parts[4]!
35-
const sandboxIdSliced = `${sandboxId.slice(0, 6)}...${sandboxId.slice(-6)}`
3635

3736
return {
3837
title: [
3938
{
4039
label: 'Sandboxes',
4140
href: PROTECTED_URLS.SANDBOXES_LIST(teamIdOrSlug),
4241
},
43-
{ label: sandboxIdSliced },
42+
{ label: sandboxId },
4443
],
4544
type: 'custom',
4645
copyValue: sandboxId,

0 commit comments

Comments
 (0)