Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
08798cd
[#11]Feat: 파트너 매칭 페이지 히어로 섹션 구현
BaeSeong-min May 9, 2026
4ad1add
[#11]Feat: AI 검색 인풋 컴포넌트 구현 및 /partners/search 연동
BaeSeong-min May 9, 2026
950428b
[#11]Feat: PartnerTableRow 컴포넌트 구현
BaeSeong-min May 9, 2026
1054f07
[#11]Feat: 파트너 매칭 페이지 테이블 및 검색 상태 UI 구현
BaeSeong-min May 9, 2026
ce6f184
[#11]Refactor: 파트너 테이블을 PartnerTable 컴포넌트로 분리
BaeSeong-min May 9, 2026
1e00f4a
[#11]Fix: PartnerSearchInput 입력창 높이 조정
BaeSeong-min May 9, 2026
5864994
[#11]Fix: 파트너 검색 결과 필드 매핑 수정 및 업체명 하이퍼링크 추가
BaeSeong-min May 9, 2026
03b31d9
[#11]Feat: 다크 푸터 컴포넌트 구현 및 조건부 렌더링 적용
BaeSeong-min May 9, 2026
095941e
[#11]Feat: 파트너 테이블 전체/개별 체크박스 선택 기능 추가
BaeSeong-min May 9, 2026
82a767f
[#11]Feat: 검색 결과 rows 스태거 등장 애니메이션 추가
BaeSeong-min May 9, 2026
cc708a0
[#11]Fix: 헤더 네비게이션 to 속성값 변경
BaeSeong-min May 9, 2026
5330bb0
[#11]Feat: 체크박스 클릭 마이크로 인터랙션 애니메이션 추가
BaeSeong-min May 9, 2026
4525158
[#11]Refactor: usePartners 훅을 hooks/matches/ 폴더로 이동
BaeSeong-min May 10, 2026
accc0da
[#11]Feat: 파트너 추가 API 연동 및 파트너 저장 버튼 기능 구현
BaeSeong-min May 10, 2026
c8a65b9
[#11]Fix: partnerType을 tags 기반으로 동적 결정 및 웹 결과 저장 방지
BaeSeong-min May 10, 2026
0a04ef2
[#11]Feat: 파트너 저장 후 검색 결과에서 해당 항목 숨김 처리
BaeSeong-min May 10, 2026
f8c132e
[#11]Style: 토스트 텍스트 수정
BaeSeong-min May 10, 2026
2930cef
[#11]Fix: 체크박스 키보드/스크린리더 접근성 개선
BaeSeong-min May 10, 2026
0fdf6d0
[#11]Fix: 공백-only 검색어 요청 방지 (normalizedQ 적용)
BaeSeong-min May 10, 2026
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
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
"dependencies": {
"@tanstack/react-query": "^5.100.6",
"axios": "^1.15.2",
"framer-motion": "^12.38.0",
"lucide-react": "^1.14.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.74.0",
"react-hot-toast": "^2.6.0",
"react-icons": "^5.6.0",
"react-router-dom": "^6.26.1",
"recharts": "^3.5.0",
"zustand": "^5.0.12"
Expand Down
55 changes: 55 additions & 0 deletions pnpm-lock.yaml

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

5 changes: 3 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ export default function App() {
<main
id="main-content"
className={
["/", "/login", "/register"].includes(location.pathname)
["/", "/login", "/register", "/matches"].includes(location.pathname)
? ""
: "container"
}
>
<AppRouter />
</main>
<Footer />
{!["/", "/login", "/register"].includes(location.pathname) &&
!location.pathname.startsWith("/payments") && <Footer />}
<Toaster position="top-center" />
</div>
);
Expand Down
5 changes: 5 additions & 0 deletions src/apis/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ export const ENDPOINTS = {
root: "/consultations",
status: (id: string) => `/consultations/${id}/status`,
},
myBusiness: {
profile: "/my-business/profile",
partners: "/my-business/partners",
partnerById: (id: string) => `/my-business/partners/${id}`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

partnerByIdid는 URL 인코딩이 필요합니다.

현재는 id를 그대로 붙여 경로를 만들기 때문에, 특수문자 포함 시 잘못된 엔드포인트로 요청될 수 있습니다.

제안 수정안
-    partnerById: (id: string) => `/my-business/partners/${id}`,
+    partnerById: (id: string) =>
+      `/my-business/partners/${encodeURIComponent(id)}`,
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
partnerById: (id: string) => `/my-business/partners/${id}`,
partnerById: (id: string) =>
`/my-business/partners/${encodeURIComponent(id)}`,
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/apis/endpoints.ts` at line 37, The partnerById helper currently
interpolates id directly into the path causing malformed URLs for ids with
special characters; update the partnerById function (partnerById: (id: string)
=> ...) to URL-encode the id (e.g., use encodeURIComponent or equivalent) before
interpolation so the returned path is safe for all id values.

},
};
1 change: 1 addition & 0 deletions src/apis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export { partnersApi } from "@/apis/modules/partners";
export { matchesApi } from "@/apis/modules/matches";
export { buyersApi } from "@/apis/modules/buyers";
export { consultationsApi } from "@/apis/modules/consultations";
export { myBusinessApi } from "@/apis/modules/myBusiness";
export { adminApi } from "@/apis/modules/admin";
export { analyticsApi } from "@/apis/modules/analytics";
export { http, newIdemKey } from "@/apis/http";
Expand Down
12 changes: 12 additions & 0 deletions src/apis/modules/myBusiness.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { http } from "@/apis/http";
import { ENDPOINTS } from "@/apis/endpoints";

export const myBusinessApi = {
getProfile: () => http.get(ENDPOINTS.myBusiness.profile),
getPartners: (params?: { page?: number; limit?: number }) =>
http.get(ENDPOINTS.myBusiness.partners, { params }),
savePartner: (data: { partnerId: string; partnerType: "seller" | "buyer" }) =>
http.post(ENDPOINTS.myBusiness.partners, data),
removePartner: (partnerId: string) =>
http.delete(ENDPOINTS.myBusiness.partnerById(partnerId)),
};
3 changes: 3 additions & 0 deletions src/assets/footer_logo_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/footer_logo_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading