Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
4fc5570
feat: apply common page layout style(pageWrapper) excluding landing a…
sgoldenbird May 6, 2025
5c1c491
feat: create ImageUploader, TagInput, AddItemForm, AddItem components
sgoldenbird May 7, 2025
4de9123
refactor: apply shared form styles from fromHelpers
sgoldenbird May 7, 2025
629c71f
feat: create addItemValidation function
sgoldenbird May 7, 2025
122ab40
feat: create useAddItemForm hook
sgoldenbird May 7, 2025
201a01d
feat: include tags in formData
sgoldenbird May 7, 2025
72768f6
feat: active '중고마켓' tab on /additem page
sgoldenbird May 7, 2025
6c0f961
feat: create safeFetch
sgoldenbird May 7, 2025
616e49b
feat: create toast
sgoldenbird May 7, 2025
5dc3ccc
refactor: convert RemoveIcon to component and support className prop
sgoldenbird May 10, 2025
97bab28
refactor: centralize primary button styles in buttonHelpers
sgoldenbird May 10, 2025
e7e338e
refactor: separate Routes
sgoldenbird May 10, 2025
6918914
refactor: unify pagination event handling using button value
sgoldenbird May 10, 2025
512df65
refactor: destructure props in ProductCard component
sgoldenbird May 10, 2025
13fd3be
feat: refine price display format
sgoldenbird May 10, 2025
22ccaa9
fix: update product search to fetch from server using keyword query p…
sgoldenbird May 10, 2025
92e117a
refactor: Replace li click handlers with button elements
sgoldenbird May 10, 2025
3b6930a
refactor: convert px to rem and apply aspect-ratio to square elements
sgoldenbird May 10, 2025
5cd5c65
feat: extract error handling logic into safeFetch and use constants
sgoldenbird May 11, 2025
cfc6822
docs: update README with error strategy
sgoldenbird May 11, 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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ dist-ssr
*.sw?

# mission_template_codes 공부용
mission_template_codes/
mission_template_codes/*
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
| 2 | 2025-03-05 | [#44](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/44) | 회원가입 및 로그인 페이지의 HTML, CSS 구현 |
| 3 | 2025-03-07 | [#60](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/60) | 반응형 디자인 구현(desktop-first, 1920px 이상 큰 모니터 기준), breakpoint: 1919px, 1199px, 767px |
| 4 | 2025-03-18 | [#101](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/101) | JS기능 추가(DOM 요소 조작 및 이벤트 리스너), 회원가입, 로그인 폼 유효성 검사 |
| 5 | 2025-05-05 | [#](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/) | React, SCSS+CSS modules로 마이그레이션, items 페이지 구현(fetch data, 검색어, 정렬, pagination, 반응형 구현) |
| 6 | 2025-05-0 | [#](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/) | 상품 등록 페이지 구현 |
| 5 | 2025-05-05 | [#](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/181) | React, SCSS+CSS modules로 마이그레이션, items 페이지 구현(fetch data, 검색어, 정렬, pagination, 반응형 구현) |
| 6 | 2025-05-11 | [#](https://github.com/codeit-bootcamp-frontend/15-Sprint-Mission/pull/) | 상품 등록 페이지 구현 |

---

Expand Down Expand Up @@ -83,3 +83,23 @@
```
마지막에 추가 할 예정
```

## 에러 처리 전략
> 모든 에러는 사용자에게 UX 혼란을 최소화하기 위한 피드백(UI/토스트 등)을 포함하여 처리됩니다.

### 1. 라우팅 오류
- 잘못된 경로 접근 시 → `404 페이지` → 랜딩 페이지로 이동 버튼

### 2. 전역 에러 (App 깨짐)
- 앱 전체 서버 에러 → `500 페이지` → 다시 시도 버튼

### 3. API 응답 에러 (safeFetch 내부 → 토스트 처리 )
| 상태 코드 | 처리 방식 |
|-----------|-----------|
| `401` | 인증 필요 안내 토스트 |
| `403` | 접근 권한 없음 안내 토스트 |
| `404` | 없는 리소스 조회 시 토스트 |
| `500~599` | 서버 응답 오류 토스트 노출 |

### 4. 특정 컴포넌트 렌더 실패 (예: 이미지 리스트 하나가 깨짐)
- 해당 컴포넌트 수준에서 fallback UI 처리 예정
97 changes: 0 additions & 97 deletions eslint.config.cjss

This file was deleted.

11 changes: 3 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,12 @@ export default [
position: 'after',
},
{
pattern: '**/*.css',
group: 'index',
position: 'after',
},
{
pattern: '**/*.scss',
group: 'index',
pattern: '@/**/*.module.scss',
group: 'internal',
position: 'after',
},
{
pattern: '**/*.module.scss',
pattern: './*.module.scss',
group: 'index',
position: 'after',
},
Expand Down

This file was deleted.

31 changes: 0 additions & 31 deletions mission_template_codes/mission4-template-code/faq.html

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
15 changes: 0 additions & 15 deletions mission_template_codes/mission4-template-code/images/logo/logo.svg

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Loading
Loading