Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(community): 공지사항 페이지 #37

Merged
merged 33 commits into from
Dec 2, 2024

Conversation

SunwooJaeho
Copy link
Contributor

@SunwooJaeho SunwooJaeho commented Nov 28, 2024

Summary

issue #26

공지사항 페이지 퍼블리싱을 하였어요.

Tasks

  • init lucide icons
  • 공지사항 페이지 퍼블리싱
    • 페이지네이션을 적용하였어요.

To Reviewer

디자인적으로 수정사항이 필요하거나 아이디어가 떠오른다면 적극적으로 말해주세요!

Screenshot

(기존 page의 size는 10이나, 촬영 편의성을 위해 5로 조정하였어요.)

DemoCreatorRec_2024-11-2901-57-21-ezgif com-video-to-gif-converter

@SunwooJaeho SunwooJaeho added the enhancement New feature or request label Nov 28, 2024
@SunwooJaeho SunwooJaeho self-assigned this Nov 28, 2024
@SunwooJaeho SunwooJaeho linked an issue Nov 28, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

coderabbitai bot commented Nov 28, 2024

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@SunwooJaeho SunwooJaeho marked this pull request as draft November 29, 2024 11:11

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 15 changed files in this pull request and generated no suggestions.

Files not reviewed (9)
  • packages/design-system/package.json: Language not supported
  • apps/community/src/components/board/page-controller.tsx: Evaluated as low risk
  • pnpm-lock.yaml: Evaluated as low risk
  • apps/community/src/app/board/notice/page.tsx: Evaluated as low risk
  • apps/community/src/constants/api.ts: Evaluated as low risk
  • apps/community/src/components/board/list.tsx: Evaluated as low risk
  • apps/community/src/components/board/search-bar.tsx: Evaluated as low risk
  • packages/design-system/src/icons/lucide.ts: Evaluated as low risk
  • apps/community/src/app/board/notice/remote.ts: Evaluated as low risk
apps/community/src/app/board/notice/page.tsx Outdated Show resolved Hide resolved
apps/community/src/app/board/notice/page.tsx Outdated Show resolved Hide resolved
apps/community/src/app/board/notice/page.tsx Show resolved Hide resolved
apps/community/src/app/board/notice/remote.ts Outdated Show resolved Hide resolved
apps/community/src/app/board/notice/remote.ts Outdated Show resolved Hide resolved
apps/community/src/components/board/list.css.ts Outdated Show resolved Hide resolved
apps/community/src/components/board/list.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/list.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/page-controller.tsx Outdated Show resolved Hide resolved
@SunwooJaeho SunwooJaeho marked this pull request as ready for review November 29, 2024 15:43
apps/community/src/app/board/notice/page.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/pagination.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/pagination.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/search-bar.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/search-bar.tsx Outdated Show resolved Hide resolved
apps/community/src/types/board.ts Outdated Show resolved Hide resolved

import * as styles from '~/components/board/board-list.css';

async function BoardList({ data }: { data: Board[] }) {
Copy link
Member

@gwansikk gwansikk Nov 29, 2024

Choose a reason for hiding this comment

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

해당 컴포넌트는 추상화 레벨, 결합도가 높다는 것이 걱정이네요. 현재 상태에서는 DS의 리스트에서 사용하기 어렵다고 판단되어 이와 같이 구현한 것으로 보여지는데요. 일단 넘어가고 나중에 DS 리스트를 활용하는 것이 좋아보여요.

다른 분들 좋은 아이디어가 있다면 피드백주세요

apps/community/src/app/board/notice/remote.ts Outdated Show resolved Hide resolved
apps/community/src/components/board/list.tsx Outdated Show resolved Hide resolved
apps/community/src/components/board/board-list.css.ts Outdated Show resolved Hide resolved
Copy link
Member

@gwansikk gwansikk left a comment

Choose a reason for hiding this comment

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

  • 타입 선언 피드백 확인해주시고 정리 부탁드려요
  • ds의 size token을 추가하고 사용하지 않는 것으로 보여요, 사용하지 않는다면 삭제해주세요 (다음 버전에서 아이콘 크기를 위한 사이드 토큰을 추가해볼게요)

apps/community/src/app/board/notice/remote.ts Outdated Show resolved Hide resolved
apps/community/src/app/board/notice/remote.ts Show resolved Hide resolved
apps/community/src/app/board/notice/remote.ts Outdated Show resolved Hide resolved
apps/community/src/types/api.ts Outdated Show resolved Hide resolved
@@ -1,5 +1,12 @@
import type { Board, Pagable } from './board';
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
import type { Board, Pagable } from './board';

apps/community/src/types/board.ts Outdated Show resolved Hide resolved
apps/community/src/components/board/search-bar.tsx Outdated Show resolved Hide resolved
@SunwooJaeho SunwooJaeho merged commit 585c8ab into develop Dec 2, 2024
3 checks passed
@SunwooJaeho SunwooJaeho deleted the feature/publishing-board-page branch December 2, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: 공지사항 페이지
3 participants