Skip to content

Commit 938e2cf

Browse files
committed
Fixed overflow of really long project names.
1 parent ad5544e commit 938e2cf

File tree

9 files changed

+13
-12
lines changed

9 files changed

+13
-12
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/projects/components/dialogs/remove-project-config-dialog.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<AlertDialog.Header>
2222
<AlertDialog.Title>Delete Configuration Value</AlertDialog.Title>
2323
<AlertDialog.Description>
24-
Are you sure you want to delete "{name}"?
24+
Are you sure you want to delete "<span class="truncate max-w-[200px] inline-block align-bottom" title={name}>{name}</span>"?
2525
</AlertDialog.Description>
2626
</AlertDialog.Header>
2727
<AlertDialog.Footer>

src/Exceptionless.Web/ClientApp/src/lib/features/projects/components/dialogs/remove-project-dialog.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<AlertDialog.Header>
2222
<AlertDialog.Title>Delete Project</AlertDialog.Title>
2323
<AlertDialog.Description>
24-
Are you sure you want to delete "{name}"?
24+
Are you sure you want to delete "<span class="truncate max-w-[200px] inline-block align-bottom" title={name}>{name}</span>"?
2525
</AlertDialog.Description>
2626
</AlertDialog.Header>
2727
<AlertDialog.Footer>

src/Exceptionless.Web/ClientApp/src/lib/features/projects/components/dialogs/reset-project-data-dialog.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<AlertDialog.Header>
2222
<AlertDialog.Title>Reset Project Data</AlertDialog.Title>
2323
<AlertDialog.Description>
24-
Are you sure you want to reset all project data for "{name}"? This action cannot be undone and will permanently erase all events, stacks, and
24+
Are you sure you want to reset all project data for "<span class="truncate max-w-[200px] inline-block align-bottom" title={name}>{name}</span>"? This action cannot be undone and will permanently erase all events, stacks, and
2525
associated data.
2626
</AlertDialog.Description>
2727
</AlertDialog.Header>

src/Exceptionless.Web/ClientApp/src/lib/features/webhooks/components/dialogs/remove-webhook-dialog.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<AlertDialog.Header>
2222
<AlertDialog.Title>Delete Webhook</AlertDialog.Title>
2323
<AlertDialog.Description>
24-
Are you sure you want to delete "{url}"?
24+
Are you sure you want to delete "<span class="truncate max-w-[200px] inline-block align-bottom" title={url}>{url}</span>"?
2525
</AlertDialog.Description>
2626
</AlertDialog.Header>
2727
<AlertDialog.Footer>

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/+layout.svelte

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@
3333

3434
<Card.Root>
3535
<Card.Header>
36-
<Card.Title class="text-2xl" level={2}
37-
>{#if projectQuery.isSuccess}{projectQuery.data.name}
38-
{/if} Settings</Card.Title
36+
<Card.Title class="text-2xl flex items-center gap-1" level={2}
37+
>{#if projectQuery.isSuccess}
38+
<div class="max-w-[70%] overflow-hidden" title={projectQuery.data.name}>
39+
<span class="truncate block">{projectQuery.data.name}</span>
40+
</div>
41+
{/if}
42+
<span class="flex-shrink-0">Settings</span></Card.Title
3943
>
4044
<Card.Description>Manage your project settings and integrations.</Card.Description>
4145
<Card.Action>

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/api-keys/+page.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import * as DataTable from '$comp/data-table';
43
import { H3, Muted } from '$comp/typography';
54
import { Button } from '$comp/ui/button';
65
import { Separator } from '$comp/ui/separator';

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/configuration-values/+page.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import * as DataTable from '$comp/data-table';
43
import { A, H3, Muted } from '$comp/typography';
54
import { Button } from '$comp/ui/button';
65
import { Separator } from '$comp/ui/separator';

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/integrations/+page.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import type { NotificationSettings } from '$features/projects/models';
33
44
import { page } from '$app/state';
5-
import * as DataTable from '$comp/data-table';
6-
import { H3, H4, Muted, P } from '$comp/typography';
5+
import { H3, H4, Muted } from '$comp/typography';
76
import { Button } from '$comp/ui/button';
87
import { Separator } from '$comp/ui/separator';
98
import { env } from '$env/dynamic/public';

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/settings/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import { A, H3, H4, Large, Muted, P } from '$comp/typography';
3+
import { A, H3, H4, Large, Muted } from '$comp/typography';
44
import { Input } from '$comp/ui/input';
55
import { Label } from '$comp/ui/label';
66
import { Separator } from '$comp/ui/separator';

0 commit comments

Comments
 (0)