backup: 사용하지 않는 파일 삭제 전 복구 지점

- 전체 371개 파일 중 82개 미사용 파일 식별
- Phase 1: 33개 파일 삭제 예정 (100% 안전)
- Phase 2: 30개 파일 삭제 검토 예정
- Phase 3: 19개 파일 수동 검토 예정

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
JiWoong Sul
2025-09-02 19:51:40 +09:00
parent 650cd4be55
commit c419f8f458
149 changed files with 12934 additions and 3644 deletions

View File

@@ -49,6 +49,7 @@ class UserFormController extends ChangeNotifier {
// 회사 목록 (드롭다운용)
Map<int, String> _companies = {};
bool _isLoadingCompanies = false;
String? _companiesError;
// Getters
bool get isLoading => _isLoading;
@@ -57,6 +58,7 @@ class UserFormController extends ChangeNotifier {
String? get emailDuplicateMessage => _emailDuplicateMessage;
Map<int, String> get companies => _companies;
bool get isLoadingCompanies => _isLoadingCompanies;
String? get companiesError => _companiesError;
/// 현재 전화번호 (드롭다운 + 텍스트 필드 → 통합 형태)
String get combinedPhoneNumber {
@@ -143,6 +145,7 @@ class UserFormController extends ChangeNotifier {
/// 회사 목록 로드
Future<void> _loadCompanies() async {
_isLoadingCompanies = true;
_companiesError = null;
notifyListeners();
try {
@@ -151,6 +154,7 @@ class UserFormController extends ChangeNotifier {
result.fold(
(failure) {
debugPrint('회사 목록 로드 실패: ${failure.message}');
_companiesError = '회사 목록을 불러오는데 실패했습니다: ${failure.message}';
},
(paginatedResponse) {
_companies = {};
@@ -159,16 +163,23 @@ class UserFormController extends ChangeNotifier {
_companies[company.id!] = company.name;
}
}
_companiesError = null; // 성공 시 에러 상태 초기화
},
);
} catch (e) {
debugPrint('회사 목록 로드 오류: $e');
_companiesError = '회사 목록을 불러오는 중 오류가 발생했습니다: $e';
} finally {
_isLoadingCompanies = false;
notifyListeners();
}
}
/// 회사 목록 재로드 (사용자가 재시도할 때 호출)
Future<void> retryLoadCompanies() async {
await _loadCompanies();
}
/// 이메일 중복 검사 (저장 시점에만 실행)
Future<bool> checkDuplicateEmail(String email) async {