Skip to content

fix: code review batch — CRITICAL+WARNING+docs (#134-137)#138

Merged
thxforall merged 1 commit into
devfrom
fix/code-review-batch
Apr 9, 2026
Merged

fix: code review batch — CRITICAL+WARNING+docs (#134-137)#138
thxforall merged 1 commit into
devfrom
fix/code-review-batch

Conversation

@thxforall
Copy link
Copy Markdown
Contributor

Summary

코드 리뷰에서 발견된 CRITICAL 3개 + WARNING 5개 + docs 누락 4개를 일괄 수정.

Changes (12 files)

CRITICAL

  • app/request/try/page.tsx: render-time side effects → useEffect, Suspense 래핑
  • app/images/ImageCard.tsx: <img>next/image (동적 width/height 지원)
  • SmartNav.tsx, mobile-header.tsx: avatar <img>next/image

WARNING

  • AuthProvider.tsx: setInterval 미인증 유저 제외
  • SpotSolutionTabs.tsx: ARIA role 접근성
  • ExploreClient.tsx: POPULAR_SEARCH_TAGS 상수 추출
  • dto.rs: image_width/height validate(range) 추가
  • service.rs: POST_TYPE_TRY/POST 상수화

DOCS

  • api-v1-routes.md: votes, tries 엔드포인트
  • web-hooks-and-stores.md: useVoting, useCreateTryPost
  • web-routes-and-features.md: /request/try, proxy 라우트

Test plan

  • TypeScript 타입 체크 통과 (변경 파일)
  • Rust cargo check 통과
  • ESLint 통과 (변경 파일)

Closes #134, #135, #136, #137

🤖 Generated with Claude Code

CRITICAL:
- TryUploadPage: render-time side effects → useEffect, Suspense 경계 추가
- ImageCard/SmartNav/mobile-header: native img → next/image 전환

WARNING:
- AuthProvider: setInterval 미인증 유저 제외
- SpotSolutionTabs: role="tablist/tab/tabpanel" 접근성 추가
- ExploreClient: 추천 태그 상수 추출
- Rust dto: image dimensions validate(range) 추가
- Rust service: post_type 매직 스트링 → 상수

DOCS:
- api-v1-routes: votes, tries 엔드포인트 추가
- web-hooks-and-stores: useVoting, useCreateTryPost 추가
- web-routes-and-features: /request/try, proxy 라우트 추가

Closes #134, #135, #136, #137

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 9, 2026

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

Project Deployment Actions Updated (UTC)
decoded-app Error Error Apr 9, 2026 8:28am

@thxforall thxforall merged commit 487514b into dev Apr 9, 2026
3 of 4 checks passed
@thxforall thxforall deleted the fix/code-review-batch branch April 9, 2026 08:27
@github-project-automation github-project-automation Bot moved this from Todo to Done in decoded-monorepo Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant