5c892c1ed9
브라우저 alert/confirm을 SweetAlert2로 전환
...
- layouts/app.blade.php에 SweetAlert2 CDN 및 전역 헬퍼 함수 추가
- showToast(): 토스트 알림 (success, error, warning, info)
- showConfirm(): 확인 대화상자
- showDeleteConfirm(): 삭제 확인 (경고 아이콘)
- showPermanentDeleteConfirm(): 영구 삭제 확인 (빨간색 경고)
- showSuccess(), showError(): 성공/에러 알림
- 변환된 파일 목록 (48개 Blade 파일):
- menus/* (6개), boards/* (2개), posts/* (3개)
- daily-logs/* (3개), project-management/* (6개)
- dev-tools/flow-tester/* (6개)
- quote-formulas/* (4개), permission-analyze/* (1개)
- archived-records/* (1개), profile/* (1개)
- roles/* (3개), permissions/* (3개)
- departments/* (3개), tenants/* (3개), users/* (3개)
- 주요 개선사항:
- Tailwind CSS 테마와 일관된 디자인
- 비동기 콜백 패턴으로 리팩토링
- 삭제/복원/영구삭제 각각 다른 스타일 적용
2025-12-05 09:49:56 +09:00
5f50716d7f
feat: Phase 4-2 역할 관리 시스템 구현 (HTMX + API 패턴)
...
- RoleService, RoleController (Blade/API) 생성
- 역할 CRUD 기능 완성 (목록/생성/수정/삭제)
- FormRequest 검증 (StoreRoleRequest, UpdateRoleRequest)
- HTMX 패턴 적용 (index, create, edit)
- 권한 선택 UI (체크박스, 전체 선택/해제)
- Tenant Selector 통합
- 레이아웃 패턴 문서화 (LAYOUT_PATTERN.md)
- Sidebar 메뉴에 역할 관리 추가
- Pagination partial 컴포넌트 추가
- Tenants 레이아웃 100% 폭으로 통일
주요 수정:
- UpdateRoleRequest 라우트 파라미터 수정 (role → id)
- RoleController permissions 조회 시 description 제거
- Conditional tenant filtering 적용
2025-11-24 16:36:02 +09:00