Skip to content

fix: 홈 화면 UI 수정된 사항 develop 으로 머지#836

Merged
m6z1 merged 2 commits intodevelopfrom
hotfix/803
Mar 13, 2026
Merged

fix: 홈 화면 UI 수정된 사항 develop 으로 머지#836
m6z1 merged 2 commits intodevelopfrom
hotfix/803

Conversation

@m6z1
Copy link
Member

@m6z1 m6z1 commented Mar 13, 2026

📌𝘐𝘴𝘴𝘶𝘦𝘴

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

  • 홈 화면 ui 변경된 사항 develop 으로 머지

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

Screenshot_20260313_154200.jpg

Screenshot_20260313_154203.jpg

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

Summary by CodeRabbit

릴리스 노트

  • 새 기능

    • 홈 화면 상단에 새로운 검색 블록을 추가했습니다. 탭하면 탐색 화면으로 이동하며 검색 이벤트가 기록됩니다.
  • 스타일

    • 홈 화면의 여백과 간격을 조정해 레이아웃을 정돈했습니다.
    • 섹션 제목과 라벨에 장식적(이모지·문장부호) 텍스트를 추가해 시각적 표현을 강화했습니다.

- 검색바 도입
- 기능 간 간격 조정
- 기능명 강조를 위한 문구 수정
@m6z1 m6z1 added 🍯 [FEAT] 새로운 기능을 개발합니다. 🏹 궁사 명지 웹소소 공주의 은밀한 사냥생활 labels Mar 13, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bde18c21-060a-4ae2-8e7e-1b2fee8b3a31

📥 Commits

Reviewing files that changed from the base of the PR and between 012cf48 and 498e774.

📒 Files selected for processing (1)
  • app/src/main/res/layout/fragment_home.xml

Walkthrough

홈 화면에 일반 검색 블록이 추가되고 레이아웃 마진이 조정되었으며, 검색 버튼 클릭 시 "general_search" 이벤트를 추적하고 NormalExploreActivity를 시작하도록 클릭 핸들러가 추가되었습니다. 일부 UI 문자열에 장식/이모지 변경이 적용되었습니다.

Changes

Cohort / File(s) Summary
홈 화면 검색 기능 추가
app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt
clHomeNormalSearch 클릭 핸들러 추가. 클릭 시 이벤트 추적("general_search") 및 NormalExploreActivity 시작을 호출하도록 통합.
레이아웃 및 마진 조정
app/src/main/res/layout/fragment_home.xml
cl_home_normal_search 블록(텍스트·아이콘) 추가, NestedScrollView/여러 뷰의 상단 마진 및 제약(간격) 재조정, RecyclerView 너비/제약 업데이트.
문자열 장식 업데이트
core/resource/src/main/res/values/strings.xml
home_today_popular, home_recommend_novel, home_nickname_interest_feed 등 UI 문자열에 장식 텍스트 및 이모지 추가.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeFragment
    participant Tracker
    participant System as Launcher

    User->>HomeFragment: clHomeNormalSearch 클릭
    HomeFragment->>Tracker: trackEvent("general_search")
    Tracker-->>HomeFragment: ACK
    HomeFragment->>System: startActivity(NormalExploreActivity)
    System-->>HomeFragment: ActivityStarted
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested labels

🔨 [FIX]

Suggested reviewers

  • s9hn
  • devfeijoa

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 제목이 홈 화면 UI 수정사항을 develop 브랜치로 병합한다는 주요 변경사항을 명확하게 설명하고 있습니다.
Linked Issues check ✅ Passed 변경사항이 linked issue #803의 목적(홈 화면 UI 수정)과 일치합니다. 검색바 추가, 간격 조정, 문구 수정 등이 구현되었습니다.
Out of Scope Changes check ✅ Passed 모든 변경사항(검색 핸들러 추가, 레이아웃 조정, 문자열 수정)이 홈 화면 UI 수정이라는 목표 범위 내에 있습니다.
Description check ✅ Passed PR 설명이 필수 템플릿의 모든 섹션을 포함하고 있으며, 이슈 번호, 작업 설명, 스크린샷이 제공되었습니다.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch hotfix/803
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

CodeRabbit can suggest fixes for GitHub Check annotations.

Configure the reviews.tools.github-checks setting to adjust the time to wait for GitHub Checks to complete.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt`:
- Around line 115-120: The click handler onNormalSearchButtonClick currently
uses startActivity(intent), which bypasses the ActivityResult flow and prevents
the startActivityLauncher branch that handles NormalExploreBack.RESULT_OK from
running; update the handler bound to binding.clHomeNormalSearch to launch the
NormalExploreActivity via the existing startActivityLauncher (or the
ActivityResultLauncher used elsewhere) instead of startActivity so that
returning with NormalExploreBack.RESULT_OK triggers the feed/novel refresh logic
handled by startActivityLauncher.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bf6820d8-ae4a-4601-ab3e-e355f8cd7ae1

📥 Commits

Reviewing files that changed from the base of the PR and between 49fd2d6 and 012cf48.

📒 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 on lines +115 to +120
private fun onNormalSearchButtonClick() {
binding.clHomeNormalSearch.setOnClickListener {
tracker.trackEvent("general_search")
val intent = NormalExploreActivity.getIntent(requireContext())
startActivity(intent)
}
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

일반 검색 진입이 ActivityResult 경로를 우회해 홈 갱신이 누락됩니다.

여기서는 startActivity(intent)를 사용해서, NormalExploreBack.RESULT_OK를 처리하는 startActivityLauncher 분기(피드/소설 갱신)가 호출되지 않습니다. 일반 검색에서 돌아온 뒤 홈 데이터가 stale 상태로 남을 수 있습니다.

수정 예시
 private fun onNormalSearchButtonClick() {
     binding.clHomeNormalSearch.setOnClickListener {
         tracker.trackEvent("general_search")
-        val intent = NormalExploreActivity.getIntent(requireContext())
-        startActivity(intent)
+        startActivityLauncher.launch(
+            NormalExploreActivity.getIntent(requireContext()),
+        )
     }
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
private fun onNormalSearchButtonClick() {
binding.clHomeNormalSearch.setOnClickListener {
tracker.trackEvent("general_search")
val intent = NormalExploreActivity.getIntent(requireContext())
startActivity(intent)
}
private fun onNormalSearchButtonClick() {
binding.clHomeNormalSearch.setOnClickListener {
tracker.trackEvent("general_search")
startActivityLauncher.launch(
NormalExploreActivity.getIntent(requireContext()),
)
}
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/src/main/java/com/into/websoso/ui/main/home/HomeFragment.kt` around lines
115 - 120, The click handler onNormalSearchButtonClick currently uses
startActivity(intent), which bypasses the ActivityResult flow and prevents the
startActivityLauncher branch that handles NormalExploreBack.RESULT_OK from
running; update the handler bound to binding.clHomeNormalSearch to launch the
NormalExploreActivity via the existing startActivityLauncher (or the
ActivityResultLauncher used elsewhere) instead of startActivity so that
returning with NormalExploreBack.RESULT_OK triggers the feed/novel refresh logic
handled by startActivityLauncher.

@m6z1 m6z1 merged commit 0cbbe9e into develop Mar 13, 2026
1 of 2 checks passed
@m6z1 m6z1 deleted the hotfix/803 branch March 13, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍯 [FEAT] 새로운 기능을 개발합니다. 🏹 궁사 명지 웹소소 공주의 은밀한 사냥생활

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hotfix: 피드 홈 UI 수정

2 participants