[deploy] dashboard-v1.3.1#51
Merged
Merged
Conversation
사용자 목록 조회 API(GET /admin/api/v1/users)를 연동하여 사용자 관리 탭의 목록 페이지를 구현한다. - types/api/user.api.ts: 엔드포인트 정의 및 타입 - services/user.service.ts: API 서비스 레이어 - hooks/useUsers.ts: useUserList 훅 - pages/users/UserList.tsx: 테이블 기반 목록 페이지 (검색, 상태 필터, 정렬, 페이지네이션) - hooks/__tests__/useUsers.test.ts: 훅 테스트 4건 - test/mocks: mock 데이터 및 핸들러 추가 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[feat] 사용자 관리 목록 페이지 구현
- 증류소 목록/상세/등록/수정/삭제 CRUD 구현 - API 타입, 서비스, 훅 3계층 추가 (기존 tasting-tag 패턴) - TDD: useDistilleries 훅 테스트 11개 케이스 - 사이드바 메뉴 및 라우트 등록 (ROOT_ADMIN 전용) - 백엔드는 목록 조회만 존재, 나머지 CRUD 엔드포인트는 예측 스펙으로 구현 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- logoImgUrl → imageUrl 로 필드명 변경 (목록/상세/폼) - 목록·상세 응답에 sortOrder 필드 추가 (백엔드 default 9999) - 상세/폼에서 regionId/korRegion/engRegion 제거 (백엔드 미지원) - 정렬 순서 변경 API(PATCH /:id/sort-order) 타입·서비스·훅 추가 - DistilleryDetail 페이지에서 지역 선택 UI 제거, sortOrder 입력 추가 - MSW 모킹 및 훅 테스트 응답을 새 스키마로 동기화 백엔드 참조: bottle-note/bottle-note-api-server#578 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
백엔드 PR #578에서 명시한 이미지 처리 규칙(Banner 패턴) 반영.
기존 FileReader.readAsDataURL 기반 base64 인라인 전송은
TastingTag.icon 특수 케이스로, 증류소에는 부적합이라고 명시되어 있음.
- S3UploadPath.DISTILLERY ('admin/distillery') 상수 추가
- useImageUpload 훅 사용: presign-url 발급 → S3 직접 PUT → viewUrl 반환
- 폼 스키마에 imageUrl 필드 추가 (S3 viewUrl을 폼 값으로 보관)
- 미리보기(imagePreviewUrl)와 저장값(form.imageUrl) 분리
- 업로드 진행 중 저장 버튼 비활성화 + "파일 업로드 중..." 안내
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
[feat] 증류소 관리 페이지 구현
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Dashboard v1.3.1
This PR was automatically created by version-check workflow.