Skip to content

홈 화면 타이틀 텍스트 변경 - #931

Merged
devfeijoa merged 3 commits into
developfrom
refactor/930
Aug 4, 2026
Merged

홈 화면 타이틀 텍스트 변경#931
devfeijoa merged 3 commits into
developfrom
refactor/930

Conversation

@devfeijoa

@devfeijoa devfeijoa commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • 지금 뜨는글 추천 로직이 바뀜에 따라 타이틀 문구 변경

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

Screenshot_20260804_003327

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

Summary by CodeRabbit

  • 새로운 기능
    • 로그인한 사용자의 이름이 포함된 상승 피드 제목을 홈 화면에 표시합니다.
    • 로딩 또는 오류 상태가 아닐 때 맞춤형 피드 제목이 자연스럽게 노출됩니다.

- `HomeFragment.kt`: 로그인한 사용자에게 개인화된 추천 문구(`%s님을 위한 추천글`)를 노출하고, 텍스트 배치를 위해 아이콘 숨김 및 제약 조건(Constraint)을 조정하는 로직 추가
- `fragment_home.xml`: 라이징 피드 타이틀 `TextView`에 ID(`tv_home_rising_feed`) 추가
- `strings.xml`: 사용자 닉네임을 포함하는 개인화 문구 리소스(`home_rising_feed_for_user`) 추가
@devfeijoa
devfeijoa requested review from Sadturtleman, m6z1 and s9hn August 3, 2026 15:45
@devfeijoa devfeijoa self-assigned this Aug 3, 2026
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 29 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 536153df-b354-40e2-a66c-f46f71f4ea46

📥 Commits

Reviewing files that changed from the base of the PR and between 90ada69 and 0643627.

📒 Files selected for processing (3)
  • app/src/main/java/com/into/websoso/ui/main/MainViewModel.kt
  • app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt
  • app/src/main/res/layout/fragment_home.xml

Walkthrough

홈 화면에 로그인 사용자 이름을 포함한 상승 피드 제목을 추가했습니다. 로그인 상태에서 로딩과 오류가 없으면 핫 아이콘을 숨기고 제목의 위치와 여백을 조정합니다.

Changes

홈 화면 상승 피드 제목

Layer / File(s) Summary
상승 피드 제목 리소스 연결
app/src/main/res/layout/fragment_home.xml, core/resource/src/main/res/values/strings.xml
상승 피드 제목 TextViewtv_home_rising_feed ID를 추가했습니다. 사용자 이름을 포함하는 home_rising_feed_for_user 문자열을 등록했습니다.
로그인 상태별 제목 표시
app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt
로그인 상태에서 로딩과 오류가 없으면 핫 아이콘을 숨깁니다. 상승 피드 제목의 제약 조건과 시작 여백을 조정하고 사용자 이름을 포함한 텍스트를 설정합니다.

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

Suggested labels: 🍯 [FEAT]

Suggested reviewers: m6z1, sadturtleman

Poem

토끼가 제목을 살짝 바꿔요
로그인 이름이 반짝 떠요
핫 아이콘은 잠시 쉬고
상승 피드가 자리를 잡아요
깡충, 홈 화면이 새로워요!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ 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%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed 제목은 홈 화면 타이틀 문구 변경이라는 주요 변경 사항을 명확하게 설명합니다.
Description check ✅ Passed 이슈, 작업 내용, 스크린샷 섹션을 포함하며 변경 목적과 결과를 설명합니다.
Linked Issues check ✅ Passed 변경 사항은 이슈 #930의 홈 화면 타이틀 텍스트 변경 요구사항을 충족합니다.
Out of Scope Changes check ✅ Passed 모든 변경 사항이 홈 화면 타이틀 변경과 관련된 문자열, 레이아웃, 표시 로직에 해당합니다.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/930

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt`:
- Around line 153-164: Update HomeFragment’s login-state handling so changes
from MainViewModel.isLogin trigger UI rendering, including logout restoration of
ivHomeHot and tvHomeRisingFeed to their default state. Add a dedicated isLogin
observer or include login status in mainUiState, and route both login and logout
states through a shared rendering function rather than only observing
mainUiState.
- Around line 153-164: Update MainViewModel.updateUserInfo() so retry initiation
and successful user-info handling both reset error to false. Ensure a failed
request followed by a successful retry clears uiState.error, allowing
HomeFragment’s mainUiState observer to display the personalized title.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c815f8ce-8354-4bf1-9c44-94335a86e7e6

📥 Commits

Reviewing files that changed from the base of the PR and between c003a49 and 90ada69.

📒 Files selected for processing (3)
  • app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt
  • app/src/main/res/layout/fragment_home.xml
  • core/resource/src/main/res/values/strings.xml

Comment thread app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt
- `HomeFragment.kt`: 로그인 상태에 따라 'HOT' 아이콘 가시성과 타이틀 위치를 동적으로 변경하던 로직 삭제 및 닉네임 업데이트 로직 간소화
- `fragment_home.xml`: 'HOT' 아이콘(`iv_home_hot`) 삭제 및 라이징 피드 타이틀(`tv_home_rising_feed`)을 부모 컨테이너 왼쪽에 고정되도록 레이아웃 수정
- `MainViewModel.kt`: 유저 정보 요청 시작 및 성공 시 `mainUiState`의 `error` 상태를 `false`로 명시적으로 업데이트하도록 수정
@devfeijoa
devfeijoa merged commit 1e7cd55 into develop Aug 4, 2026
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