Skip to content

[DESIGN] 신 기능 홍보 모달 사이즈 변경#424

Merged
i-meant-to-be merged 4 commits intodevelopfrom
design/#423
Feb 24, 2026
Merged

[DESIGN] 신 기능 홍보 모달 사이즈 변경#424
i-meant-to-be merged 4 commits intodevelopfrom
design/#423

Conversation

@i-meant-to-be
Copy link
Contributor

@i-meant-to-be i-meant-to-be commented Feb 23, 2026

🚩 연관 이슈

closed #423

📝 작업 내용

써니의 요구 사항에 맞춰 신 기능 홍보 모달의 크기를 줄였습니다. 이에 맞추어, 내부 텍스트의 크기도 함께 적정 수준에서 줄였습니다. 그 이상 변경된 것은 없기에 작업 내용 소개는 이 정도에서 정리합니다.

🏞️ 스크린샷 (선택)

비교 스크린샷

image

최소치일 경우의 스크린샷

image

🗣️ 리뷰 요구사항 (선택)

없음

Summary by CodeRabbit

  • 스타일
    • 업데이트 모달의 최대/최소 폭을 줄여 레이아웃을 컴팩트하게 조정했습니다.
    • 제목, 설명 등 주요 텍스트의 글자 크기를 전반적으로 축소해 균형을 맞췄습니다.
    • "일주일 간 보지 않기" 옵션의 체크박스와 라벨 크기를 조정하여 정렬성을 개선했습니다.
    • 이미지 전용 변형의 텍스트·체크박스 크기도 별도 최적화했습니다.

@i-meant-to-be i-meant-to-be requested a review from useon February 23, 2026 12:05
@i-meant-to-be i-meant-to-be self-assigned this Feb 23, 2026
@i-meant-to-be i-meant-to-be added the design UI 관련 label Feb 23, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @i-meant-to-be, 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!

이 풀 리퀘스트는 신 기능 홍보 모달의 사용자 경험과 디자인 일관성을 개선하기 위해 모달의 전체 크기와 내부 텍스트 요소들의 크기를 조정합니다. 이는 시각적 요소를 최적화하여 사용자에게 더 간결하고 보기 좋은 인터페이스를 제공하는 것을 목표로 합니다.

Highlights

  • 모달 크기 조정: 신 기능 홍보 모달의 전체 너비가 줄어들었습니다.
  • 텍스트 크기 축소: 모달 내의 다양한 텍스트 요소(예: 메인 콘텐츠, 제목, 설명, 체크박스 레이블)의 글꼴 크기가 적절히 축소되었습니다.
  • 체크박스 크기 조정: "일주일 간 보지 않기" 체크박스의 크기가 약간 줄어들었습니다.
Changelog
  • src/components/UpdateModal/UpdateModal.tsx
    • 신 기능 홍보 모달의 너비 제약 조건이 w-[clamp(800px,min(62.5vw,90vh),1000px)]에서 w-[clamp(600px,min(47.5vw,90vh),780px)]으로 변경되었습니다.
    • 메인 콘텐츠 텍스트의 글꼴 크기가 text-[clamp(14px,1.25vw,20px)]에서 text-[clamp(12px,0.875vw,14px)]으로 조정되었습니다.
    • 모달 제목의 글꼴 크기가 text-[clamp(32px,2.8vw,45px)]에서 text-[clamp(26px,2.1vw,34px)]으로 변경되었습니다.
    • 모달 설명 텍스트의 글꼴 크기가 text-[clamp(20px,1.5vw,24px)]에서 text-[clamp(14px,1.1vw,18px)]으로 조정되었습니다.
    • "일주일 간 보지 않기" 체크박스의 크기가 size-[clamp(16px,1.5vw,20px)]에서 size-[clamp(16px,1.25vw,20px)]으로 변경되었고, 해당 레이블 텍스트의 글꼴 크기도 text-[clamp(13px,1vw,16px)]에서 text-[clamp(10px,0.75vw,12px)]으로 줄어들었습니다.
Activity
  • 이 풀 리퀘스트에 대한 기록된 활동은 없습니다.
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.

@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eb74eb5 and 3a3afef.

📒 Files selected for processing (1)
  • src/components/UpdateModal/UpdateModal.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/components/UpdateModal/UpdateModal.tsx

개요

UpdateModal 컴포넌트의 UI 크기 및 반응형 타이포그래피 조정. 모달 컨테이너 너비 축소, 제목·설명 텍스트 축소, 체크박스 및 레이블 크기 조정 등 스타일/레이아웃만 변경됨(로직/퍼블릭 API 미변경).

변경사항

Cohort / File(s) 요약
UpdateModal 스타일링 조정
src/components/UpdateModal/UpdateModal.tsx
모달 컨테이너 너비를 clamp(800px,min(62.5vw,90vh),1000px)에서 clamp(600px,min(47.5vw,90vh),780px)로 축소. 제목 폰트(32px→26px), 설명(20px→14px) 등 타이포그래피 전반 축소. 체크박스 및 "일주일 간 보지 않기" 레이블 크기 조정. 이미지 전용 변형 관련 크기 조정 포함. 로직 변경 없음.

시퀀스 다이어그램

(없음 — 변경은 UI 사이징/타이포그래피 조정으로, 새로운 흐름 또는 다중 컴포넌트 상호작용을 수반하지 않음)

코드 리뷰 예상 소요시간

🎯 1 (Trivial) | ⏱️ ~5 minutes

