Skip to content

feat: 키워드 문의하기 링크 수정#718

Merged
m6z1 merged 1 commit intodevelopfrom
feat/717
Jun 28, 2025
Merged

feat: 키워드 문의하기 링크 수정#718
m6z1 merged 1 commit intodevelopfrom
feat/717

Conversation

@m6z1
Copy link
Copy Markdown
Member

@m6z1 m6z1 commented Jun 26, 2025

📌𝘐𝘴𝘴𝘶𝘦𝘴

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

  • 키워드 문의하기 링크를 카카오톡 채널 > 노션 문의하기로 수정했습니다.

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

[키워드_상세탐색]

_.webm

[키워드_작품평가]

_.webm

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

Summary by CodeRabbit

  • 버그 수정

    • 문의 링크로 사용되는 문자열 리소스가 기존의 카카오 채널 링크에서 새로운 문의 링크로 변경되었습니다.
  • 정리

    • 더 이상 사용되지 않는 카카오 채널 링크 문자열 리소스가 삭제되었습니다.

@m6z1 m6z1 added 🍯 [FEAT] 새로운 기능을 개발합니다. 🏹 궁사 명지 웹소소 공주의 은밀한 사냥생활 labels Jun 26, 2025
@github-actions github-actions bot requested review from junseo511, s9hn and yeonjeen June 26, 2025 11:03
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jun 26, 2025

Walkthrough

문의하기 링크를 기존의 kakao_channel_link에서 inquire_link로 교체하였습니다. 관련된 Kotlin 파일 내의 리소스 참조와 XML 리소스 파일에서의 문자열 정의가 일관되게 수정되었습니다. 추가적인 로직 변경이나 제어 흐름 수정은 없습니다.

Changes

파일/경로 변경 요약
.../ui/detailExplore/keyword/DetailExploreKeywordFragment.kt
.../ui/novelRating/NovelRatingKeywordBottomSheetDialog.kt
문의하기 URL 참조를 kakao_channel_link에서 inquire_link로 변경
.../res/values/deepLinks.xml kakao_channel_link 문자열 리소스 삭제

Assessment against linked issues

Objective (이슈 번호) Addressed Explanation
키워드 문의하기 링크를 노션 문의하기로 수정 (#717)

Possibly related PRs

Suggested reviewers

  • junseo511
  • yeonjeen
  • s9hn

Poem

🐇
문의 링크 hop, hop, hop,
카카오 채널은 이제 stop!
노션으로 깡총깡총,
더 빠르고 똑똑하게 연락해요,
토끼도 기뻐 깡총깡총!
🌱

✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown

@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: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 06c2f69 and 9496a2f.

📒 Files selected for processing (3)
  • app/src/main/java/com/into/websoso/ui/detailExplore/keyword/DetailExploreKeywordFragment.kt (2 hunks)
  • app/src/main/java/com/into/websoso/ui/novelRating/NovelRatingKeywordBottomSheetDialog.kt (2 hunks)
  • core/resource/src/main/res/values/deepLinks.xml (0 hunks)
💤 Files with no reviewable changes (1)
  • core/resource/src/main/res/values/deepLinks.xml
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (2)
app/src/main/java/com/into/websoso/ui/detailExplore/keyword/DetailExploreKeywordFragment.kt (1)

29-29: 리소스 이름 교체는 문제없으나 실제 values XML에 정의되어 있는지 확인 필요

inquire_link 문자열 리소스가 values 파일에 누락되면 컴파일 에러가 발생합니다. 머지 전 한 번 더 리소스 존재 여부를 확인해 주세요.

app/src/main/java/com/into/websoso/ui/novelRating/NovelRatingKeywordBottomSheetDialog.kt (1)

29-29: 리소스 교체 확인

inquire_link 로 교체된 부분은 문제 없어 보입니다. 다만 build 시 리소스 누락 여부를 다시 한 번 점검해 주세요.

Comment on lines 73 to 76
tracker.trackEvent("contact_keyword")
val inquireUrl = getString(kakao_channel_link)
val inquireUrl = getString(inquire_link)
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
startActivity(intent)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

startActivity 호출 전 처리 가능 앱 존재 여부를 검증해야 합니다

외부 URL을 열 수 있는 앱이 단말에 없을 경우 ActivityNotFoundException 이 발생할 수 있습니다. 아래와 같이 resolveActivity 로 안전-가드를 추가해 주세요.

-                val inquireUrl = getString(inquire_link)
-                val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
-                startActivity(intent)
+                val inquireUrl = getString(inquire_link)
+                val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
+                intent.resolveActivity(requireContext().packageManager)?.let {
+                    startActivity(intent)
+                } ?: run {
+                    // TODO: 사용자에게 링크를 열 수 없음을 안내
+                }
📝 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
tracker.trackEvent("contact_keyword")
val inquireUrl = getString(kakao_channel_link)
val inquireUrl = getString(inquire_link)
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
startActivity(intent)
tracker.trackEvent("contact_keyword")
val inquireUrl = getString(inquire_link)
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
intent.resolveActivity(requireContext().packageManager)?.let {
startActivity(intent)
} ?: run {
// TODO: 사용자에게 링크를 열 수 없음을 안내
}
🤖 Prompt for AI Agents
In
app/src/main/java/com/into/websoso/ui/detailExplore/keyword/DetailExploreKeywordFragment.kt
around lines 73 to 76, before calling startActivity with the intent to open an
external URL, check if there is an app available to handle the intent using
resolveActivity. If no app can handle the intent, avoid calling startActivity to
prevent ActivityNotFoundException. Add this safety check to ensure the app does
not crash when no suitable app is installed.

Comment on lines +94 to 96
val inquireUrl = getString(inquire_link)
val intent = Intent(ACTION_VIEW, Uri.parse(inquireUrl))
startActivity(intent)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

안전하지 않은 startActivity 호출

BottomSheet 에서도 동일한 크래시 가능성이 존재합니다. 예외 방지를 위해 아래와 같이 수정하는 것을 권장드립니다.

-        val inquireUrl = getString(inquire_link)
-        val intent = Intent(ACTION_VIEW, Uri.parse(inquireUrl))
-        startActivity(intent)
+        val inquireUrl = getString(inquire_link)
+        val intent = Intent(ACTION_VIEW, Uri.parse(inquireUrl))
+        intent.resolveActivity(requireContext().packageManager)?.let {
+            startActivity(intent)
+        } ?: run {
+            // TODO: Toast 등으로 사용자에게 안내
+        }
🤖 Prompt for AI Agents
In
app/src/main/java/com/into/websoso/ui/novelRating/NovelRatingKeywordBottomSheetDialog.kt
around lines 94 to 96, the startActivity call is unsafe and may cause a crash if
no activity can handle the intent. To fix this, check if there is an activity
available to handle the intent before calling startActivity by using
packageManager.resolveActivity or a similar method, and only call startActivity
if it is safe to do so.

Copy link
Copy Markdown
Member

@junseo511 junseo511 left a comment

Choose a reason for hiding this comment

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

뭐야 진짜로 별거 없네요 ㅋㅋ 굿 👍

@m6z1 m6z1 merged commit d5c751c into develop Jun 28, 2025
2 of 3 checks passed
@m6z1 m6z1 deleted the feat/717 branch June 28, 2025 02:17
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.

feat: 키워드 문의하기 링크 수정

3 participants