Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
21cac4e
🐛 fix: [BVFH-361] 채팅룸 - 시스템 메시지로 인한 상대방 프로필 이미지숨김 처리 오류 수정
HoChoRoo Jul 8, 2025
947f4d5
📦️ chore: [BVFH-361] 타임존 오류 해결 위한 date-fns-tz 의존성 추가
HoChoRoo Jul 8, 2025
5c6e42a
🐛 fix: [BVFH-361] 타임존에러 - 로커과 배포서버 시간 차이 date-fns-tz로 통일
HoChoRoo Jul 8, 2025
f0079a4
🐛 fix: [BVFH-361] 서브 헤더 수정 - 검색페이지 이동
HoChoRoo Jul 8, 2025
8aeb67f
✨ feat: [BVFH-361] 거래 후 리뷰 보내기 관련 API, Type
HoChoRoo Jul 8, 2025
645774f
✨ feat: [BVFH-361] 채팅룸 - 거래 완료 후 리뷰 보내기
HoChoRoo Jul 8, 2025
e478b27
✅ test: [BVFH-361] 리뷰 보내기 배포 테스트
HoChoRoo Jul 8, 2025
63d1d27
✨ feat: [BVFH-361] 안읽은 메시지 관련 기능
HoChoRoo Jul 8, 2025
ee07f8b
🐛 fix: [BVFH-361] 바텀 네비바에 안읽은 채팅 수 적용
HoChoRoo Jul 8, 2025
065a138
🎨 design: [BVFH-361]모바일 전용 뷰포트 설정 - 최대 폭 설정
HoChoRoo Jul 8, 2025
eb248c2
✨ feat: [BVFH-361] 에러 헨들링 및 글로벌 에러 처리 설정
HoChoRoo Jul 9, 2025
d0217b4
🔨 refactor: [BVFH-361] Image 사이즈 설정
HoChoRoo Jul 9, 2025
3e52e15
✨ feat: [BVFH-361] 커스텀 alert 생성 후 경매 입찰에 적용
HoChoRoo Jul 9, 2025
55992ff
✨ feat: [BVFH-361] 일반상품 조회 페이지
HoChoRoo Jul 9, 2025
5f13868
🐛 fix: [BVFH-361] 카테고리 셀렉터 - 경매, 일반상품 공통 사용할 수 있게 설정
HoChoRoo Jul 9, 2025
bc17775
🔨 refactor: [BVFH-361] 경매상품 카드 UI 수정
HoChoRoo Jul 9, 2025
7c1ef88
🔨 refactor: [BVFH-361] 경매상품 카드 변경에 따른 검색 결과 페이지 경매상품 카드 수정
HoChoRoo Jul 9, 2025
231a5d3
✨ feat: [BVFH-361] 경매입찰 - SSE로 입찰 결과 알려주게 변경
HoChoRoo Jul 10, 2025
63f6646
✨ feat: [BVFH-361] 리뷰 보내기 API 생성 및 적용
HoChoRoo Jul 11, 2025
ac1c943
🔨 refactor: [BVFH-361] 경매 입찰 - API 변경, SSE응답 받은 에러로 에러핸들링
HoChoRoo Jul 11, 2025
3363e97
🐛 fix: [BVFH-361] 경매 등록 시 store 정리
HoChoRoo Jul 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- BVFH-93-develop
- BVFH-361-mypage

env:
AWS_REGION: ap-northeast-2
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"@tanstack/react-query-devtools": "^5.77.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"embla-carousel": "^8.6.0",
"embla-carousel-react": "^8.6.0",
"framer-motion": "^12.12.1",
Expand Down
77 changes: 20 additions & 57 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/actions/auction-service/create-bid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ export async function createBid(auctionUuid: string, bidAmount: number) {

// );
// return response;
const requestId = crypto.randomUUID();

try {
const response = await instance.post<null | ErrorResponse>(
`/auction-service/api/v2/auctions/${auctionUuid}/bidders`,
{
bidAmount,
requestId,
},
);
console.log(response, 'response');
return response;
} catch (error) {
return error as ErrorResponse;
Expand Down
18 changes: 18 additions & 0 deletions src/actions/auth-service/sign-out.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use server';

import { cookies } from 'next/headers';

export async function signOut() {
const cookieStore = await cookies();

// try {
// await instance.get('/auth-service/api/v1/auth/sign-out');
// } catch (error) {
// console.error('Sign out API failed:', error);
// }
// console.log('signOut 성공');

cookieStore.delete('accessToken');
cookieStore.delete('refreshToken');
cookieStore.delete('memberUuid');
}
10 changes: 10 additions & 0 deletions src/actions/chat-service/get-unread-chat-count.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use server';

import { instance } from '@/actions/instance';

export async function getUnreadChatCount(): Promise<number> {
const response = await instance.get<number>(
'/chat-service/api/v1/chatroom-summary/unread-count',
);
return response;
}
1 change: 1 addition & 0 deletions src/actions/grade-service/get-grade-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export async function getGradeInfo(gradeUuid: string): Promise<Grade> {
next: {
revalidate: Infinity,
},
cache: 'force-cache',
},
);
return response;
Expand Down
6 changes: 1 addition & 5 deletions src/actions/member-service/get-my-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@ import { MemberInfo } from '@/types/member';
import { instance } from '@/actions/instance';

export async function getMyInfo(): Promise<MemberInfo> {
return await instance.get<MemberInfo>('/member-service/api/v1/member', {
next: {
revalidate: 60 * 60,
},
});
return await instance.get<MemberInfo>('/member-service/api/v1/member');
}
10 changes: 10 additions & 0 deletions src/actions/product-service/complete-product-transaction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use server';

import { instance } from '@/actions/instance';
import { CompleteProductTransactionType } from '@/types/product/complete-product-transaction-type';

export async function completeProductTransaction(
data: CompleteProductTransactionType,
) {
return await instance.post(`/api/v1/product/complete`, data);
}
2 changes: 2 additions & 0 deletions src/actions/review-service/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './send-review-buyer-to-seller';
export * from './send-review-seller-to-buyer';
8 changes: 8 additions & 0 deletions src/actions/review-service/send-review-buyer-to-seller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use server';

import { instance } from '@/actions/instance';
import { ReviewData } from '@/types/review';

export async function sendReviewBuyerToSeller(reviewData: ReviewData) {
await instance.post('/review-service/api/v1/buyer', reviewData);
}
8 changes: 8 additions & 0 deletions src/actions/review-service/send-review-seller-to-buyer.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use server';

import { instance } from '@/actions/instance';
import { ReviewData } from '@/types/review';

export async function sendReviewSellerToBuyer(reviewData: ReviewData) {
await instance.post('/review-service/api/v1/seller', reviewData);
}
Empty file.
1 change: 1 addition & 0 deletions src/actions/search-service/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { getAuctions } from './get-auctions';
export { getSearchSuggestions } from './get-search-suggestions';
export { searchAuctions } from './search-auctions';
export { searchProducts } from './search-products';
Loading
Loading