Skip to content

Commit b4acbd2

Browse files
authored
Merge pull request #1908 from exceptionless/ui-tweaks
Remove page cards and change page title
2 parents 4274857 + bab539b commit b4acbd2

37 files changed

+906
-876
lines changed

src/Exceptionless.Web/ClientApp/package-lock.json

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

src/Exceptionless.Web/ClientApp/package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -25,73 +25,73 @@
2525
"upgrade": "ncu -i"
2626
},
2727
"devDependencies": {
28-
"@chromatic-com/storybook": "^4.0.0",
29-
"@eslint/compat": "^1.3.0",
30-
"@eslint/js": "^9.29.0",
31-
"@iconify-json/lucide": "^1.2.49",
32-
"@playwright/test": "^1.53.0",
33-
"@storybook/addon-a11y": "^9.0.10",
34-
"@storybook/addon-docs": "^9.0.10",
35-
"@storybook/addon-svelte-csf": "^5.0.3",
36-
"@storybook/sveltekit": "^9.0.10",
28+
"@chromatic-com/storybook": "^4.0.1",
29+
"@eslint/compat": "^1.3.1",
30+
"@eslint/js": "^9.30.0",
31+
"@iconify-json/lucide": "^1.2.53",
32+
"@playwright/test": "^1.53.1",
33+
"@storybook/addon-a11y": "^9.0.14",
34+
"@storybook/addon-docs": "^9.0.14",
35+
"@storybook/addon-svelte-csf": "^5.0.4",
36+
"@storybook/sveltekit": "^9.0.14",
3737
"@sveltejs/adapter-static": "^3.0.8",
38-
"@sveltejs/kit": "^2.21.5",
38+
"@sveltejs/kit": "^2.22.2",
3939
"@sveltejs/vite-plugin-svelte": "^5.1.0",
40-
"@tailwindcss/vite": "^4.1.10",
40+
"@tailwindcss/vite": "^4.1.11",
4141
"@testing-library/jest-dom": "^6.6.3",
4242
"@testing-library/svelte": "^5.2.8",
4343
"@types/eslint": "^9.6.1",
44-
"@types/node": "^24.0.1",
44+
"@types/node": "^24.0.6",
4545
"@types/throttle-debounce": "^5.0.2",
4646
"cross-env": "^7.0.3",
47-
"eslint": "^9.29.0",
47+
"eslint": "^9.30.0",
4848
"eslint-config-prettier": "^10.1.5",
49-
"eslint-plugin-perfectionist": "^4.14.0",
50-
"eslint-plugin-storybook": "^9.0.10",
51-
"eslint-plugin-svelte": "^3.9.2",
49+
"eslint-plugin-perfectionist": "^4.15.0",
50+
"eslint-plugin-storybook": "^9.0.14",
51+
"eslint-plugin-svelte": "^3.10.1",
5252
"jsdom": "^26.1.0",
53-
"prettier": "^3.5.3",
53+
"prettier": "^3.6.2",
5454
"prettier-plugin-svelte": "^3.4.0",
55-
"prettier-plugin-tailwindcss": "^0.6.12",
56-
"storybook": "^9.0.10",
57-
"svelte": "^5.34.3",
58-
"svelte-check": "^4.2.1",
59-
"swagger-typescript-api": "^13.2.2",
55+
"prettier-plugin-tailwindcss": "^0.6.13",
56+
"storybook": "^9.0.14",
57+
"svelte": "^5.34.8",
58+
"svelte-check": "^4.2.2",
59+
"swagger-typescript-api": "^13.2.7",
6060
"tslib": "^2.8.1",
6161
"typescript": "^5.8.3",
62-
"typescript-eslint": "^8.34.0",
62+
"typescript-eslint": "^8.35.0",
6363
"vite": "^6.3.5",
64-
"vitest": "3.2.3"
64+
"vitest": "3.2.4"
6565
},
6666
"dependencies": {
6767
"@exceptionless/browser": "^3.1.0",
6868
"@exceptionless/fetchclient": "^0.42.0",
69-
"@lucide/svelte": "^0.515.0",
69+
"@lucide/svelte": "^0.525.0",
7070
"@tanstack/svelte-query": "https://pkg.pr.new/@tanstack/svelte-query@8c9ce9",
7171
"@tanstack/svelte-query-devtools": "https://pkg.pr.new/@tanstack/svelte-query-devtools@8c9ce9",
7272
"@tanstack/svelte-table": "^9.0.0-alpha.10",
7373
"@types/d3-scale": "^4.0.9",
7474
"@types/d3-shape": "^3.1.7",
7575
"@typeschema/class-validator": "^0.3.0",
76-
"bits-ui": "^2.8.0",
76+
"bits-ui": "^2.8.10",
7777
"class-validator": "^0.14.2",
7878
"clsx": "^2.1.1",
7979
"d3-scale": "^4.0.2",
8080
"dompurify": "^3.2.6",
8181
"formsnap": "^2.0.1",
8282
"kit-query-params": "^0.0.26",
83-
"layerchart": "^2.0.0-next.21",
84-
"mode-watcher": "^1.0.8",
85-
"oidc-client-ts": "^3.2.1",
83+
"layerchart": "^2.0.0-next.27",
84+
"mode-watcher": "^1.1.0",
85+
"oidc-client-ts": "^3.3.0",
8686
"pretty-ms": "^9.2.0",
87-
"runed": "^0.28.0",
88-
"shiki": "^3.6.0",
87+
"runed": "^0.29.1",
88+
"shiki": "^3.7.0",
8989
"svelte-sonner": "^1.0.5",
9090
"svelte-time": "^2.0.1",
91-
"sveltekit-superforms": "^2.26.1",
91+
"sveltekit-superforms": "^2.27.1",
9292
"tailwind-merge": "^3.3.1",
9393
"tailwind-variants": "^1.0.0",
94-
"tailwindcss": "^4.1.10",
94+
"tailwindcss": "^4.1.11",
9595
"throttle-debounce": "^5.0.2",
9696
"tw-animate-css": "^1.3.4"
9797
},
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,14 +9,19 @@
79
810
type Props = AProps & {
911
changed: (filter: BooleanFilter) => void;
12+
children?: Snippet;
1013
term: string;
1114
value?: boolean;
1215
};
13-
let { changed, class: className, term, value, ...props }: Props = $props();
16+
let { changed, children, class: className, term, value, ...props }: Props = $props();
1417
1518
const title = `Search ${term}:${value}`;
1619
</script>
1720

