From d2443f90ad9810f0dbe3050f20f05f492a951c47 Mon Sep 17 00:00:00 2001 From: yabo0812 Date: Fri, 24 Oct 2025 00:51:43 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=86=A0=ED=83=80=EC=9E=85?= =?UTF-8?q?=20=EC=82=AC=EC=9A=A9=EC=9E=90=20=EA=B4=80=EB=A6=AC=20=EB=B0=8F?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 8명의 샘플 사용자 데이터 추가 (SAMPLE_USERS) - 8가지 명확한 아바타 색상 스타일 추가 (red, blue, green, yellow, purple, cyan, magenta, orange) - 로그인 시스템 개선: 사번 입력으로 SAMPLE_USERS에서 검색하여 로그인 - 대시보드 사용자 정보 동적 렌더링 (사이드바, 헤더) - 회의예약 참석자 추가 모달에 전체 사용자 목록 표시 - 참석자 검색 기능 개선 (이름/이메일 검색) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- design/uiux/prototype/01-로그인.html | 21 ++++++------ design/uiux/prototype/02-대시보드.html | 45 +++++++++++++++++++++----- design/uiux/prototype/03-회의예약.html | 17 ++++++---- design/uiux/prototype/common.css | 14 ++++---- design/uiux/prototype/common.js | 22 ++++++++----- 5 files changed, 82 insertions(+), 37 deletions(-) diff --git a/design/uiux/prototype/01-로그인.html b/design/uiux/prototype/01-로그인.html index 3609dc1..1a6162c 100644 --- a/design/uiux/prototype/01-로그인.html +++ b/design/uiux/prototype/01-로그인.html @@ -235,20 +235,20 @@ // 실제 환경에서는 API 호출 setTimeout(() => { - // 데모용 로그인 검증 - if (formData.employeeId === 'user-001' || formData.employeeId === 'demo') { + // 데모용 로그인 검증 - SAMPLE_USERS에서 사용자 찾기 + const user = SAMPLE_USERS.find(u => u.id === formData.employeeId); + + if (user) { // 로그인 성공 - 사용자 정보 저장 - const user = { - id: 'user-001', - name: '김민준', - email: 'minjun.kim@example.com', + const userToSave = { + ...user, employeeId: formData.employeeId }; - saveToStorage('currentUser', user); + saveToStorage('currentUser', userToSave); saveToStorage('isLoggedIn', true); // 대시보드로 이동 - showToast('로그인 성공!', 'success'); + showToast(`${user.name}님 로그인 성공!`, 'success'); setTimeout(() => { navigateTo('02-대시보드.html'); }, 500); @@ -308,7 +308,10 @@ } console.log('01-로그인 화면 초기화 완료'); - console.log('데모 계정: user-001 또는 demo (비밀번호: 아무거나 8자 이상)'); + console.log('데모 계정 목록 (비밀번호: 아무거나 8자 이상):'); + SAMPLE_USERS.forEach(user => { + console.log(`- ${user.id}: ${user.name} (${user.email})`); + }); diff --git a/design/uiux/prototype/02-대시보드.html b/design/uiux/prototype/02-대시보드.html index b12d73a..87e029b 100644 --- a/design/uiux/prototype/02-대시보드.html +++ b/design/uiux/prototype/02-대시보드.html @@ -525,12 +525,8 @@ -