feat: 작업 분석 시스템 및 관리 기능 대폭 개선

 새로운 기능:
- 작업 분석 페이지 구현 (기간별, 프로젝트별, 작업자별, 오류별)
- 개별 분석 실행 버튼으로 API 부하 최적화
- 연차/휴무 집계 방식 개선 (주말 제외, 작업내용 통합)
- 프로젝트 관리 시스템 (활성화/비활성화)
- 작업자 관리 시스템 (CRUD 기능)
- 코드 관리 시스템 (작업유형, 작업상태, 오류유형)

🎨 UI/UX 개선:
- 기간별 작업 현황을 테이블 형태로 변경
- 작업자별 rowspan 그룹화로 가독성 향상
- 연차/휴무 프로젝트 하단 배치 및 시각적 구분
- 기간 확정 시스템으로 사용자 경험 개선
- 반응형 디자인 적용

🔧 기술적 개선:
- Rate Limiting 제거 (내부 시스템 최적화)
- 주말 연차/휴무 자동 제외 로직
- 작업공수 계산 정확도 향상
- 데이터베이스 마이그레이션 추가
- API 엔드포인트 확장 및 최적화

🐛 버그 수정:
- projectSelect 요소 참조 오류 해결
- 차트 높이 무한 증가 문제 해결
- 날짜 표시 형식 단순화
- 작업보고서 저장 validation 오류 수정
This commit is contained in:
Hyungi Ahn
2025-11-04 16:56:47 +09:00
parent 746e09420b
commit de427c457b
46 changed files with 10912 additions and 530 deletions

View File

@@ -1039,6 +1039,271 @@
color: #10b981;
}
/* 헤더 액션 영역 스타일 (navbar 스타일과 통일) */
.header-actions {
display: flex;
align-items: center;
gap: 0.75rem;
margin-right: 1.5rem;
}
.dashboard-btn {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.15);
color: white;
text-decoration: none;
border-radius: 1.25rem;
font-size: 0.85rem;
font-weight: 500;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
font-family: inherit;
}
.dashboard-btn:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-1px);
text-decoration: none;
color: white;
}
.dashboard-btn:active {
transform: translateY(0);
background: rgba(255, 255, 255, 0.2);
}
.dashboard-btn .btn-icon {
font-size: 1rem;
}
.dashboard-btn .btn-text {
font-size: 0.85rem;
font-weight: 500;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
.dashboard-btn .btn-text {
display: none;
}
.dashboard-btn {
padding: 0.5rem;
min-width: 2.5rem;
justify-content: center;
}
.header-actions {
margin-right: 1rem;
}
}
@media (max-width: 480px) {
.dashboard-btn {
display: none;
}
}
/* 작업 입력 모달 탭 스타일 */
.modal-tabs {
display: flex;
border-bottom: 2px solid #e5e7eb;
margin-bottom: 1.5rem;
gap: 0.5rem;
}
.tab-btn {
flex: 1;
padding: 0.75rem 1rem;
background: none;
border: none;
font-size: 0.875rem;
font-weight: 500;
color: #6b7280;
cursor: pointer;
transition: all 0.2s ease-in-out;
border-radius: 0.5rem 0.5rem 0 0;
position: relative;
}
.tab-btn:hover {
background: #f3f4f6;
color: #374151;
}
.tab-btn.active {
background: #3b82f6;
color: white;
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* 기존 작업 목록 스타일 */
.existing-work-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid #e5e7eb;
}
.existing-work-header h3 {
margin: 0;
color: #1f2937;
font-size: 1.125rem;
}
.work-summary {
font-size: 0.875rem;
color: #6b7280;
font-weight: 500;
}
.work-summary span {
color: #3b82f6;
font-weight: 600;
}
.existing-work-list {
max-height: 400px;
overflow-y: auto;
padding-right: 0.5rem;
}
.work-item {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 0.5rem;
padding: 1rem;
margin-bottom: 0.75rem;
transition: all 0.2s ease-in-out;
}
.work-item:hover {
background: #f1f5f9;
border-color: #cbd5e1;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.work-item-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.75rem;
}
.work-item-info {
flex: 1;
}
.work-item-title {
font-weight: 600;
color: #1f2937;
margin-bottom: 0.25rem;
font-size: 1rem;
}
.work-item-meta {
display: flex;
gap: 1rem;
font-size: 0.8125rem;
color: #6b7280;
}
.work-item-actions {
display: flex;
gap: 0.5rem;
}
.btn-edit, .btn-delete {
padding: 0.375rem 0.75rem;
border: none;
border-radius: 0.375rem;
font-size: 0.8125rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
.btn-edit {
background: #3b82f6;
color: white;
}
.btn-edit:hover {
background: #2563eb;
transform: translateY(-1px);
}
.btn-delete {
background: #ef4444;
color: white;
}
.btn-delete:hover {
background: #dc2626;
transform: translateY(-1px);
}
.work-item-description {
margin-top: 0.5rem;
padding-top: 0.5rem;
border-top: 1px solid #e2e8f0;
font-size: 0.875rem;
color: #4b5563;
line-height: 1.5;
}
/* 모달 푸터 개선 */
.modal-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.footer-actions {
display: flex;
gap: 0.75rem;
}
/* Empty State 스타일 */
.empty-state {
text-align: center;
padding: 3rem 2rem;
color: #6b7280;
}
.empty-state .empty-icon {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
}
.empty-state h3 {
margin: 0 0 0.5rem 0;
color: #374151;
font-size: 1.125rem;
}
.empty-state p {
margin: 0;
font-size: 0.875rem;
}
/* 모달 스타일 */
.modal-overlay {
position: fixed;
@@ -1058,9 +1323,9 @@
width: 90vw;
max-width: 1200px;
max-height: 90vh;
background: var(--white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-xl);
background: #ffffff;
border-radius: 0.75rem;
box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;