Commit Graph

18 Commits

Author SHA1 Message Date
posimai 2255ec55c8 fix: address review findings — icons, a11y, quiz state, SW, scores
- C-1: move saveScore() out of resultScore getter into _onAllAnswered
       to prevent repeated localStorage writes on every reactive access
- C-2: $watch('search') → createIcons() so sidebar Lucide icons are
       re-converted after x-for re-render on search filter/clear
- T-8: replace x-show Lucide <i> chevrons with inline SVG in
       .concept-chevron-wrap; Alpine x-show was orphaned after
       createIcons() replaced <i> with <svg>, causing stale display
- H-1: remove quizState={} from stepGoBack() Step3 branch so going
       back no longer silently destroys quiz answers
- H-2: add role=button tabindex=0 and Enter/Space keydown handlers to
       sidebar-item divs for keyboard navigation
- M-3: move skipWaiting() inside Promise.all in install waitUntil
- M-4: return 503 Response in SW fetch catch when cache also unavailable
- M-6: call saveScore() in nextWeakDrillUnit() so weak-drill results
       persist to localStorage the same as regular quiz
- UI:  fix .unit-cat-badge vertical misalignment in flex badge-row
       (was display:inline-block margin-bottom:6px, now inline-flex)
- SW:  bump cache version to v19 to retire old worker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 21:36:27 +09:00
posimai 7647d8137c chore: remove unused plainText helper, bump SW cache
Made-with: Cursor
2026-04-19 16:49:20 +09:00
posimai ca658f6369 feat: finish step flow without losing quiz, clear-and-start option, scroll to comprehension
Made-with: Cursor
2026-04-19 16:40:41 +09:00
posimai 16547cf0ad chore: sanitize stored quiz exp, kp delimiter outside tags, weak drill exit label, plainText helper
Made-with: Cursor
2026-04-19 16:25:46 +09:00
posimai 0f2ae7f332 fix: render Step1 term HTML via safeHtml, step header back goes one card
Made-with: Cursor
2026-04-19 15:48:36 +09:00
posimai b5b9b2f88f refactor: split curriculum data to js/data, Alpine app to js/app.js, sanitize HTML with DOMPurify
Made-with: Cursor
2026-04-19 15:40:09 +09:00
posimai 21ae64958b feat: reorder unit sections, Step1 tap-only advance, replace interrupt with back
Made-with: Cursor
2026-04-19 14:45:19 +09:00
posimai bfebf38121 fix: Step1 flashcard shows term before tap, hide hint when revealed, SW v12
Made-with: Cursor
2026-04-19 14:35:44 +09:00
posimai 93056d6b7b feat: 単元を URL ?unit= で同期しリロード後も同じ単元を表示
Made-with: Cursor
2026-04-19 00:09:51 +09:00
posimai 199509f72e fix: 理解度チェックの選択肢から(借)(貸)を除去、モバイルでクイズ余白と改行を調整
Made-with: Cursor
2026-04-18 23:51:38 +09:00
posimai 9812dc601c fix: フレックス内スクロール復元(#main に min-height:0、#app をビューポート高に固定)
Made-with: Cursor
2026-04-18 23:46:30 +09:00
posimai ffedf3cff2 style: 仕訳例の表見出しを科目に変更、モバイルでカード余白と仕訳表の折り返しを改善
Made-with: Cursor
2026-04-18 23:45:57 +09:00
posimai e96efb776e feat: モバイルセーフエリアと 100dvh でシステムナビと重ならないよう調整
Made-with: Cursor
2026-04-18 23:43:23 +09:00
posimai 5377e508ae fix: Lucide 0.344 に合わせ alert-triangle / check-circle-2 に変更
Made-with: Cursor
2026-04-18 23:38:27 +09:00
posimai 2fc3e32216 fix: index.html 末尾欠損を復元(toggleTheme 途中でファイルが切れていた)、Alpine SRI+ crossorigin 再適用、SW v4
Made-with: Cursor
2026-04-18 23:35:46 +09:00
posimai bfc291a4c6 fix: Alpine SRI を CDN 実ファイルに合わせ更新、manifest アイコン寸法を 128 に修正、SW v3
Made-with: Cursor
2026-04-18 23:30:11 +09:00
posimai 277f4f618f fix: Alpine SRI に crossorigin 追加、logo.png を追加、SW キャッシュ更新
Made-with: Cursor
2026-04-18 23:27:27 +09:00
posimai 406ce416f7 init: Boki — 簿記2級 概念学習・理解度チェックアプリ 2026-04-18 22:17:52 +09:00