From 85ae1ef9e4372de0fd01476cab57a992b0329c06 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Sat, 25 Oct 2025 14:42:27 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B4=80=EB=A6=AC=ED=95=A8=20=EB=82=A0?= =?UTF-8?q?=EC=A7=9C=20=EA=B7=B8=EB=A3=B9=ED=99=94=20=EA=B8=B0=EC=A4=80=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0=20-=20=EC=83=81=ED=83=9C=EB=B3=84=20?= =?UTF-8?q?=EB=8B=A4=EB=A5=B8=20=EB=82=A0=EC=A7=9C=20=EA=B8=B0=EC=A4=80=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit πŸ“… Date Grouping Logic Improvement: - μ§„ν–‰ 쀑 νƒ­: μ—…λ‘œλ“œν•œ λ‚ μ§œ(report_date) κΈ°μ€€μœΌλ‘œ κ·Έλ£Ήν™” - μ™„λ£Œλ¨ νƒ­: μ™„λ£Œλœ λ‚ μ§œ(actual_completion_date) κΈ°μ€€μœΌλ‘œ κ·Έλ£Ήν™” - μ™„λ£ŒμΌμ΄ μ—†λŠ” 경우 μ—…λ‘œλ“œμΌλ‘œ 폴백 🎨 Visual Indicator Enhancement: - λ‚ μ§œ 헀더에 κΈ°μ€€ ν‘œμ‹œ μΆ”κ°€ - μ§„ν–‰ 쀑: 'μ—…λ‘œλ“œμΌ' νŒŒλž€μƒ‰ λ°°μ§€ - μ™„λ£Œλ¨: 'μ™„λ£ŒμΌ' μ΄ˆλ‘μƒ‰ λ°°μ§€ - μ‚¬μš©μžκ°€ μ–΄λ–€ κΈ°μ€€μœΌλ‘œ κ·Έλ£Ήν™”λ˜μ—ˆλŠ”μ§€ λͺ…ν™•νžˆ 인지 κ°€λŠ₯ πŸ”§ Technical Implementation: - currentTab μƒνƒœμ— λ”°λ₯Έ 쑰건뢀 λ‚ μ§œ 선택 - 동적 λ°°μ§€ 색상 및 ν…μŠ€νŠΈ 적용 - μ™„λ£ŒμΌ μ—†λŠ” 경우 μ•ˆμ „ν•œ 폴백 처리 πŸ’‘ User Experience: - μ§„ν–‰ 쀑: μ–Έμ œ μ—…λ‘œλ“œλ˜μ—ˆλŠ”μ§€ μ‹œκ°„μˆœ 확인 - μ™„λ£Œλ¨: μ–Έμ œ μ™„λ£Œλ˜μ—ˆλŠ”μ§€ μ™„λ£Œμˆœ 확인 - 각 νƒ­μ˜ λͺ©μ μ— λ§žλŠ” λ‚ μ§œ κΈ°μ€€μœΌλ‘œ 체계적 관리 Expected Result: βœ… μ§„ν–‰ 쀑 νƒ­μ—μ„œλŠ” μ—…λ‘œλ“œμΌ κΈ°μ€€ κ·Έλ£Ήν™” βœ… μ™„λ£Œλ¨ νƒ­μ—μ„œλŠ” μ™„λ£ŒμΌ κΈ°μ€€ κ·Έλ£Ήν™” βœ… λ‚ μ§œ 헀더에 κΈ°μ€€ ν‘œμ‹œλ‘œ λͺ…ν™•ν•œ ꡬ뢄 βœ… μƒνƒœλ³„ λͺ©μ μ— λ§žλŠ” μ‹œκ°„μˆœ 관리 --- frontend/issues-management.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/frontend/issues-management.html b/frontend/issues-management.html index e92225e..2288e14 100644 --- a/frontend/issues-management.html +++ b/frontend/issues-management.html @@ -473,10 +473,19 @@ emptyState.classList.add('hidden'); - // λ‚ μ§œλ³„λ‘œ κ·Έλ£Ήν™” + // λ‚ μ§œλ³„λ‘œ κ·Έλ£Ήν™” (μƒνƒœμ— 따라 λ‹€λ₯Έ λ‚ μ§œ κΈ°μ€€ μ‚¬μš©) const groupedByDate = {}; filteredIssues.forEach(issue => { - const date = new Date(issue.report_date).toLocaleDateString('ko-KR'); + let date; + if (currentTab === 'in_progress') { + // μ§„ν–‰ 쀑: μ—…λ‘œλ“œν•œ λ‚ μ§œ κΈ°μ€€ + date = new Date(issue.report_date).toLocaleDateString('ko-KR'); + } else { + // μ™„λ£Œλ¨: μ™„λ£Œλœ λ‚ μ§œ κΈ°μ€€ (μ—†μœΌλ©΄ μ—…λ‘œλ“œ λ‚ μ§œ) + const completionDate = issue.actual_completion_date || issue.report_date; + date = new Date(completionDate).toLocaleDateString('ko-KR'); + } + if (!groupedByDate[date]) { groupedByDate[date] = []; } @@ -496,6 +505,9 @@

${date}

(${issues.length}건) + + ${currentTab === 'in_progress' ? 'μ—…λ‘œλ“œμΌ' : 'μ™„λ£ŒμΌ'} +