Skip to content

feat: 팀 상태바 컴포넌트 추가#48

Merged
Jieunsse merged 1 commit into
mainfrom
feature/team-status-bar
Feb 11, 2026
Merged

feat: 팀 상태바 컴포넌트 추가#48
Jieunsse merged 1 commit into
mainfrom
feature/team-status-bar

Conversation

@Jieunsse

Copy link
Copy Markdown
Contributor

Summary

  • 팀 상태바 컴포넌트 추가

@Jieunsse Jieunsse added this to the 컴포넌트 milestone Feb 10, 2026
@Jieunsse Jieunsse self-assigned this Feb 10, 2026
@Jieunsse Jieunsse added this to workers Feb 10, 2026
@Jieunsse Jieunsse added the 기능추가 기능개발 및 추가할 때 사용해주세요. label Feb 10, 2026
@github-project-automation github-project-automation Bot moved this to 개발 대기중 in workers Feb 10, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Jieunsse, 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은 팀의 작업 진행 상황을 시각적으로 보여주는 새로운 TeamStatusBar 컴포넌트를 도입합니다. 이 컴포넌트는 팀의 일일 목표 달성률, 총 할 일, 완료된 작업 수를 한눈에 파악할 수 있도록 설계되었습니다. 또한, 기존 ProgressBar 컴포넌트의 스타일을 개선하여 반응형 디자인을 강화했습니다.

Highlights

  • 새로운 팀 상태바 컴포넌트 추가: 팀의 일일 진행 상황, 할 일 수, 완료된 작업 수를 표시하는 TeamStatusBar 컴포넌트가 추가되었습니다.
  • TeamStatusBarProps 인터페이스 정의: TeamStatusBar 컴포넌트의 속성을 정의하는 TypeScript 인터페이스가 추가되었습니다.
  • ProgressBar 스타일 개선: ProgressBar 컴포넌트의 max-width 속성이 제거되어 다양한 화면 크기에서 더 유연하게 너비를 조절할 수 있게 되었습니다.

🧠 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.

Changelog
  • src/components/TeamStatusBar/TeamStatusBar.tsx
    • 팀의 진행 상황, 할 일, 완료된 작업 수를 표시하는 TeamStatusBar 컴포넌트가 추가되었습니다.
    • ProgressBar와 설정 버튼을 포함합니다.
  • src/components/TeamStatusBar/interface/interface.ts
    • TeamStatusBar 컴포넌트의 속성 타입을 정의하는 TeamStatusBarProps 인터페이스가 추가되었습니다.
  • src/components/progressbar/ProgressBar.module.css
    • ProgressBar 트랙의 max-width 속성이 제거되어 반응형 레이아웃 유연성이 향상되었습니다.
Activity
  • 이 PR에는 현재까지 사용자 활동이 기록되지 않았습니다.
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.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

이 PR은 팀 상태를 보여주는 TeamStatusBar 컴포넌트를 추가하고, 이 컴포넌트에서 사용하는 ProgressBar의 스타일을 일부 수정합니다. 전반적으로 새로운 기능 추가가 잘 이루어졌습니다. 다만, 코드의 가독성과 유지보수성을 높이기 위해 몇 가지 개선점을 제안합니다. 주요 제안 사항은 시맨틱 HTML 구조를 올바르게 사용하고, 컴포넌트에 전달되는 불필요한 props를 정리하는 것입니다. 자세한 내용은 각 파일의 주석을 참고해주세요.

Comment on lines +21 to +31
<dl className={styles.countContainer}>
<div>
<dt className={styles.subTitle}>오늘의 할 일</dt>
<dd className={styles.taskNumber}>{taskCount}</dd>
</div>
<span className={styles.line} role="separator" aria-hidden />
<div>
<dt className={styles.subTitle}>완료 🙌</dt>
<dd className={styles.completedNumber}>{completed}</dd>
</div>
</dl>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

시맨틱 HTML 구조 개선을 제안합니다. 현재 <dl> 요소의 자식으로 <div><span>이 함께 사용되고 있는데, 이는 HTML 명세에 맞지 않습니다. <dl> 요소는 <dt>, <dd>, 또는 이들을 감싸는 <div> 그룹만을 자식으로 가질 수 있습니다. 유효한 HTML 구조를 위해 바깥쪽 <dl><div>로 변경하고, 각 용어-설명 쌍을 별도의 <dl>로 감싸는 것을 제안합니다. 이렇게 하면 스타일링을 위한 레이아웃을 유지하면서도 시맨틱 마크업을 준수할 수 있습니다.

Suggested change
<dl className={styles.countContainer}>
<div>
<dt className={styles.subTitle}>오늘의 할 일</dt>
<dd className={styles.taskNumber}>{taskCount}</dd>
</div>
<span className={styles.line} role="separator" aria-hidden />
<div>
<dt className={styles.subTitle}>완료 🙌</dt>
<dd className={styles.completedNumber}>{completed}</dd>
</div>
</dl>
<div className={styles.countContainer}>
<dl>
<dt className={styles.subTitle}>오늘의 할 일</dt>
<dd className={styles.taskNumber}>{taskCount}</dd>
</dl>
<span className={styles.line} role="separator" aria-hidden />
<dl>
<dt className={styles.subTitle}>완료 🙌</dt>
<dd className={styles.completedNumber}>{completed}</dd>
</dl>
</div>

Comment on lines +1 to +6
export interface TeamStatusBarProps {
title: string;
percentage: number;
taskCount: number;
completed: number;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

컴포넌트 API 설계에 대한 제안입니다. percentage prop은 taskCountcompleted prop으로부터 파생될 수 있는 값으로 보입니다.

데이터의 단일 공급원(Single Source of Truth) 원칙을 따르기 위해, percentage prop을 제거하고 TeamStatusBar 컴포넌트 내부에서 (completed / taskCount) * 100와 같이 직접 계산하는 것을 고려해 보세요.

이렇게 하면 다음과 같은 이점이 있습니다:

  • API가 더 간결해집니다.
  • 부모 컴포넌트에서 percentage를 잘못 계산하여 발생할 수 있는 데이터 불일치 버그를 예방할 수 있습니다.

이 변경을 적용하면 TeamStatusBar.tsx에서 percentage를 계산하고, ProgressBar에는 value prop 대신 done={completed}total={taskCount}를 전달하여 진행률을 계산하도록 할 수 있습니다. 이는 다른 리뷰 댓글에서 제안한 중복 prop 제거와도 일맥상통합니다.

@Jieunsse Jieunsse merged commit 17e8d5b into main Feb 11, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from 개발 대기중 to 개발 완료 in workers Feb 11, 2026
@Jieunsse Jieunsse deleted the feature/team-status-bar branch February 20, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

기능추가 기능개발 및 추가할 때 사용해주세요.

Projects

Status: 개발 완료

Development

Successfully merging this pull request may close these issues.

2 participants