Commit Graph

21 Commits

Author SHA1 Message Date
kjh2064 f29f2c3cff 개선: 배포 검증과 관리자 UX 안정화
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m3s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m46s
2026-06-27 20:57:09 +09:00
kjh2064 1c8208f38f feat: add admin password change form
TaxBaik Browser E2E / browser-e2e (push) Successful in 34s
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m10s
2026-06-27 16:41:53 +09:00
kjh2064 e3f548f163 feat: include inquiry status changer in alerts
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m6s
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m26s
2026-06-27 16:36:31 +09:00
kjh2064 1438a9e30a feat: add inquiry status shortcuts
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m4s
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m22s
2026-06-27 16:32:38 +09:00
kjh2064 046a16c75b fix: use stable inquiry list links
TaxBaik Browser E2E / browser-e2e (push) Successful in 1m19s
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m22s
2026-06-27 16:28:33 +09:00
kjh2064 5626f976fc feat: improve inquiry notification links
TaxBaik Browser E2E / browser-e2e (push) Successful in 35s
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m22s
2026-06-27 16:02:14 +09:00
kjh2064 3e8cfc386c fix admin routing for browser e2e
TaxBaik Browser E2E / browser-e2e (push) Successful in 1m23s
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m26s
2026-06-27 15:09:41 +09:00
kjh2064 6b5ea85733 test: add playwright deployment gate
TaxBaik CI/CD / build-and-deploy (push) Failing after 3h2m56s
2026-06-27 12:51:16 +09:00
kjh2064 c5af05c5dd fix: remove duplicate admin route
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m16s
2026-06-27 12:39:38 +09:00
kjh2064 28060b71be feat: harden auth ops and deployment baseline 2026-06-27 10:53:53 +09:00
kjh2064 6b8a5724fa fix: harden ci restart and admin routing
TaxBaik CI/CD / build-and-deploy (push) Failing after 41s
2026-06-27 02:31:08 +09:00
kjh2064 89fc75b567 fix: add admin root redirect
TaxBaik CI/CD / build-and-deploy (push) Failing after 35s
2026-06-27 02:28:06 +09:00
kjh2064 a73503f96e fix: use InputText for admin login
TaxBaik CI/CD / build-and-deploy (push) Successful in 41s
2026-06-27 02:24:06 +09:00
kjh2064 788dd8d336 fix: bind admin login inputs on input
TaxBaik CI/CD / build-and-deploy (push) Successful in 52s
2026-06-27 02:19:49 +09:00
kjh2064 716f1f668f fix: simplify admin login inputs
TaxBaik CI/CD / build-and-deploy (push) Successful in 51s
2026-06-27 01:58:33 +09:00
kjh2064 3e196da7dd fix: simplify admin login form
TaxBaik CI/CD / build-and-deploy (push) Successful in 48s
2026-06-27 01:55:27 +09:00
kjh2064 d526817a00 fix: prevent admin login form submit reload
TaxBaik CI/CD / build-and-deploy (push) Successful in 42s
2026-06-27 01:54:20 +09:00
kjh2064 1d7dd71011 fix: unify TaxBaik deployment around CI
TaxBaik CI/CD / build-and-deploy (push) Successful in 41s
2026-06-27 01:34:17 +09:00
kjh2064 df4d85d789 fix: Login 페이지 CSS 렌더링 문제 해결
TaxBaik CI/CD / build-and-deploy (push) Successful in 34s
문제:
 로그인 페이지에서 MudBlazor CSS가 적용되지 않음
 스타일이 없는 상태로 렌더링됨

원인:
• BlankLayout에만 MudThemeProvider가 있음
• Login.razor는 직접 MudThemeProvider를 가지지 않음
• Blazor Interactive Server에서 컴포넌트 초기화 전 렌더링됨

수정:
 Login.razor에 MudThemeProvider 추가
 MudDialogProvider, MudSnackbarProvider도 추가
 버전 파일 자동 생성 (git commit hash + timestamp)

배포:
Release 빌드 → wwwroot/version.txt 생성 → 서버 배포 → systemctl restart

결과:
 로그인 페이지 CSS 정상 렌더링
 버전 정보 최신화

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 23:12:11 +09:00
kjh2064 f8679cafcb refactor: UI를 API 기반으로 리팩토링 - 비즈니스 로직과 View 완전 분리
TaxBaik CI/CD / build-and-deploy (push) Failing after 41s
1️⃣ HttpClient 서비스 추가
   - IApiClient 인터페이스 구현
   - GET, POST, PUT, DELETE 메서드
   - JWT 토큰 자동 관리
   - /taxbaik/api 경로 자동 처리

2️⃣ Razor Pages 리팩토링
   - Pages/Index.cshtml.cs: API /api/blog 호출
   - Pages/Blog/Index.cshtml.cs: API /api/blog, /api/category 호출
   - Pages/Contact.cshtml.cs: API /api/inquiry 호출
   - Service 의존성 제거

3️⃣ Blazor Components 리팩토링
   - Login.razor: API /api/auth/login 호출로 변경
   - BlogList.razor: API /api/blog/admin/all 호출로 변경
   - Service 의존성 제거

아키텍처:
  View (Razor Pages + Blazor)
    ↓ HttpClient
  Controllers (REST API)
    ↓
  Services (비즈니스 로직)
    ↓
  Repository (DB)

테스트 결과:
 홈페이지: 200 OK
 블로그 페이지: 200 OK
 문의 페이지: 200 OK
 로그인 페이지: 200 OK
 API 엔드포인트 모두 작동

장점:
• UI 리뉴얼 시 API 변경 불필요
• 모바일앱, 데스크톱 클라이언트 추가 가능
• 비즈니스 로직과 UI 완전 독립
• 테스트 가능한 구조 완성

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 22:56:41 +09:00
kjh2064 57269e281d refactor: Web과 Admin 통합 - 단일 포트 5001로 운영
TaxBaik CI/CD / build-and-deploy (push) Failing after 36s
분리의 단점을 제거하고 단일 앱으로 통합:

구조 변경:
- TaxBaik.Admin → TaxBaik.Web/Components/Admin/
- Admin Services → TaxBaik.Web/Services/
- 포트: 5001 (기존 5002 제거)

경로:
- 홈페이지: http://localhost:5001/taxbaik
- 관리자: http://localhost:5001/taxbaik/admin

기술:
- Razor Pages (Web) + Blazor Server (Admin) 통합
- 단일 Program.cs로 양쪽 모두 지원
- JWT 인증 유지
- MudBlazor UI 유지

장점:
- 개발 복잡도 감소 (터미널 1개)
- 배포 단순화 (앱 1개)
- DB 마이그레이션 1회 실행

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 22:35:21 +09:00