Skip to content

Commit eb6dcec

Browse files
committed
next: Tweaked table tables, filtering icon sizes and addressed other feedback
1 parent f3054c3 commit eb6dcec

22 files changed

+86
-85
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/events-drawer.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,25 +117,25 @@
117117
<Table.Body>
118118
<Table.Row class="group">
119119
{#if eventResponse.isSuccess}
120-
<Table.Head class="w-40 whitespace-nowrap">Occurred On</Table.Head>
120+
<Table.Head class="w-40 font-semibold whitespace-nowrap">Occurred On</Table.Head>
121121
<Table.Cell class="w-4 pr-0"></Table.Cell>
122122
<Table.Cell class="flex items-center"
123123
><DateTime value={eventResponse.data.date}></DateTime> (<TimeAgo value={eventResponse.data.date}></TimeAgo>)</Table.Cell
124124
>
125125
{:else}
126-
<Table.Head class="w-40 whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
126+
<Table.Head class="w-40 font-semibold whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
127127
<Table.Cell class="w-4 pr-0"></Table.Cell>
128128
<Table.Cell class="flex items-center"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Cell>{/if}
129129
</Table.Row>
130130
<Table.Row class="group">
131131
{#if projectResponse.isSuccess}
132-
<Table.Head class="w-40 whitespace-nowrap">Project</Table.Head>
132+
<Table.Head class="w-40 font-semibold whitespace-nowrap">Project</Table.Head>
133133
<Table.Cell class="w-4 pr-0 opacity-0 group-hover:opacity-100"
134134
><EventsFacetedFilter.ProjectTrigger {changed} class="mr-0" value={[projectResponse.data.id!]} /></Table.Cell
135135
>
136136
<Table.Cell>{projectResponse.data.name}</Table.Cell>
137137
{:else}
138-
<Table.Head class="w-40 whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
138+
<Table.Head class="w-40 font-semibold whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
139139
<Table.Cell class="w-4 pr-0"></Table.Cell>
140140
<Table.Cell class="flex items-center"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Cell>
141141
{/if}
@@ -145,7 +145,7 @@
145145

146146
{#if eventResponse.isSuccess}
147147
<Tabs.Root class="mt-4 mb-4" value={activeTab}>
148-
<Tabs.List class="mb-4 w-full justify-normal">
148+
<Tabs.List class="w-full justify-normal">
149149
{#each tabs as tab (tab)}
150150
<Tabs.Trigger value={tab}>{tab}</Tabs.Trigger>
151151
{/each}
@@ -177,7 +177,7 @@
177177
<Table.Body>
178178
{#each { length: 5 } as name, index (`${name}-${index}`)}
179179
<Table.Row class="group">
180-
<Table.Head class="w-40 whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
180+
<Table.Head class="w-40 font-semibold whitespace-nowrap"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Head>
181181
<Table.Cell class="w-4 pr-0"></Table.Cell>
182182
<Table.Cell class="flex items-center"><Skeleton class="h-[24px] w-full rounded-full" /></Table.Cell>
183183
</Table.Row>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/extended-data-item.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</div>
8282
</div>
8383

84-
<div class="mt-2 grow overflow-auto text-xs">
84+
<div class="grow overflow-auto text-xs">
8585
{#if showRaw}
8686
<pre class="bg-muted rounded p-2 break-words whitespace-pre-wrap"><Code class="px-0"><div class="bg-inherit">{json}</div></Code></pre>
8787
{:else}

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/boolean-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
<A class={cn('cursor-pointer', className)} onclick={() => changed(new BooleanFilter(term, value))} {title} {...props}>
1919
{#snippet children()}
20-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
20+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2121
{/snippet}
2222
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/date-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
<A class={cn('cursor-pointer', className)} onclick={() => changed(new DateFilter(term, value))} {title} {...props}>
1919
{#snippet children()}
20-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
20+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2121
{/snippet}
2222
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/level-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
<A class={cn('cursor-pointer', className)} onclick={() => changed(new LevelFilter(value))} {title} {...props}>
1818
{#snippet children()}
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
19+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2020
{/snippet}
2121
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/number-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
<A class={cn('cursor-pointer', className)} onclick={() => changed(new NumberFilter(term, value))} {title} {...props}>
1919
{#snippet children()}
20-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
20+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2121
{/snippet}
2222
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/project-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

1616
<A class={cn('cursor-pointer', className)} onclick={() => changed(new ProjectFilter(value))} {title} {...props}>
1717
{#snippet children()}
18-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
18+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
1919
{/snippet}
2020
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/reference-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
<A class={cn('cursor-pointer', className)} onclick={() => changed(new ReferenceFilter(value))} {title} {...props}>
1818
{#snippet children()}
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
19+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2020
{/snippet}
2121
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/session-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
<A class={cn('cursor-pointer', className)} onclick={() => changed(new SessionFilter(value))} {title} {...props}>
1818
{#snippet children()}
19-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
19+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2020
{/snippet}
2121
</A>

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/status-faceted-filter-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818

1919
<A class={cn('cursor-pointer', className)} onclick={() => changed(new StatusFilter(value))} {title} {...props}>
2020
{#snippet children()}
21-
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary" />
21+
<Filter class="text-muted-foreground text-opacity-50 hover:text-primary size-5" />
2222
{/snippet}
2323
</A>

0 commit comments

Comments
 (0)