Skip to content

Conversation

@Alfex4936
Copy link
Contributor

image image
  • 프론트엔드 페이지네이션
  • UI 변경
  • 위치 바로 보기 추가
  • 상태 추적 버그 해결
  • 모바일 최적화

## 주요 변경사항

### 버그 수정
- useMemo 의존성 배열 누락으로 승인/거부 후 상태가 업데이트되지 않던 문제 수정
- 다크모드에서 텍스트가 보이지 않던 문제 해결 (인라인 스타일로 색상 강제 적용)

### 새로운 기능
- 프론트엔드 페이지네이션 구현 (페이지당 10개 항목)
- 카카오 지오코더 통합으로 좌표를 주소로 자동 변환
  - 인메모리 캐싱 및 rate limiting 적용
  - 예: "36.3539, 127.3850 (경기도 수원시)"
- 이미지 갤러리 컴포넌트 (썸네일 + 라이트박스)
- 위치 비교 컴포넌트 (이전/신규 위치 거리 계산)

### UI/UX 개선
- 모던한 카드 기반 레이아웃으로 전면 재설계
- 상태별 필터 탭 (전체/대기중/승인됨/거부됨)
- 모바일 반응형 디자인
- 우선순위 표시 (긴급 키워드 감지)
- 인라인 이미지 미리보기 (최대 3개 썸네일)
- 상세보기 모달 개선

### 새 파일
- components/pages/admin/image-gallery.tsx
- components/pages/admin/location-comparison.tsx
- components/pages/admin/location-with-address.tsx
- components/pages/admin/pagination.tsx
- components/pages/admin/report-card.tsx
- components/pages/admin/status-filter-tabs.tsx
- lib/admin-utils.ts (거리 계산, 우선순위 감지 등)
- lib/kakao-geocoder.ts (좌표-주소 변환)

### 기술적 개선
- Badge 컴포넌트를 인라인 스타일 span으로 교체하여 다크모드 이슈 해결
- 라이트 모드 강제 적용 (colorScheme, forcedTheme)
- TypeScript 타입 안전성 개선
@vercel
Copy link

vercel bot commented Nov 15, 2025

@Alfex4936 is attempting to deploy a commit to the 2yh02's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Nov 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
k-pullup Ignored Ignored Nov 23, 2025 3:09am

@2YH02 2YH02 merged commit 27aa1e9 into 2YH02:develop Nov 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants