파일 시스템 관련 상태와 변경 로직을 도메인 모듈로 통합하여 캐시가 자동으로 갱신되도록 개선하고 오류를 토스트로 표시하도록 변경

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
staticandClaude Opus 5.5 committed 2026-10-12 00:22:25 +09:00
1 parent 2ce73aa331
commit 4e82c5e556
67 files changed
+1091 -1082

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<script lang="ts">
import { fly } from "svelte/transition";
import { getToasts } from "#lib/client/toast.svelte.js";
</script>
<div class="pointer-events-none fixed inset-x-0 top-4 z-50 flex flex-col items-center gap-y-2 px-4">
{#each getToasts() as toast (toast.id)}
<div
role="alert"
transition:fly={{ y: -8, duration: 200 }}
class="max-w-md rounded-xl bg-gray-800 px-4 py-3 text-sm break-keep text-white shadow-lg"
>
{toast.message}
</div>
{/each}
</div>