Skip to content

[Fix] - #1036 진입 주제가 아닌 다른 주제로 작성했을 때 진입주제메인화면으로 넘어가는 오류 수정 - #1037

Merged
y-eonee merged 1 commit into
developfrom
fix/#1036-soptletter-qa
Oct 21, 2026
Merged

y-eonee merged 1 commit into
developfrom
fix/#1036-soptletter-qa

Conversation

@y-eonee

@y-eonee y-eonee commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

🌴 PR 요약

🌱 작업한 브랜치

🌱 PR Point

  • 진입 주제가 아닌 다른 주제로 작성했을 때 진입주제메인화면으로 넘어가는 오류를 수정했습니다.

📮 관련 이슈

@y-eonee y-eonee self-assigned this Oct 20, 2026
@y-eonee y-eonee added Fix 문제 해결, 코드 수정 나연🐹 labels Oct 20, 2026
@y-eonee y-eonee linked an issue Oct 20, 2026 that may be closed by this pull request
1 task
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 68f4f2de-740d-4c92-84b5-8f20792ae0be
📥 Commits

Reviewing files that changed from the base of the PR and between d787852 and 63e015d.

📒 Files selected for processing: 1
  • SOPT-iOS/Projects/Features/SoptletterFeature/Sources/Coordinator/SoptletterCoordinator.swift

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Summary by CodeRabbit

  • 개선 사항
    • 글 작성 완료 후 선택한 토픽이 기존 토픽과 같은 경우, 현재 메인 화면의 메시지만 새로고침합니다.
    • 선택한 토픽이 기존과 다른 경우, 현재 메인 화면을 닫고 해당 토픽의 메인 화면으로 이동합니다.
    • 선택된 토픽이 없는 경우에도 현재 메인 화면의 메시지를 새로고침합니다.

Walkthrough

글 작성 완료 후 선택된 주제를 현재 주제와 비교합니다. 주제가 없거나 같으면 메시지를 새로고침합니다. 다르면 현재 메인 화면을 닫고 선택된 주제로 메인 화면을 다시 표시합니다.

Changes

주제에 따른 메인 화면 갱신

Layer / File(s) Summary
작성 완료 후 주제 분기
SOPT-iOS/Projects/Features/SoptletterFeature/Sources/Coordinator/SoptletterCoordinator.swift
선택된 주제가 없거나 현재 주제와 같으면 메시지를 새로고침합니다. 다른 주제를 선택하면 현재 메인 화면을 닫고, 기존 onDismiss 콜백을 전달해 선택된 주제의 메인 화면을 표시합니다.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: yungu0010

Merge Risk: ⚪ Minimal · up to 63e01

The topic-specific main-screen refresh behavior satisfies the stated contract.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed 제목은 다른 주제로 작성했을 때 진입 주제 메인 화면으로 이동하는 오류를 수정하는 핵심 변경을 정확히 설명합니다.
Description check Passed 설명은 진입 주제가 아닌 다른 주제로 작성할 때 발생하는 화면 이동 오류의 수정 내용을 변경 사항과 일치하게 설명합니다.
Linked Issues check Passed 직접 연결된 이슈 #1036은 진입 주제와 선택 주제가 다른 경우 코디네이터를 수정하도록 요청합니다. 변경된 showSoptletterMain은 selectedTopicId와 기존 topicId를 비교합니다. 두 주제가 다르면 현재 메인 화면을 닫고 선택된 주제의 메인 화면을 다시 표시합니다. 주제가 없거나 같으면 기존 메시지 새로고침 동작을 유…
Out of Scope Changes check Passed 변경은 SoptletterCoordinator.swift의 글 작성 완료 후 화면 전환 로직에 한정됩니다. 변경된 동작은 PR 설명과 이슈 #1036의 범위인 진입 주제와 선택 주제가 다른 경우의 화면 전환 오류 수정과 직접 연결됩니다. 관련 없는 변경은 확인되지 않습니다.
Full details: Linked Issues check

Explanation

직접 연결된 이슈 #1036은 진입 주제와 선택 주제가 다른 경우 코디네이터를 수정하도록 요청합니다. 변경된 showSoptletterMain은 selectedTopicId와 기존 topicId를 비교합니다. 두 주제가 다르면 현재 메인 화면을 닫고 선택된 주제의 메인 화면을 다시 표시합니다. 주제가 없거나 같으면 기존 메시지 새로고침 동작을 유지합니다. 이슈에 구체적인 자동화 테스트 수용 기준은 없습니다.

  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@y-eonee
y-eonee merged commit 2e03ea7 into develop Oct 21, 2026
2 checks passed
@y-eonee
y-eonee deleted the fix/#1036-soptletter-qa branch October 21, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix 문제 해결, 코드 수정 size/S 나연🐹

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] 진입주제와 선택주제가 다른 경우 코디네이터 수정

1 participant