1821
<A class={cn('cursor-pointer', className)} onclick={() => changed(new BooleanFilter(term, value))} {title} {...props}>
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
22+
{#if children}
23+
{@render children()}
24+
{:else}
25+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
26+
{/if}
2027
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,14 +9,19 @@
79
810
type Props = AProps & {
911
changed: (filter: DateFilter) => void;
12+
children?: Snippet;
1013
term: string;
1114
value?: Date | string;
1215
};
13-
let { changed, class: className, term, value, ...props }: Props = $props();
16+
let { changed, children, class: className, term, value, ...props }: Props = $props();
1417
1518
const title = `Search ${term}:${value}`;
1619
</script>
1720

1821
<A class={cn('cursor-pointer', className)} onclick={() => changed(new DateFilter(term, value))} {title} {...props}>
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
22+
{#if children}
23+
{@render children()}
24+
{:else}
25+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
26+
{/if}
2027
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,13 +9,18 @@
79
810
type Props = AProps & {
911
changed: (filter: LevelFilter) => void;
12+
children?: Snippet;
1013
value: string[];
1114
};
12-
let { changed, class: className, value, ...props }: Props = $props();
15+
let { changed, children, class: className, value, ...props }: Props = $props();
1316
1417
const title = `Search level:${value}`;
1518
</script>
1619

1720
<A class={cn('cursor-pointer', className)} onclick={() => changed(new LevelFilter(value))} {title} {...props}>
18-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
21+
{#if children}
22+
{@render children()}
23+
{:else}
24+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
25+
{/if}
1926
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,14 +9,19 @@
79
810
type Props = AProps & {
911
changed: (filter: NumberFilter) => void;
12+
children?: Snippet;
1013
term: string;
1114
value?: number;
1215
};
13-
let { changed, class: className, term, value, ...props }: Props = $props();
16+
let { changed, children, class: className, term, value, ...props }: Props = $props();
1417
1518
const title = `Search ${term}:${value}`;
1619
</script>
1720

1821
<A class={cn('cursor-pointer', className)} onclick={() => changed(new NumberFilter(term, value))} {title} {...props}>
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
22+
{#if children}
23+
{@render children()}
24+
{:else}
25+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
26+
{/if}
2027
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,12 +9,17 @@
79
810
type Props = AProps & {
911
changed: (filter: ProjectFilter) => void;
12+
children?: Snippet;
1013
value: string[];
1114
};
12-
let { changed, class: className, value, ...props }: Props = $props();
15+
let { changed, children, class: className, value, ...props }: Props = $props();
1316
const title = `Search project:${value}`;
1417
</script>
1518

1619
<A class={cn('cursor-pointer', className)} onclick={() => changed(new ProjectFilter(value))} {title} {...props}>
17-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
20+
{#if children}
21+
{@render children()}
22+
{:else}
23+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
24+
{/if}
1825
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,13 +9,18 @@
79
810
type Props = AProps & {
911
changed: (filter: ReferenceFilter) => void;
12+
children?: Snippet;
1013
value: string;
1114
};
12-
let { changed, class: className, value, ...props }: Props = $props();
15+
let { changed, children, class: className, value, ...props }: Props = $props();
1316
1417
const title = `Search reference:${value}`;
1518
</script>
1619

1720
<A class={cn('cursor-pointer', className)} onclick={() => changed(new ReferenceFilter(value))} {title} {...props}>
18-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
21+
{#if children}
22+
{@render children()}
23+
{:else}
24+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
25+
{/if}
1926
</A>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import type { Snippet } from 'svelte';
3+
24
import { A, type AProps } from '$comp/typography';
35
import { cn } from '$lib/utils';
46
import Filter from '@lucide/svelte/icons/filter';
@@ -7,13 +9,18 @@
79
810
type Props = AProps & {
911
changed: (filter: SessionFilter) => void;
12+
children?: Snippet;
1013
value: string;
1114
};
12-
let { changed, class: className, value, ...props }: Props = $props();
15+
let { changed, children, class: className, value, ...props }: Props = $props();
1316
1417
const title = `Search ref.session:${value}`;
1518
</script>
1619

1720
<A class={cn('cursor-pointer', className)} onclick={() => changed(new SessionFilter(value))} {title} {...props}>
18-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
21+
{#if children}
22+
{@render children()}
23+
{:else}
24+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
25+
{/if}
1926
</A>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script lang="ts">
22
import type { StackStatus } from '$features/stacks/models';
3+
import type { Snippet } from 'svelte';
34
45
import { A, type AProps } from '$comp/typography';
56
import { cn } from '$lib/utils';
@@ -9,13 +10,18 @@
910
1011
type Props = AProps & {
1112
changed: (filter: StatusFilter) => void;
13+
children?: Snippet;
1214
value: StackStatus[];
1315
};
14-
let { changed, class: className, value, ...props }: Props = $props();
16+
let { changed, children, class: className, value, ...props }: Props = $props();
1517
1618
const title = `Search status:${value}`;
1719
</script>
1820

1921
<A class={cn('cursor-pointer', className)} onclick={() => changed(new StatusFilter(value))} {title} {...props}>
20-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
22+
{#if children}
23+
{@render children()}
24+
{:else}
25+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
26+
{/if}
2127
</A>

0 commit comments

Comments
 (0)