Skip to content

fix(ui): add empty and not-found states to share lists and admin user page#215

Merged
hhvrc merged 3 commits into
developfrom
fix/empty-states
Jun 19, 2026
Merged

fix(ui): add empty and not-found states to share lists and admin user page#215
hhvrc merged 3 commits into
developfrom
fix/empty-states

Conversation

@hhvrc

@hhvrc hhvrc commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

The hand-rolled share list pages (outgoing/incoming/invites) rendered an empty bordered box when there was nothing to show; add {:else} empty-state copy. The admin user detail page showed 'Loading...' forever on a 404; add proper loading and not-found states. Also fix an 'incomding' typo.

… page

The hand-rolled share list pages (outgoing/incoming/invites) rendered an
empty bordered box when there was nothing to show; add {:else} empty-state
copy. The admin user detail page showed 'Loading...' forever on a 404; add
proper loading and not-found states. Also fix an 'incomding' typo.
@hhvrc hhvrc requested a review from LucHeart June 18, 2026 11:07
@hhvrc hhvrc self-assigned this Jun 18, 2026
@LucHeart

Copy link
Copy Markdown
Member

shadcn has empty components for this, i would like to use them, they look good https://shadcn-svelte.com/docs/components/empty

hhvrc and others added 2 commits June 18, 2026 18:55
Replace the hand-rolled empty-state table rows and not-found paragraph
with the shadcn-svelte Empty component on the share lists and admin user
detail page. The share-list pages now branch on length and render an
Empty block instead of an empty bordered table.
@hhvrc hhvrc merged commit 782d5f8 into develop Jun 19, 2026
10 checks passed
@hhvrc hhvrc deleted the fix/empty-states branch June 19, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants