Skip to content

LC-2459-feat-챌린지 대시보드 미션, 콘텐츠 버튼 수정#1892

Open
yeeun426 wants to merge 1 commit intomainfrom
LC-2459-user-대시보드-버튼-수정

Hidden character warning

The head ref may contain hidden characters: "LC-2459-user-\ub300\uc2dc\ubcf4\ub4dc-\ubc84\ud2bc-\uc218\uc815"
Open

LC-2459-feat-챌린지 대시보드 미션, 콘텐츠 버튼 수정#1892
yeeun426 wants to merge 1 commit intomainfrom
LC-2459-user-대시보드-버튼-수정

Conversation

@yeeun426
Copy link
Contributor

@yeeun426 yeeun426 commented Sep 19, 2025

연관 작업

@yeeun426 yeeun426 self-assigned this Sep 19, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @yeeun426, 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은 챌린지 대시보드 섹션에서 미션 템플릿, 필수 콘텐츠, 추가 콘텐츠를 나타내는 버튼들의 텍스트를 표준화하여 사용자 경험의 일관성을 향상시키는 것을 목표로 합니다. 각 버튼의 텍스트에 '확인하기'를 추가함으로써 사용자가 해당 버튼의 기능을 더 명확하게 인지할 수 있도록 합니다.

Highlights

  • 버튼 텍스트 일관성: 챌린지 대시보드 내 미션 및 콘텐츠 관련 버튼의 텍스트를 '확인하기' 접미사를 포함하여 일관되게 변경했습니다.
  • 미션 템플릿 버튼: MissionGuideRegularSection.tsx 파일에서 '미션 템플릿' 버튼의 텍스트를 '미션 템플릿 확인하기'로 수정했습니다.
  • 필수 콘텐츠 버튼: MissionGuideRegularSection.tsx 및 MissionGuideZeroSection.tsx 파일에서 '필수 콘텐츠' 버튼의 텍스트를 '필수 콘텐츠 확인하기'로 수정했습니다.
  • 추가 콘텐츠 버튼: MissionGuideRegularSection.tsx 파일에서 '추가 콘텐츠' 버튼의 텍스트를 '추가 콘텐츠 확인하기'로 수정했습니다.
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

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

@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을 리뷰했습니다.

전반적으로 버튼에 '확인하기'를 추가하여 사용자 행동을 유도하려는 의도는 좋아 보입니다. 단일 링크인 '미션 템플릿'의 경우는 문제가 없습니다.

하지만 '필수 콘텐츠'와 '추가 콘텐츠' 목록을 표시하는 부분에서 fileName을 정적인 문자열로 하드코딩하면서 문제가 발생했습니다. 이 목록들은 여러 항목을 가질 수 있는데, 모든 항목이 동일한 버튼 텍스트를 갖게 되어 사용자가 각 링크를 구별하기 어렵게 되었습니다. 이는 사용자 경험을 저해하는 회귀(regression)로 보입니다.

따라서 각 콘텐츠의 고유한 제목(content.title)을 다시 fileName에 사용하도록 수정을 제안하는 코멘트를 남겼습니다.

추가적으로, MissionGuideZeroSection.tsx 파일에서는 '필수 콘텐츠'만 수정되고 '추가 콘텐츠'는 기존 로직이 남아있어 일관성이 부족한 점도 발견되었습니다. 이번 수정에서 함께 통일성을 맞추는 것을 고려해보시면 좋겠습니다.

자세한 내용은 각 파일의 리뷰 코멘트를 참고해주세요.

key={content.id || index}
title="필수 콘텐츠"
fileName={content.title || '필수 콘텐츠'}
fileName={'필수 콘텐츠 확인하기'}

Choose a reason for hiding this comment

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

high

fileName을 '필수 콘텐츠 확인하기'라는 정적 문자열로 변경하면, essentialContentsList에 여러 항목이 있을 때 각 링크를 구별할 수 없는 문제가 발생합니다. 예를 들어, 두 개의 다른 필수 콘텐츠가 모두 '필수 콘텐츠 확인하기'라는 버튼으로 표시되어 사용자에게 혼란을 줄 수 있습니다. 이전처럼 각 콘텐츠의 고유한 title을 사용하도록 되돌리는 것을 권장합니다. 만약 "확인하기" 문구를 포함해야 한다면, fileName={content.title ? ${content.title} 확인하기 : '필수 콘텐츠 확인하기'}와 같이 동적으로 구성하는 방법을 고려해볼 수 있습니다.

Suggested change
fileName={'필수 콘텐츠 확인하기'}
fileName={content.title || '필수 콘텐츠'}

key={content.id || index}
title={index === 0 ? '추가 콘텐츠' : ''}
fileName={content.title ?? '추가 콘텐츠'}
fileName={'추가 콘텐츠 확인하기'}

Choose a reason for hiding this comment

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

high

'필수 콘텐츠'와 마찬가지로 additionalContentsListfileName을 '추가 콘텐츠 확인하기'라는 정적 문자열로 변경하면, 여러 항목이 있을 때 각 링크를 구별하기 어렵습니다. 각 콘텐츠의 고유한 title을 사용하도록 되돌리는 것이 좋습니다.

Suggested change
fileName={'추가 콘텐츠 확인하기'}
fileName={content.title ?? '추가 콘텐츠'}

<MissionFileLink
key={content.id || index}
fileName={content.title || ''}
fileName={'필수 콘텐츠 확인하기'}

Choose a reason for hiding this comment

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

high

fileName을 '필수 콘텐츠 확인하기'라는 정적 문자열로 변경하면, essentialContentsList에 여러 항목이 있을 때 각 링크를 구별할 수 없는 문제가 발생합니다. 이전 구현(content.title || '')에서 빈 문자열이 표시되는 것이 문제였다면, content.title || '필수 콘텐츠'와 같이 적절한 대체 텍스트를 제공하면서 각 콘텐츠의 고유한 제목을 유지하는 것이 좋습니다.

Suggested change
fileName={'필수 콘텐츠 확인하기'}
fileName={content.title || '필수 콘텐츠'}

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant