Skip to content

refactor: apply clip loader on loading#286

Merged
ninaxlee merged 2 commits into
developfrom
FIENMEE-560
Dec 1, 2025
Merged

refactor: apply clip loader on loading#286
ninaxlee merged 2 commits into
developfrom
FIENMEE-560

Conversation

@ninaxlee

Copy link
Copy Markdown
Member

로딩 표시 통일을 위해서 단순 표시로 되어 있던 부분을 clipLoader로 교체하였습니다.

@ninaxlee ninaxlee self-assigned this Nov 16, 2025
@notion-workspace

Copy link
Copy Markdown

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @chsjen492, 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!

이 Pull Request는 애플리케이션의 사용자 경험을 개선하기 위해 로딩 인디케이터를 표준화하는 것을 목표로 합니다. 기존에 텍스트로만 표시되던 로딩 메시지를 시각적으로 더 명확하고 일관된 ClipLoader 컴포넌트로 대체하여, 사용자가 로딩 상태를 보다 직관적으로 인지할 수 있도록 하였습니다. 이는 여러 페이지와 컴포넌트에 걸쳐 적용되어 통일된 디자인을 제공합니다.

Highlights

  • 로딩 표시 통일: 기존의 단순 텍스트 로딩 표시를 ClipLoader 컴포넌트로 교체하여 애플리케이션 전반의 로딩 UI를 통일했습니다.
  • react-spinners 라이브러리 활용: ClipLoader 컴포넌트를 사용하기 위해 react-spinners 라이브러리를 도입했습니다.
  • 여러 페이지에 적용: 이벤트 등록, 이벤트 업데이트 페이지 및 댓글 목록 컴포넌트의 로딩 상태에 ClipLoader를 적용했습니다.
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

로딩 표시를 ClipLoader로 통일하여 일관성을 높이려는 좋은 시도입니다. 코드 변경 사항을 검토한 결과, 몇 가지 개선점을 제안합니다. 여러 파일에서 ClipLoader의 속성(색상, 크기)이 중복으로 사용되고 있어, 이를 상수로 추출하여 관리하면 유지보수성이 향상될 것입니다. 또한, 일부 로딩 스피너가 중앙에 정렬되지 않아 UI 일관성이 떨어지는 부분이 있어 이 점을 수정하는 것을 권장합니다.

return <div className="flex min-h-screen items-center justify-center text-lg font-semibold">Loading...</div>
return (
<div className="flex min-h-screen items-center justify-center text-lg font-semibold">
<ClipLoader color="#FF6B6B" size={50} />

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

ClipLoader에 사용된 colorsize 값이 여러 파일에 걸쳐 반복적으로 사용되고 있습니다. 유지보수성을 높이고 일관성을 보장하기 위해 이 값들을 상수로 정의하여 사용하는 것을 고려해보세요. 예를 들어, 공통 constants 파일에 다음과 같이 정의할 수 있습니다:

export const LOADER_COLOR = '#FF6B6B';
export const LOADER_SIZE = 50;

이렇게 하면 나중에 로딩 스피너의 스타일을 변경할 때 한 곳만 수정하면 됩니다. 더 나아가, 로딩 스피너 자체를 별도의 재사용 가능한 컴포넌트로 만드는 것도 좋은 방법입니다.

Comment thread apps/web/src/app/(backButton)/events/update/page.tsx Outdated
Comment thread apps/web/src/components/comment/commentList.tsx Outdated
Comment thread apps/web/src/components/comment/commentList.tsx Outdated
@ninaxlee ninaxlee merged commit ba7b3ba into develop Dec 1, 2025
2 checks passed
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.

3 participants