카드 번호순 정렬 + 봇 메시지 문단 분리 (표시 전용)

- 카드 팝업: card_id 오름차순 정렬 (NC26-000~008)
- 긴 봇 스크립트를 종결어미("~다."/"~요.") 경계에서 2문장씩 끊어 빈 줄 삽입 —
  서버 원문·기존 줄바꿈은 유지, 90자 미만 줄은 건드리지 않음

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UFZ7JWdwCaQAwNYJErL8pP
This commit is contained in:
민헌andClaude Fable 5 committed 2026-08-31 15:11:22 +09:00
1 parent 7bcd7a0f39
commit 178f6daa17
2 files changed
+22 -2

No files matched your search

+5 -1
View File
@@ -15,7 +15,11 @@ export function CardCatalog({ activeCardId }: { activeCardId: string | null }) {
if (data) return
try {
setFailed(false)
setData(await fetchCards())
const res = await fetchCards()
setData({
cards: [...res.cards].sort((a, b) => a.card_id.localeCompare(b.card_id)),
wild_cards: res.wild_cards,
})
} catch {
setFailed(true)
}