8000 [Bug] 알림 클릭 시 redirect URL을 /today → /home으로 변경 by qkrcodus · Pull Request #61 · If-u-Lab/If-u-server · GitHub
[go: up one dir, main page]

Skip to content

[Bug] 알림 클릭 시 redirect URL을 /today → /home으로 변경 - #61

Merged
qkrcodus merged 1 commit into
devfrom
bug/fix-redirect-url
Jan 3, 2026
Merged

qkrcodus merged 1 commit into
devfrom
bug/fix-redirect-url

Conversation

@qkrcodus
@qkrcodus qkrcodus commented Jan 3, 2026
Copy link
Copy Markdown
Member

🔗 Issue Link

#60

🎯 What I Did

  • 알림 클릭 시 redirect URL을 /today → /home으로 변경

@qkrcodus qkrcodus self-assigned this Jan 3, 2026
@qkrcodus qkrcodus added bug Something isn't working enhancement New feature or request labels Jan 3, 2026
@qkrcodus qkrcodus linked an issue Jan 3, 2026 that may be closed by this pull request
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @qkrcodus, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 알림 클릭 시 잘못된 페이지로 이동하는 버그를 수정합니다. 이제 사용자가 알림을 클릭하면 의도된 /home 페이지로 올바르게 리다이렉트됩니다.

Highlights

  • 알림 리다이렉트 URL 변경: 알림 클릭 시 사용자를 /today 대신 /home으로 리다이렉트하도록 URL을 수정했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@qkrcodus
qkrcodus merged commit 04ec02b into dev Jan 3, 2026
@gemini-code-assist gemini-code-assist 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.

Code Review

이번 PR은 알림 클릭 시 리다이렉트 URL을 /today에서 /home으로 변경하는 버그 수정입니다. 변경 사항은 올바르며 의도한 대로 동작할 것으로 보입니다. 코드 리뷰 중 가독성 향상을 위한 주석 형식 수정과 중복되는 상수를 통합하여 유지보수성을 높이는 방안에 대한 두 가지 제안을 드렸습니다. 전반적으로 좋은 수정입니다.

@claude
claude Bot commented Jan 3, 2026
Copy link
Copy Markdown

PR 리뷰

변경 사항을 확인했습니다. 알림 클릭 시 redirect URL을 /today에서 /home으로 변경하는 단순한 수정이며, 전반적으로 안전한 변경입니다.

P4 (반영해도 좋고 넘어가도 좋습니다)

  • PushNotificationScheduler.java:30-32 - JavaDoc 주석이 한 줄로 병합되어 가독성이 떨어졌습니다. 원래 형태로 복원하는 것을 권장합니다.
    // 현재 (한 줄로 병합됨)
    * 매분 체크하여 publishAt이 지난 질문에 알림 발송 중복 발송 방지를 위해 발송 전 notificationSentAt을 먼저 업데이트 트랜잭션 커밋 후 비동기 발송을 실행하여 DB 반영 순서 보장
    
    // 권장 형태
    * 매분 체크하여 publishAt이 지난 질문에 알림 발송
    * 중복 발송 방지를 위해 발송 전 notificationSentAt을 먼저 업데이트
    * 트랜잭션 커밋 후 비동기 발송을 실행하여 DB 반영 순서 보장

참고사항

  • /today 엔드포인트는 QuestionController.java:41-46에 존재하므로 기술적으로는 여전히 유효한 경로입니다
  • 프론트엔드 라우팅 변경과 함께 이루어진 것으로 보이며, 백엔드 API 엔드포인트와 무관합니다
  • 테스트 알림과 실제 스케줄 알림이 모두 일관되게 /home으로 변경되었습니다

변경 사항이 간단하고 명확하여 머지에 문제없어 보입니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 알림 클릭 시 redirect URL을 /today → /home으로 변경

1 participant

0