impr: moderation experience (#587)

* feat: display filters on the top

* feat: add grid view for modlog cards

* misc: add user modlog button

* fix: add pageination to moderation page

* feat: make reply reason save
This commit is contained in:
Xylight authored and GitHub committed 2025-06-17 20:49:07 -07:00
1 parent 02b4c72233
commit 4e88f11ced
15 files changed
+193 -31

No files matched your search

+7
View File
@@ -13,6 +13,7 @@
import { Check, Funnel, Icon, Inbox } from 'svelte-hero-icons'
import { fly } from 'svelte/transition'
import Report from './Report.svelte'
import Pageination from '$lib/components/ui/Pageination.svelte'
let { data = $bindable() } = $props()
@@ -118,6 +119,11 @@
</div>
{/each}
</div>
<Pageination
page={data.page}
href={current => `?page=${current}`}
hasMore={data.items.value.length >= 20}
/>
{:else}
<Placeholder
icon={Inbox}
@@ -125,3 +131,4 @@
description={$t('routes.moderation.empty.description')}
/>
{/if}
<div class="h-4"></div>