Skip to content

[cherry-pick] 레슨 피드백 글자수 제한·카운터, 피드 이미지 JPEG 수정#694

Merged
HA-SEUNG-JEONG merged 3 commits into
developfrom
cherry/hotfix-lesson-submit-to-develop
May 25, 2026
Merged

[cherry-pick] 레슨 피드백 글자수 제한·카운터, 피드 이미지 JPEG 수정#694
HA-SEUNG-JEONG merged 3 commits into
developfrom
cherry/hotfix-lesson-submit-to-develop

Conversation

@HA-SEUNG-JEONG
Copy link
Copy Markdown
Contributor

개요

레슨 피드백 textarea에 1000자 제한 및 실시간 카운터를 추가하고, 피드 이미지 업로드 시 JPEG 확장자를 jpeg → jpg로 통일했습니다. 또한 피드 등록 마크다운 에디터 내부의 이미지 업로드 기능을 제거해 중복 업로드 경로를 정리했습니다.

원본 PR

Cherry-pick 대상 커밋

  • de7b055 — [lesson-submit] fix : 피드 이미지 업로드 시 JPEG 확장자 jpeg → jpg 통일
  • b2c4457 — [lesson-submit] fix : 레슨 피드백 1000자 제한·카운터 추가, 이미지 업로드 normalizeImageFileForUpload 적용
  • d1e7d09 — [lesson-submit] fix : 피드 등록 마크다운 에디터 내부 이미지 업로드 기능 제거

변경 파일

  • src/app/(class-lesson)/class/[slug]/lesson/[id]/_components/lesson-review-form.tsx — 1000자 제한 + 실시간 글자 수 카운터 추가
  • src/app/(class-lesson)/class/[slug]/lesson/[id]/_components/lesson-screenshot-modal.tsx — 이미지 업로드 normalizeImageFileForUpload 적용
  • src/app/(landing)/class/[slug]/(learning)/feed/write/page.tsx — 마크다운 에디터 내부 이미지 업로드 기능 제거, JPEG 확장자 통일
  • src/features/community/api/community-api.ts — JPEG 확장자 jpeg → jpg 통일

혼입 검증 결과

Test plan

  • 레슨 피드백 textarea에 1000자 초과 입력 시 제한 동작 확인
  • 글자 수 카운터 실시간 업데이트 확인
  • 피드 이미지 업로드 시 .jpeg 확장자가 .jpg로 저장되는지 확인
  • 피드 작성 페이지(/feed/write)에서 마크다운 에디터 내 이미지 업로드 버튼 제거 확인
  • 기존 이미지 업로드 흐름 정상 동작 확인

🤖 Generated with Claude Code

HA-SEUNG-JEONG and others added 3 commits May 25, 2026 09:48
…미지 업로드 시 JPEG 확장자 jpeg → jpg 통일

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…드백 1000자 제한·카운터 추가, 이미지 업로드 normalizeImageFileForUpload 적용

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…록 마크다운 에디터 내부 이미지 업로드 기능 제거

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 25, 2026

Warning

Review limit reached

@HA-SEUNG-JEONG, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 1 review of capacity. Refill in 45 minutes and 46 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c2e05575-2072-4653-93dd-2e0d87c47f9b

📥 Commits

Reviewing files that changed from the base of the PR and between 69673b4 and 1a751c5.

📒 Files selected for processing (4)
  • src/app/(class-lesson)/class/[slug]/lesson/[id]/_components/lesson-review-form.tsx
  • src/app/(class-lesson)/class/[slug]/lesson/[id]/_components/lesson-screenshot-modal.tsx
  • src/app/(landing)/class/[slug]/(learning)/feed/write/page.tsx
  • src/features/community/api/community-api.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cherry/hotfix-lesson-submit-to-develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

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

Project Deployment Actions Updated (UTC)
study-platform-client-dev Ready Ready Preview, Comment May 25, 2026 12:55am

@HA-SEUNG-JEONG HA-SEUNG-JEONG merged commit 87b0fae into develop May 25, 2026
13 checks passed
@HA-SEUNG-JEONG HA-SEUNG-JEONG deleted the cherry/hotfix-lesson-submit-to-develop branch May 25, 2026 00:57
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.

1 participant