Skip to content

Feat: 마이페이지 주문 내역 조회 UI 구현 - #32

Merged
ycbyun merged 4 commits into
devfrom
feat/order-history
Sep 25, 2025
Merged

Feat: 마이페이지 주문 내역 조회 UI 구현#32
ycbyun merged 4 commits into
devfrom
feat/order-history

Conversation

@ycbyun

@ycbyun ycbyun commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

[작업한 내용]

  • 백엔드 API 와 연동
  • 기간 및 주문 상태를 선택할 수 있는 필터 드롭다운 메뉴를 추가하고, 필터 변경 시 데이터를 다시 조회
  • 페이지네이션 기능을 구현하여 이전/다음 페이지로 이동

[참고사항]

  • 페이지네이션은 현재 간단한 이전/다음 버튼으로 구현되어 있습니다.

@ycbyun ycbyun self-assigned this Sep 25, 2025
@ycbyun ycbyun added the ✨ FEAT 새로운 기능 추가 label Sep 25, 2025
Comment thread src/api/orderApi.ts Outdated
imi21123
imi21123 previously approved these changes Sep 25, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements the order history UI for the user's my page, connecting to backend APIs and adding filtering and pagination functionality.

  • Backend API integration for fetching order history
  • Filter dropdowns for period and order status selection with data refetch on filter changes
  • Simple pagination with previous/next buttons for navigating through order pages

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/types/order.ts Defines TypeScript types for order history items, pagination, and filter options
src/components/organisms/OrderHistorySection/OrderHistorySection.tsx Replaces dummy data with API integration, adds filter controls and pagination functionality
src/components/organisms/OrderHistorySection/OrderHistorySection.module.css Adds CSS styles for new order info display, pagination controls, and filter layout
src/api/orderApi.ts Creates API function for fetching order history with filtering parameters

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ycbyun
ycbyun merged commit b518a62 into dev Sep 25, 2025
6 checks passed
@ycbyun
ycbyun deleted the feat/order-history branch September 25, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ FEAT 새로운 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants