Skip to content

[🐛 Fix] 알림 제목 넘침 제어#205

Merged
le2yunji merged 2 commits intomainfrom
fix/noti-ui
Jan 18, 2026
Merged

[🐛 Fix] 알림 제목 넘침 제어#205
le2yunji merged 2 commits intomainfrom
fix/noti-ui

Conversation

@le2yunji
Copy link
Contributor

✅ PR 체크리스트

1. 코드 & 기능

  • 기능 정상 동작
  • 콘솔 에러 없음

🎯 작업한 내용

알림창 속 체험 타이틀이 길어지면 말줄임표로 줄임 (띄어쓰기 제외 13자)

📸 스크린샷 (선택사항)

스크린샷 2026-01-18 오전 12 32 05 스크린샷 2026-01-18 오전 1 12 48

@le2yunji le2yunji self-assigned this Jan 17, 2026
@le2yunji le2yunji added the bug 버그 발견 & 해결 label Jan 17, 2026
@vercel
Copy link

vercel bot commented Jan 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
global-nomad-team6 Ready Ready Preview, Comment Jan 17, 2026 4:18pm

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @le2yunji, 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은 알림창 내에서 제목이 길어질 때 발생하는 UI 넘침 문제를 해결하여 사용자 경험을 향상시키는 것을 목표로 합니다. 새로운 문자열 유틸리티 함수를 도입하고 이를 알림 컴포넌트에 적용함으로써, 긴 제목이 깔끔하게 표시되도록 하여 가독성을 높였습니다.

Highlights

  • 알림 제목 넘침 수정: 알림창에서 긴 체험 타이틀이 넘치는 문제를 해결했습니다.
  • 문자열 자르기 유틸리티 추가: 공백을 제외하고 지정된 문자 수(기본값 13자)로 문자열을 자르고 말줄임표를 추가하는 truncateByChar 유틸리티 함수를 새로 추가했습니다.
  • 알림 컴포넌트 업데이트: NotificationContent 컴포넌트에서 truncateByChar 함수를 사용하여 알림 제목을 제어하고, max-w-52break-all CSS 클래스를 적용하여 레이아웃을 개선했습니다.
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.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

이 PR은 알림 제목이 길어질 경우 잘라내어 UI가 깨지는 것을 방지하는 수정 사항을 담고 있습니다. 새로운 유틸리티 함수 truncateByChar를 추가하고 이를 알림 컴포넌트에 적용했습니다. 전반적으로 좋은 변경이지만, 추가된 유틸리티 함수의 구현을 좀 더 효율적이고 선언적으로 개선하고, 이를 사용하는 컴포넌트 코드도 더 안전하고 명확하게 만들 수 있는 몇 가지 제안 사항을 리뷰 댓글로 남겼습니다. 확인 부탁드립니다.

@le2yunji le2yunji merged commit 0b123da into main Jan 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 버그 발견 & 해결

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants