From 7fa4aa6ea22a05270e8d99d6edf445737266de03 Mon Sep 17 00:00:00 2001 From: Junya Ishihara Date: Fri, 12 Jun 2026 00:31:56 +0900 Subject: [PATCH] =?UTF-8?q?Phase=200-3:=20=E6=97=A7UI=E3=81=AE=E3=82=B7?= =?UTF-8?q?=E3=83=95=E3=83=88=E7=94=B3=E8=AB=8B=E3=83=A2=E3=83=BC=E3=83=80?= =?UTF-8?q?=E3=83=AB(=E3=83=87=E3=83=83=E3=83=89=E3=82=B3=E3=83=BC?= =?UTF-8?q?=E3=83=89)=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新UI(日付詳細モーダル/openDateDetailModal)に置き換え済みで、開く導線が 存在しない旧シフト申請モーダル一式を削除。 削除対象(全ファイルgrepで参照ゼロを確認): - index.html: #shiftRequestModal モーダルブロック(表示する関数が呼ばれず 恒久的に非表示) - shiftRequest.js: openShiftRequestModal / updateTimeSlotCapacity / generateTimeSlots / closeShiftRequestModal / submitShiftRequest の旧UI5関数 (openShiftRequestModal はどこからも呼ばれず、残り4関数もこのモーダル 経由でのみ到達。さらに存在しない #shiftRemarks を参照していた) - state.js: 上記削除で孤立した currentShiftRequestDate のフィールド/ getter/setter/reset(setterは元々呼び出し元なし) - test/setup.js: 対応するグローバルモック行 検証: 全366テスト green、ビルド成功、サーバー起動して index.html・ shiftRequest.js・state.js が200で配信されること、配信HTMLから shiftRequestModal が消え dateDetailModal が残ることを確認。 注: 旧UIに紐づく CSS(#timeSlotContainer, .time-slot* 等)も孤立したが、 CSS整理はスクリーンショット検証を伴う Phase 4 の担当範囲のため本PRでは 据え置く。 Co-Authored-By: Claude Opus 4.8 --- index.html | 18 ---- js/modules/shiftRequest.js | 190 ------------------------------------- js/modules/state.js | 10 -- test/setup.js | 1 - 4 files changed, 219 deletions(-) diff --git a/index.html b/index.html index 289f255..6057ddd 100644 --- a/index.html +++ b/index.html @@ -2874,24 +2874,6 @@

プロフィール設定

- - -