Skip to content

Commit

Permalink
problem: no example filters
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Sep 24, 2024
1 parent 4a6f466 commit b8e7128
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/components/Filters.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script lang="ts">
import { Badge } from '@/components/ui/badge';
</script>

<Badge variant="outline">actionable</Badge>
<Badge variant="outline">in-progress</Badge>
<Badge variant="outline">mine</Badge>
3 changes: 2 additions & 1 deletion src/views/Problems.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import MailList from '../layouts/MailList.svelte';
import ProblemView from '../components/ProblemView.svelte';
import { Badge } from '@/components/ui/badge';
import Filters from '../components/Filters.svelte';
let problems: NDKEventStore<NDKEvent> | undefined;
onDestroy(() => {
Expand All @@ -25,7 +26,7 @@
</script>

<MailLayout>
<div slot="filters"><Badge variant="outline">sdf</Badge></div>
<div slot="filters"><Filters /></div>
<div slot="list">
<MailList items={$validProblems} bloom={false} bind:selected />
</div>
Expand Down

0 comments on commit b8e7128

Please sign in to comment.