Skip to content

fix: 7/20 QA 사항 개선 - #504

Merged
yhi9839 merged 2 commits into
mainfrom
fix-530-720-qa
Jul 20, 2026
Merged

yhi9839 merged 2 commits into
mainfrom
fix-530-720-qa

Conversation

@yhi9839

@yhi9839 yhi9839 commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

📌 개요 (Summary)

  • 변경 사항에 대한 간략한 요약을 적어주세요.
  • 관련 이슈가 있다면 링크를 걸어주세요 (예: [fix] cicd / build 문제 #123).

🛠️ 변경 사항 (Changes)

  • 새로운 기능 추가
  • 버그 수정
  • 코드 리팩토링
  • 문서 업데이트
  • 기타 (설명: )

📸 스크린샷 (Screenshots)

(UI 변경 사항이 있다면 첨부해주세요)

✅ 체크리스트 (Checklist)

  • 빌드가 성공적으로 수행되었나요? (pnpm build)
  • 린트 에러가 없나요? (pnpm lint)
  • 불필요한 콘솔 로그나 주석을 제거했나요?

Summary by CodeRabbit

  • New Features

    • Added back-navigation controls to group member and applicant management pages.
    • Added refresh controls for reloading member and applicant lists.
  • Bug Fixes

    • Deleted comments now display clear placeholder author and content information.
    • Deleted comments no longer allow replies, reports, profile access, or other actions.
    • Comments with missing author details are retained and displayed with fallback information.

@yhi9839 yhi9839 linked an issue Jul 20, 2026 that may be closed by this pull request
4 tasks
@vercel

vercel Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
checkmo Ready Ready Preview, Comment Jul 20, 2026 8:45am

@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@yhi9839, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

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

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 340ff348-b402-48b9-8162-ddcf8c217b52

📥 Commits

Reviewing files that changed from the base of the PR and between 4d95732 and c3e783d.

📒 Files selected for processing (4)
  • src/app/(main)/stories/[id]/edit/StoryEditPageClient.tsx
  • src/components/base-ui/BookStory/Editor/bookstory_text.tsx
  • src/components/base-ui/Group-Search/search_mybookclub.tsx
  • src/components/base-ui/home/Club/HomeClubSection.tsx
📝 Walkthrough

Walkthrough

Admin applicant and member pages add back and refresh controls. Comment mapping now preserves comments with missing authors, displays placeholders for deleted comments, and disables editing, reporting, replying, and profile actions for deleted comments.

Changes

Admin navigation and comment state

Layer / File(s) Summary
Admin header navigation
src/app/(main)/groups/[id]/admin/applicant/page.tsx, src/app/(main)/groups/[id]/admin/members/page.tsx
Administration headers now include router.back() controls alongside refresh actions that refetch applicant or member data.
Deleted comment mapping and actions
src/components/base-ui/Admin/stories/comment_section.tsx, src/components/base-ui/Comment/comment_section_bookcase.tsx, src/components/base-ui/Comment/comment_list.tsx, src/components/base-ui/Comment/comment_item.tsx
Comments without author data are retained with fallback metadata; deleted comments display placeholder author/content values, carry isDeleted, and suppress editing, reporting, replying, and profile actions.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • checkmo2025/FE#220: Overlaps with the book/story comment section and deleted-comment rendering components.

Suggested labels: 🐛 bug

Suggested reviewers: shinwokkang

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is related to the changes, but it is too generic to convey the main update. Use a specific title like "fix: improve admin navigation and deleted comment display".
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-530-720-qa

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.

@yhi9839

yhi9839 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author
  • 책이야기 댓글 삭제 시 텍스트 추가
image - 모임 가입 신청 관리, 인원 관리에 뒤로가기, 새로고침 버튼 추가 및 통일 image image

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds 'Go Back' and 'Refresh' buttons to the group admin applicant and member management pages, and implements UI handling for deleted comments and replies by masking author details and content while disabling associated actions. The review feedback suggests ensuring isValidUrl is only called when profileImageUrl is defined to prevent potential runtime or type errors, and verifying that storyAuthorNickname is defined before comparing it to prevent isAuthor from incorrectly evaluating to true when both are undefined.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +49 to 51
profileImgSrc: !c.deleted && isValidUrl(c.authorInfo?.profileImageUrl)
? c.authorInfo?.profileImageUrl
: DEFAULT_PROFILE_IMAGE,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

c.authorInfo?.profileImageUrl이 null 또는 undefined일 때 isValidUrl에 전달되면 런타임 에러가 발생하거나 타입 오류가 발생할 수 있습니다. 안전하게 타입을 좁히고 방어적 프로그래밍을 적용하기 위해, 값이 존재할 때만 isValidUrl을 호출하도록 개선하는 것이 좋습니다.

Suggested change
profileImgSrc: !c.deleted && isValidUrl(c.authorInfo?.profileImageUrl)
? c.authorInfo?.profileImageUrl
: DEFAULT_PROFILE_IMAGE,
profileImgSrc: !c.deleted && c.authorInfo?.profileImageUrl && isValidUrl(c.authorInfo.profileImageUrl)
? c.authorInfo.profileImageUrl
: DEFAULT_PROFILE_IMAGE,

createdAt: c.createdAt,
isAuthor: c.authorInfo.nickname === storyAuthorNickname,
isMine: c.writtenByMe,
isAuthor: !c.deleted && c.authorInfo?.nickname === storyAuthorNickname,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

storyAuthorNickname과 c.authorInfo?.nickname이 모두 undefined인 경우, undefined === undefined가 true로 평가되어 작성자가 아님에도 isAuthor가 true로 잘못 설정될 수 있는 논리적 오류가 있습니다. storyAuthorNickname이 유효한 값인지 먼저 확인하는 조건을 추가해야 합니다.

Suggested change
isAuthor: !c.deleted && c.authorInfo?.nickname === storyAuthorNickname,
isAuthor: !c.deleted && !!storyAuthorNickname && c.authorInfo?.nickname === storyAuthorNickname,

Comment on lines +61 to 63
profileImgSrc: !c.deleted && isValidUrl(c.authorInfo?.profileImageUrl)
? c.authorInfo?.profileImageUrl as string
: DEFAULT_PROFILE_IMAGE,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

c.authorInfo?.profileImageUrl이 null 또는 undefined일 때 isValidUrl에 전달되는 것을 방지하고, 불필요한 타입 단언(as string)을 제거하기 위해 값이 존재할 때만 isValidUrl을 호출하도록 타입을 안전하게 좁히는 것이 좋습니다.

Suggested change
profileImgSrc: !c.deleted && isValidUrl(c.authorInfo?.profileImageUrl)
? c.authorInfo?.profileImageUrl as string
: DEFAULT_PROFILE_IMAGE,
profileImgSrc: !c.deleted && c.authorInfo?.profileImageUrl && isValidUrl(c.authorInfo.profileImageUrl)
? c.authorInfo.profileImageUrl
: DEFAULT_PROFILE_IMAGE,

createdAt: c.createdAt,
isAuthor: c.authorInfo?.nickname === storyAuthorNickname,
isMine: c.writtenByMe,
isAuthor: !c.deleted && c.authorInfo?.nickname === storyAuthorNickname,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

storyAuthorNickname과 c.authorInfo?.nickname이 모두 undefined일 때 isAuthor가 true로 잘못 평가되는 버그를 방지하기 위해, storyAuthorNickname이 유효한 값인지 검증하는 조건을 추가하는 것이 안전합니다.

Suggested change
isAuthor: !c.deleted && c.authorInfo?.nickname === storyAuthorNickname,
isAuthor: !c.deleted && !!storyAuthorNickname && c.authorInfo?.nickname === storyAuthorNickname,

@yhi9839

yhi9839 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author
  • 내 독서모임 전체보기 리스트 개선
image

@yhi9839

yhi9839 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author
  • 책이야기 작성 카운터 추가
image

@yhi9839
yhi9839 merged commit 1b6e051 into main Jul 20, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — c3e783d0 Deployed Jul 20, 2026 by vercel[bot]
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.

fix : 7/20 QA 사항 수정

1 participant