추천 리뷰어

  • jaeml06
  • useon

축하 시

🐰 모달을 작게 만들었어요, 발걸음 가볍게
텍스트도 살짝 줄였더니 화면이 환해요 ✨
작은 변화를 껴안고 폴짝폴짝 달려요 🥕

🚥 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
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 변경사항의 핵심을 명확하게 반영하고 있습니다. 신 기능 홍보 모달의 사이즈 변경이라는 주요 목표를 정확하게 설명하고 있습니다.
Linked Issues check ✅ Passed PR의 모든 변경사항이 연관 이슈 #423의 요구사항을 충족합니다. 신 기능 홍보 모달의 컨테이너 너비 감소, 내부 텍스트 크기 조정 등이 사이즈 변경 목표와 일치합니다.
Out of Scope Changes check ✅ Passed 모든 변경사항이 신 기능 홍보 모달의 사이즈 및 타이포그래피 조정 범위 내에 있으며, 로직이나 기능 변경은 없습니다.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch design/#423

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.

Copy link

@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은 신 기능 홍보 모달의 크기를 줄이고 내부 텍스트 크기를 조절하는 디자인 변경 사항을 담고 있습니다. 전반적으로 요구 사항에 맞게 잘 수정되었으나, 코드의 유지보수성을 높이기 위해 몇 가지 제안 사항을 남깁니다. clamp 함수에 사용된 매직 넘버들을 상수로 추출하고, 반복되는 UI 요소를 별도 컴포넌트로 분리하는 것을 고려해 보시면 좋겠습니다.

}: UpdateModalProps) {
return (
<div className="flex aspect-square w-[clamp(800px,min(62.5vw,90vh),1000px)] flex-col overflow-hidden rounded-[2.2%] bg-default-white">
<div className="flex aspect-square w-[clamp(600px,min(47.5vw,90vh),780px)] flex-col overflow-hidden rounded-[2.2%] bg-default-white">

Choose a reason for hiding this comment

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

medium

clamp 함수에 사용된 600px, 47.5vw, 780px와 같은 값들이 하드코딩되어 있습니다. 이러한 '매직 넘버'는 코드의 가독성을 떨어뜨리고 유지보수를 어렵게 만듭니다. 이 값들을 의미 있는 이름의 상수로 추출하여 사용하면 코드의 의도를 더 명확하게 전달하고 향후 수정을 용이하게 할 수 있습니다. 이 방식은 파일 내 다른 clamp 함수(예: 34, 59, 63 라인 등)에도 일관되게 적용하는 것이 좋습니다.

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 `@src/components/UpdateModal/UpdateModal.tsx`:
- Around line 76-82: The checkbox label in UpdateModal uses a CSS clamp with a
10px minimum which is too small for readability; update the className on the
label element(s) that currently use text-[clamp(10px,0.75vw,12px)] (both the
predefined-variant label and the image-only variant label inside UpdateModal) to
use text-[clamp(12px,0.75vw,12px)] (i.e., change the minimum from 10px to 12px)
so the interactive label "일주일 간 보지 않기" has at least 12px for better
accessibility.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c0255d3 and eb74eb5.

📒 Files selected for processing (1)
  • src/components/UpdateModal/UpdateModal.tsx

Comment on lines +76 to +82
className="border-gray size-[clamp(16px,1.25vw,20px)] rounded-[4px]"
checked={isChecked}
onChange={(e) => onChecked(e.target.checked)}
/>
<p className="text-[clamp(13px,1vw,16px)]">일주일 간 보지 않기</p>
<p className="text-[clamp(10px,0.75vw,12px)]">
일주일 간 보지 않기
</p>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

체크박스 레이블 최소 폰트 크기(10px)가 너무 작음

clamp(10px,0.75vw,12px)에서 최솟값이 10px로 설정되어 있습니다. "일주일 간 보지 않기"는 사용자가 직접 읽고 상호작용하는 레이블임에도 불구하고, 10px은 가독성이 매우 낮아 접근성에 부정적인 영향을 줄 수 있습니다. 일반적으로 인터랙티브 레이블의 경우 최소 12px 이상을 권장합니다.

🔧 최솟값을 12px로 조정하는 수정안
- className="text-[clamp(10px,0.75vw,12px)]"
+ className="text-[clamp(12px,0.75vw,14px)]"

(predefined variant 80번째 줄과 image-only variant 109번째 줄 모두 동일하게 적용)

Also applies to: 105-111

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/components/UpdateModal/UpdateModal.tsx` around lines 76 - 82, The
checkbox label in UpdateModal uses a CSS clamp with a 10px minimum which is too
small for readability; update the className on the label element(s) that
currently use text-[clamp(10px,0.75vw,12px)] (both the predefined-variant label
and the image-only variant label inside UpdateModal) to use
text-[clamp(12px,0.75vw,12px)] (i.e., change the minimum from 10px to 12px) so
the interactive label "일주일 간 보지 않기" has at least 12px for better accessibility.

Copy link
Contributor

@useon useon left a comment

Choose a reason for hiding this comment

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

팝업 크기 줄어든 것 확인했습니다 !!! 바로 어프루브 ., !!

@i-meant-to-be i-meant-to-be merged commit 39a484c into develop Feb 24, 2026
2 checks passed
@i-meant-to-be i-meant-to-be deleted the design/#423 branch February 24, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design UI 관련

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DESIGN] 신 기능 홍보 모달 사이즈 변경

2 participants