Skip to content

Conversation

@minkyung5x5
Copy link
Contributor

@minkyung5x5 minkyung5x5 commented Nov 21, 2024

๐Ÿ”– Issue Ticket

Ticket

โœ๏ธ Description

  • build warning ์ˆ˜์ •
  • Storybook ํด๋”, ํŒŒ์ผ๋ช… ์ˆ˜์ •
  • Storybook configure ๋ฌธ์„œ ์ˆ˜์ •

โœ… Checklist

PR

  • Branch Convention ํ™•์ธ

    feat/ ํ”ผ์ณ, fix/ ๋ฒ„๊ทธ ์ˆ˜์ •, refactor/ ๊ฐœ์„ 

  • Base Branch ํ™•์ธ
  • ์ ์ ˆํ•œ Label ์ง€์ •
  • Assignee ๋ฐ Reviewer ์ง€์ •

Test

  • ๋กœ์ปฌ ์ž‘๋™ ํ™•์ธ

Summary by CodeRabbit

๋ฆด๋ฆฌ์Šค ๋…ธํŠธ

  • ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ

    • ์Šคํ† ๋ฆฌ๋ถ์˜ ๊ตฌ์„ฑ ๋ฐ ์ •๋ ฌ ๋ฐฉ์‹์ด ๋ณ€๊ฒฝ๋˜์–ด ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์ด ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ๋ฌธ์„œํ™”

    • ์Šคํ† ๋ฆฌ๋ถ ๋ฌธ์„œ๊ฐ€ ํ”ผํŠธ๋‹ˆ์Šค ์ปค๋ฎค๋‹ˆํ‹ฐ ํ”Œ๋žซํผ์ธ "Crew Crew"๋กœ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ๋ฒ„๊ทธ ์ˆ˜์ •

    • ์—ฌ๋Ÿฌ ์ปดํฌ๋„ŒํŠธ์˜ ์Šคํ† ๋ฆฌ ์ œ๋ชฉ์ด ๊ตฌ์กฐ์— ๋งž๊ฒŒ ์ˆ˜์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ์Šคํƒ€์ผ

    • ์Šคํ† ๋ฆฌ๋ถ์—์„œ์˜ ์ปดํฌ๋„ŒํŠธ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ๊ฐ€ ์žฌ์กฐ์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ํ…Œ์ŠคํŠธ

    • ์—ฌ๋Ÿฌ ์Šคํ† ๋ฆฌ๋ถ ์ปดํฌ๋„ŒํŠธ์˜ ํ…Œ์ŠคํŠธ๊ฐ€ ์—…๋ฐ์ดํŠธ๋˜์–ด ์ผ๊ด€์„ฑ์„ ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค.

@coderabbitai
Copy link

coderabbitai bot commented Nov 21, 2024

Walkthrough

์ด ๋ณ€๊ฒฝ ์‚ฌํ•ญ์€ Storybook ๊ตฌ์„ฑ ํŒŒ์ผ์—์„œ ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ์ˆ˜์ •์ด ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค. .storybook/main.ts์™€ .storybook/preview.tsx ํŒŒ์ผ์—์„œ ์Šคํ† ๋ฆฌ ์ •๋ ฌ ๋ฐฉ์‹์„ ์•ŒํŒŒ๋ฒณ์ˆœ์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ์˜ต์…˜์ด ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ, ๋‹ค์–‘ํ•œ ์ปดํฌ๋„ŒํŠธ์˜ ์Šคํ† ๋ฆฌ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ์—์„œ ์ œ๋ชฉ์ด ๋ณ€๊ฒฝ๋˜์–ด Storybook ๋‚ด์—์„œ์˜ ๊ตฌ์„ฑ ๋ฐฉ์‹์ด ์žฌ์กฐ์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์™ธ์—๋„ ์ผ๋ถ€ API ํŒŒ์ผ์—์„œ ๋ถˆํ•„์š”ํ•œ import ๋ฌธ์ด ์ œ๊ฑฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

Changes

ํŒŒ์ผ ๊ฒฝ๋กœ ๋ณ€๊ฒฝ ์š”์•ฝ
.storybook/main.ts framework.options์— method: 'alphabetical', storySort: {} ์ถ”๊ฐ€
.storybook/preview.tsx parameters์— options ๊ฐ์ฒด ์ถ”๊ฐ€, storySort๋ฅผ ์•ŒํŒŒ๋ฒณ์ˆœ์œผ๋กœ ์„ค์ •
src/_apis/crew/crew.ts EditCrewResponseTypes import ์ œ๊ฑฐ
src/app/(auth)/login/_component/login-form.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/auth/LoginForm' โ†’ 'auth/login-form'
src/app/(auth)/signup/_component/signup-form.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/auth/SignupForm' โ†’ 'auth/signup-form'
src/app/(crew)/_components/category/internal-category/internal-category.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/category/internal-category' โ†’ 'layout/category'
src/app/(crew)/crew/create/_components/create-crew-form/create-crew-form.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'forms/create-crew-form' โ†’ 'crew/create-crew-form'
src/app/(crew)/crew/detail/[id]/_components/create-gathering/create-gathering-form/create-gathering-form.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'forms/create-gathering-form' โ†’ 'gathering/create-gathering-form'
src/app/(crew)/crew/detail/[id]/_components/crew-review-list.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Detail/CrewReviewList' โ†’ 'crew/crew-review-list'
src/app/(crew)/crew/detail/[id]/_components/detail-crew.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Detail/DetailCrewPresenter' โ†’ 'crew/crew-detail'
src/app/(crew)/crew/detail/[id]/_components/gathering-detail-modal/gathering-detail-modal.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'components/gathering-detail-modal' โ†’ 'gathering/gathering-detail-modal'
src/app/(crew)/crew/detail/[id]/_components/rating-display.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Detail/RatingDisplay' โ†’ 'crew/crew-rating-display', Template ํƒ€์ž… ์—…๋ฐ์ดํŠธ
src/app/(crew)/crew/detail/[id]/edit/page.tsx error ๋ณ€์ˆ˜ ์ œ๊ฑฐ
src/app/(crew)/my-crew/hosted/page.tsx Loader import ์ œ๊ฑฐ
src/app/(crew)/my-crew/joined/page.tsx Loader import ์ œ๊ฑฐ
src/app/(crew)/my-page/_components/profile-card/container.tsx fetchUpdatedUser import ์ œ๊ฑฐ, ํŒŒ์ผ ์—…๋กœ๋“œ ์˜ค๋ฅ˜ ์ฒ˜๋ฆฌ ๊ฐœ์„ 
src/app/(crew)/page.tsx Loader, Skeleton import ์ œ๊ฑฐ
src/components/common/crew-list/crew-card-list.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/CrewCardList/CrewCardList' โ†’ 'crew/crew-card-list'
src/components/common/crew-list/profiles.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/CrewCardList/Profiles' โ†’ 'crew/crew-profiles'
src/components/common/gathering-card/gathering-card.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/GatheringCard' โ†’ 'gathering/gathering-card'
src/components/common/gathering-card/presenter.tsx isWithin24Hours, deadlineMessage ์†์„ฑ ์ถ”๊ฐ€
src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx Badge import ์ œ๊ฑฐ
src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/ScheduledGatheringCard' โ†’ 'gathering/scheduled-gathering-card'
src/components/common/header/header.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Header' โ†’ 'layout/header', useState, useAuth import ์ œ๊ฑฐ
src/components/common/input/button/button.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Button' โ†’ 'common/button/button'
src/components/common/input/button/floating-btn.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/FloatingButton' โ†’ 'common/button/floating-button'
src/components/common/input/button/like-btn.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/LikeBtn' โ†’ 'common/button/like-button'
src/components/common/input/calendar-filter/calendar-filter.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/calendar-filter' โ†’ 'common/calendar/calendar-filter'
src/components/common/input/date-time-picker/date-time-picker.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/date-time-picker' โ†’ 'common/calendar/date-time-picker'
src/components/common/input/drop-down/drop-down.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/drop-down' โ†’ 'common/drop-down'
src/components/common/input/file-input-wrap/file-input/file-input.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/file-input' โ†’ 'common/image/image-input'
src/components/common/input/file-input-wrap/file-sample/file-sample.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/file-sample' โ†’ 'common/image/image-sample', selectedFile ์ƒํƒœ ์ œ๊ฑฐ
src/components/common/input/file-input-wrap/file-sample/index.tsx StaticImageData import ์ œ๊ฑฐ
src/components/common/input/password-input/password-input.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/password-input' โ†’ 'common/input/password-input'
src/components/common/input/pop-over-calendar/index.tsx inputTheme ์ƒํƒœ ๊ด€๋ฆฌ ๋ฐฉ์‹ ์ˆ˜์ •
src/components/common/input/text-input/text-input.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/text-input' โ†’ 'common/input/text-input'
src/components/common/input/textarea/textarea.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/input/textarea' โ†’ 'common/input/textarea'
src/components/common/profile/Profile.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Profile' โ†’ 'common/profile'
src/components/common/progress-bar/progress-bar.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/ProgressBar' โ†’ 'common/progress-bar'
src/components/common/review-list/review-card-list.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'components/ReviewCardList' โ†’ 'review/review-card-list'
src/components/common/tab/tab.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Tabs' โ†’ 'layout/tabs'
src/components/common/toast/toast.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/Toast' โ†’ 'common/toast'
src/components/gathering-list/crew-gathering-list.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/CrewGatheringList' โ†’ 'crew/crew-gathering-list', layout ํŒŒ๋ผ๋ฏธํ„ฐ ์—…๋ฐ์ดํŠธ
src/components/gathering-list/gathering-list.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/LikedListPresenter' โ†’ 'gathering/liked-gathering-card'
src/components/my-page/reviewing-modal/reviewing-modal.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Modal/ReviewingModal' โ†’ 'review/review-modal'
src/stories/Configure.mdx Storybook ๊ตฌ์„ฑ ๊ฐ€์ด๋“œ ๋‚ด์šฉ์„ "Crew Crew" ํ”ผํŠธ๋‹ˆ์Šค ์ปค๋ฎค๋‹ˆํ‹ฐ ํ”Œ๋žซํผ์œผ๋กœ ๋ณ€๊ฒฝ
src/types/create-crew.d.ts StaticImageData, interpolate import ์ œ๊ฑฐ
src/types/gathering-data.d.ts StaticImageData import ์ œ๊ฑฐ
src/components/my-page/reviewable-gatherings/reviewable-gathering-card.stories.tsx ์ œ๋ชฉ ๋ณ€๊ฒฝ: 'Components/ReviewableGatheringCard' โ†’ 'gathering/reviewable-gathering-card'

Possibly related PRs

Suggested labels

fix, design, pages

Suggested reviewers

  • yulrang
  • HaeJungg

๐Ÿ‡ ๋ณ€ํ™”์˜ ์ถค์„ ์ถ”๋ฉฐ,
์Šคํ† ๋ฆฌ๋ถ์˜ ๊ธธ์„ ๋ฐํ˜€,
์•ŒํŒŒ๋ฒณ ์ˆœ์œผ๋กœ ์ •๋ ฌ๋œ ์ด์•ผ๊ธฐ,
์ƒˆ๋กœ์šด ๋ชจ์Šต์œผ๋กœ ์šฐ๋ฆฌ๋ฅผ ๋งž์ดํ•ด.
ํ”ผํŠธ๋‹ˆ์Šค์˜ ๊ฟˆ์„ ์•ˆ๊ณ ,
ํฌ๋ฃจ ํฌ๋ฃจ์™€ ํ•จ๊ป˜ ๋‹ฌ๋ ค๊ฐ€๋„ค! ๐ŸŒŸ

Warning

Rate limit exceeded

@minkyung5x5 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 33 seconds before requesting another review.

โŒ› How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

๐Ÿšฆ How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 295f713 and 41e2723.

Warning

There were issues while running some tools. Please review the errors and either fix the toolโ€™s configuration or disable the tool if itโ€™s a critical failure.

๐Ÿ”ง eslint (1.23.1)

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/components/my-page/reviewable-gatherings/reviewable-gathering-card.stories.tsx

Oops! Something went wrong! :(

ESLint: 8.57.1

ESLint couldn't determine the plugin "react-hooks" uniquely.

  • /node_modules/eslint-plugin-react-hooks/index.js (loaded in ".eslintrc.js")
  • /node_modules/eslint-config-next/node_modules/eslint-plugin-react-hooks/index.js (loaded in ".eslintrc.js ยป eslint-config-next/core-web-vitals ยป /node_modules/eslint-config-next/index.js ยป plugin:react-hooks/recommended")

Please remove the "plugins" setting from either config or remove either plugin installation.

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.


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.

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: 2

๐Ÿงน Outside diff range and nitpick comments (33)
.storybook/main.ts (1)

19-20: ์Šคํ† ๋ฆฌ ์ •๋ ฌ ๊ทœ์น™์„ ์ƒ์„ธํžˆ ์ •์˜ํ•˜๋Š” ๊ฒƒ์„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”.

ํ˜„์žฌ storySort ๊ฐ์ฒด๊ฐ€ ๋น„์–ด์žˆ์Šต๋‹ˆ๋‹ค. ๋” ์ฒด๊ณ„์ ์ธ ์Šคํ† ๋ฆฌ ๊ตฌ์„ฑ์„ ์œ„ํ•ด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ƒ์„ธ ์ •๋ ฌ ๊ทœ์น™์„ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

       storySort: {},
+      storySort: {
+        order: [
+          'Introduction',
+          'Components',
+          ['Atoms', 'Molecules', 'Organisms'],
+          'Pages',
+          '*'
+        ],
+      },
src/components/common/input/button/button.stories.tsx (2)

Line range hint 4-31: ์Šคํ† ๋ฆฌ ์ •๋ ฌ์„ ์œ„ํ•œ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ถ”๊ฐ€๋ฅผ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ์˜ ๊ตฌ์„ฑ์„ ๋”์šฑ ๊ฐœ์„ ํ•˜๊ธฐ ์œ„ํ•ด parameters ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜์—ฌ ์Šคํ† ๋ฆฌ ์ •๋ ฌ ๋ฐฉ์‹์„ ์ง€์ •ํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•ด๋ณด์„ธ์š”:

 const meta: Meta = {
   title: 'common/button/button',
   tags: ['autodocs'],
   component: Button,
+  parameters: {
+    controls: { sort: 'requiredFirst' },
+    options: {
+      storySort: {
+        method: 'alphabetical',
+        order: ['Filled', 'Outlined', 'Disabled'],
+      },
+    },
+  },
   argTypes: {

Line range hint 8-31: argTypes์— ํ•„์ˆ˜ ์†์„ฑ ํ‘œ์‹œ๋ฅผ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

์‚ฌ์šฉ์ž๊ฐ€ ํ•„์ˆ˜๋กœ ์ „๋‹ฌํ•ด์•ผ ํ•˜๋Š” props๋ฅผ ๋ช…ํ™•ํžˆ ๊ตฌ๋ถ„ํ•  ์ˆ˜ ์žˆ๋„๋ก description์— ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•ด๋ณด์„ธ์š”:

   argTypes: {
     className: {
-      description: 'ํด๋ž˜์Šค๋„ค์ž„, ๊ธธ์ด (btn-filled, btn-outlined, btn-disabled)',
+      description: '[ํ•„์ˆ˜] ํด๋ž˜์Šค๋„ค์ž„, ๊ธธ์ด (btn-filled, btn-outlined, btn-disabled)',
       control: 'text',
     },
     children: {
-      description: '๋ฒ„ํŠผ ๋‚ด๋ถ€์— ๋“ค์–ด๊ฐ€๋Š” ์ฝ˜ํ…์ธ ',
+      description: '[ํ•„์ˆ˜] ๋ฒ„ํŠผ ๋‚ด๋ถ€์— ๋“ค์–ด๊ฐ€๋Š” ์ฝ˜ํ…์ธ ',
       control: 'text',
     },
.storybook/preview.tsx (1)

32-40: ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

ํ˜„์žฌ ๊ตฌ์กฐ์— ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์‚ฌํ•ญ์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

 order: [
   'common',
-  ['button', 'calendar', 'image', 'input'],
+  ['button', 'calendar', 'image', 'input', 'typography', 'icon'],
   'layout',
+  ['header', 'footer', 'sidebar', 'container'],
   'auth',
+  ['login', 'signup', 'profile'],
   'crew',
+  ['list', 'detail', 'form'],
   'gathering',
+  ['list', 'detail', 'form'],
   'review',
+  ['list', 'detail', 'form'],
 ],

์ด๋ ‡๊ฒŒ ์ˆ˜์ •ํ•˜๋ฉด:

  1. ๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ์— ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” ํƒ€์ดํฌ๊ทธ๋ž˜ํ”ผ์™€ ์•„์ด์ฝ˜ ํ•ญ๋ชฉ์ด ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค
  2. ๊ฐ ์„น์…˜๋ณ„๋กœ ํ•˜์œ„ ์ปดํฌ๋„ŒํŠธ ๊ตฌ์กฐ๊ฐ€ ๋ช…ํ™•ํ•ด์ง‘๋‹ˆ๋‹ค
  3. ํ–ฅํ›„ ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ ์‹œ ์ผ๊ด€๋œ ๊ตฌ์กฐ๋ฅผ ์œ ์ง€ํ•˜๊ธฐ ์‰ฌ์›Œ์ง‘๋‹ˆ๋‹ค
src/components/common/header/header.stories.tsx (1)

Line range hint 24-65: ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค ๋ณด์™„ ์ œ์•ˆ

ํ˜„์žฌ ๊ตฌํ˜„๋œ ์Šคํ† ๋ฆฌ๋“ค์€ ๊ธฐ๋ณธ์ ์ธ ๋„ค๋น„๊ฒŒ์ด์…˜ ๊ฒฝ๋กœ๋งŒ ํ…Œ์ŠคํŠธํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ถ”๊ฐ€ ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค ๊ตฌํ˜„์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค:

  1. ์ž˜๋ชป๋œ ๊ฒฝ๋กœ๋กœ ์ ‘๊ทผํ–ˆ์„ ๋•Œ์˜ ๋™์ž‘
  2. ๊ถŒํ•œ์ด ์—†๋Š” ํŽ˜์ด์ง€ ์ ‘๊ทผ ์‹œ ๋™์ž‘
  3. ๋กœ๋”ฉ ์ƒํƒœ์ผ ๋•Œ์˜ ํ™”๋ฉด

์˜ˆ์‹œ ๊ตฌํ˜„์„ ์›ํ•˜์‹œ๋ฉด ์•Œ๋ ค์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

src/components/common/input/file-input-wrap/file-sample/file-sample.stories.tsx (1)

32-34: ํŒŒ์ผ ์„ ํƒ ์‹œ ์ƒํƒœ ๊ด€๋ฆฌ ๋กœ์ง ๊ฐœ์„  ์ œ์•ˆ

ํ˜„์žฌ ๊ตฌํ˜„์€ ์ž˜ ์ž‘๋™ํ•˜์ง€๋งŒ, ์ฝ”๋“œ์˜ ์˜๋„๋ฅผ ๋” ๋ช…ํ™•ํ•˜๊ฒŒ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  const handleFileChange = (file: string | null) => {
    if (file) {
-     setIsBlur(false); // ํŒŒ์ผ ์„ ํƒ ์‹œ ๋ธ”๋Ÿฌ ํ•ด์ œ
+     setIsBlur(false); // ์ƒˆ๋กœ์šด ์ด๋ฏธ์ง€๊ฐ€ ์„ ํƒ๋˜๋ฉด ๋ธ”๋Ÿฌ ํšจ๊ณผ๋ฅผ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค
    }
  };
src/components/common/crew-list/crew-card-list.stories.tsx (1)

Line range hint 1-65: ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉ๋ฒ•์— ๋Œ€ํ•œ ๋ฌธ์„œํ™”๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ ๋ฌธ์„œ์— ๋‹ค์Œ ๋‚ด์šฉ๋“ค์„ ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  • ์ปดํฌ๋„ŒํŠธ์˜ ์ฃผ์š” ๊ธฐ๋Šฅ ์„ค๋ช…
  • ๋ฌดํ•œ ์Šคํฌ๋กค ์‚ฌ์šฉ๋ฒ•
  • ์—๋Ÿฌ ์ƒํƒœ์™€ ๋กœ๋”ฉ ์ƒํƒœ ์ฒ˜๋ฆฌ ๋ฐฉ๋ฒ•

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ฌธ์„œ๋ฅผ ์ถ”๊ฐ€ํ•ด๋ณด์„ธ์š”:

const meta: Meta = {
  title: 'crew/crew-card-list',
  component: CrewCardList,
+ parameters: {
+   docs: {
+     description: {
+       component: `
+         # CrewCardList
+         
+         ๋ฌดํ•œ ์Šคํฌ๋กค์„ ์ง€์›ํ•˜๋Š” ํฌ๋ฃจ ์นด๋“œ ๋ชฉ๋ก ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.
+         
+         ## ์ฃผ์š” ๊ธฐ๋Šฅ
+         - ๋ฌดํ•œ ์Šคํฌ๋กค
+         - ๋กœ๋”ฉ ์ƒํƒœ ํ‘œ์‹œ
+         - ์—๋Ÿฌ ์ฒ˜๋ฆฌ
+         
+         ## ์‚ฌ์šฉ๋ฒ•
+         \`\`\`tsx
+         <CrewCardList data={crewListData} />
+         \`\`\`
+       `
+     }
+   },
+   layout: 'fullscreen',
    ...
src/components/common/input/drop-down/drop-down.stories.tsx (2)

Line range hint 35-48: ์ƒํƒœ ๊ด€๋ฆฌ ๋กœ์ง ๊ฐœ์„ ์„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”

ํ˜„์žฌ ๊ตฌํ˜„์€ ์ž˜ ์ž‘๋™ํ•˜์ง€๋งŒ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์‚ฌํ•ญ์„ ๊ณ ๋ คํ•ด๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

  • ์ดˆ๊ธฐ๊ฐ’์„ props์—์„œ ๋ฐ›์•„์˜ค๋„๋ก ์ˆ˜์ •
  • ์ƒํƒœ ๋ณ€๊ฒฝ ๋กœ์ง์„ ๋ณ„๋„์˜ ํ›…์œผ๋กœ ๋ถ„๋ฆฌ
const Template: StoryFn<DropDownProps> = function DropDownStory(args) {
-  const [value, setValue] = useState<string | null>('option1');
+  const [value, setValue] = useState<string | null>(args.value ?? null);

Line range hint 50-74: ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค ๋ณด์™„์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค

ํ˜„์žฌ ๊ธฐ๋ณธ์ ์ธ ์‚ฌ์šฉ ์‚ฌ๋ก€๋Š” ์ž˜ ์ปค๋ฒ„ํ•˜๊ณ  ์žˆ์œผ๋‚˜, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ถ”๊ฐ€ ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค๋ฅผ ๊ณ ๋ คํ•ด๋ณด์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  • ๋นˆ ๋ฐ์ดํ„ฐ ๋ฐฐ์—ด ์ผ€์ด์Šค
  • ๊ธด ํ…์ŠคํŠธ ๋ ˆ์ด๋ธ” ์ผ€์ด์Šค
  • ์—๋Ÿฌ ์ƒํƒœ ์ผ€์ด์Šค

์˜ˆ์‹œ ๊ตฌํ˜„์„ ์›ํ•˜์‹œ๋ฉด ๋ง์”€ํ•ด ์ฃผ์„ธ์š”.

src/app/(crew)/crew/detail/[id]/_components/create-gathering/create-gathering-form/create-gathering-form.stories.tsx (1)

Line range hint 24-28: ํผ ์ปดํฌ๋„ŒํŠธ์˜ ๋ฌธ์„œํ™”๋ฅผ ๋ณด์™„ํ•ด์ฃผ์„ธ์š”.

ํ˜„์žฌ ๋ฌธ์„œ์—๋Š” ๊ธฐ๋ณธ์ ์ธ ์„ค๋ช…๋งŒ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์Œ ๋‚ด์šฉ์„ ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  • ๊ฐ ํ•„๋“œ์˜ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ ๊ทœ์น™
  • ํ•„์ˆ˜ ์ž…๋ ฅ ํ•„๋“œ ์•ˆ๋‚ด
  • ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ์ œํ•œ์‚ฌํ•ญ
src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx (1)

Line range hint 31-73: ์Šคํ† ๋ฆฌ ๊ตฌ์„ฑ์— ๋Œ€ํ•œ ์ œ์•ˆ

์Šคํ† ๋ฆฌ์˜ ๊ตฌ์กฐํ™”๊ฐ€ ์ž˜ ๋˜์–ด์žˆ์ง€๋งŒ, ๋ช‡ ๊ฐ€์ง€ ๊ฐœ์„ ์‚ฌํ•ญ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  1. ๊ฐ ์Šคํ† ๋ฆฌ์— ๋Œ€ํ•œ ๋” ์ž์„ธํ•œ ์„ค๋ช…์„ parameters.docs.description์— ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.
  2. ๋ฐ์ดํ„ฐ์˜ ๊ฒฝ๊ณ„๊ฐ’ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ์ถ”๊ฐ€ ์Šคํ† ๋ฆฌ ์ผ€์ด์Šค๋ฅผ ๊ณ ๋ คํ•ด๋ณด์„ธ์š” (์˜ˆ: ์ตœ๋Œ€ ์ธ์›์— ๋„๋‹ฌํ•œ ๊ฒฝ์šฐ).

์˜ˆ์‹œ ์ฝ”๋“œ:

export const LikedEvent: Story = {
  args: {
    data: {
      id: 1,
      // ... existing data
    },
  },
+ parameters: {
+   docs: {
+     description: '์‚ฌ์šฉ์ž๊ฐ€ ์ฐœํ•œ ๋ชจ์ž„ ์นด๋“œ๋ฅผ ํ‘œ์‹œํ•˜๋Š” ์ผ€์ด์Šค์ž…๋‹ˆ๋‹ค. ์ฐœํ•˜๊ธฐ ๋ฒ„ํŠผ์ด ํ™œ์„ฑํ™”๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.'
+   }
+ }
};
src/components/gathering-list/liked-list-presenter.tsx (1)

Line range hint 23-62: ์ปดํฌ๋„ŒํŠธ ๊ฐœ์„  ์ œ์•ˆ

ํ˜„์žฌ ๊ตฌํ˜„์€ ์ž˜ ์ž‘๋™ํ•˜์ง€๋งŒ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์‚ฌํ•ญ๋“ค์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  1. ๋นˆ content ๋ฐฐ์—ด์— ๋Œ€ํ•œ ์ฒ˜๋ฆฌ
  2. ๋กœ๋”ฉ ์ƒํƒœ ํ‘œ์‹œ
  3. ํŽ˜์ด์ง€๋„ค์ด์…˜ ์ ‘๊ทผ์„ฑ ๊ฐœ์„ 

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ๋œ ๊ตฌํ˜„์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

 export default function LikedListPresenter({
   gatheringData,
   onPageChange,
   onLike,
   onUnlike,
   page,
 }: LikedListPresenterProps) {
   const { content, totalPages } = gatheringData;
+  
+  if (content.length === 0) {
+    return (
+      <div className="flex justify-center items-center min-h-[400px]">
+        <p>์ข‹์•„์š”ํ•œ ๋ชจ์ž„์ด ์—†์Šต๋‹ˆ๋‹ค.</p>
+      </div>
+    );
+  }

   return (
     <div className="mx-auto max-w-[1200px] px-4">
       <div
         className={cn(
           'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3',
           'mx-auto place-content-start justify-items-center gap-4',
           'md:min-h-[1064px] lg:min-h-[704px]',
         )}
       >
         {content.map((card) => (
           <GatheringCard
             {...card}
             key={card.id}
             liked
             onLike={() => onLike(card.id)}
             onUnlike={() => onUnlike(card.id)}
           />
         ))}
       </div>
       <div className="mt-8 flex justify-center">
         <Pagination
           total={totalPages}
           value={page}
           onChange={onPageChange}
+          aria-label="๋ชจ์ž„ ํŽ˜์ด์ง€ ๋„ค๋น„๊ฒŒ์ด์…˜"
           classNames={{
             control: cn(
               'data-[active="true"]:text-blue-500 data-[active="true"]:font-bold',
               'border-none bg-transparent hover:bg-transparent',
             ),
           }}
           styles={{
             control: {
               '&[data-active]': {
                 backgroundColor: 'transparent',
                 fontWeight: 'var(--pagination-active-font-weight)',
                 color: 'var(--pagination-active-color)',
                 boxShadow: 'none',
               },
             },
           }}
           size="sm"
         />
       </div>
     </div>
   );
 }
src/components/my-page/reviewing-modal/review-form.tsx (3)

Line range hint 21-22: API ์—ฐ๋™ ๋ฐ ํผ ์ œ์ถœ ๋กœ์ง์ด ๊ตฌํ˜„๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค

ํ˜„์žฌ TODO ์ฃผ์„์œผ๋กœ ํ‘œ์‹œ๋œ API ์—ฐ๋™ ๋ฐ ํผ ์ œ์ถœ ๋กœ์ง์ด ๋ˆ„๋ฝ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” ๊ธฐ๋Šฅ์˜ ํ•ต์‹ฌ์ ์ธ ๋ถ€๋ถ„์ด๋ฏ€๋กœ ์šฐ์„ ์ ์œผ๋กœ ๊ตฌํ˜„์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

API ์—ฐ๋™ ๋ฐ ํผ ์ œ์ถœ ๋กœ์ง ๊ตฌํ˜„์— ๋„์›€์ด ํ•„์š”ํ•˜์‹œ๋‹ค๋ฉด ์ œ๊ฐ€ ๋„์™€๋“œ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. GitHub ์ด์Šˆ๋ฅผ ์ƒ์„ฑํ•ด๋“œ๋ฆด๊นŒ์š”?


Line range hint 32-65: ํผ ์ œ์ถœ ์ฒ˜๋ฆฌ ๋ฐ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค

ํ˜„์žฌ ํผ ์ œ์ถœ ์‹œ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๋‚˜ ์—๋Ÿฌ ์ฒ˜๋ฆฌ๊ฐ€ ๊ตฌํ˜„๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ๊ฒฝํ—˜ ํ–ฅ์ƒ์„ ์œ„ํ•ด ๋‹ค์Œ ์‚ฌํ•ญ๋“ค์„ ๊ณ ๋ คํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค:

  • ๋ฆฌ๋ทฐ ํ…์ŠคํŠธ์˜ ์ตœ์†Œ/์ตœ๋Œ€ ๊ธธ์ด ์ œํ•œ
  • ์ ์ˆ˜ ์„ ํƒ ํ•„์ˆ˜ ์—ฌ๋ถ€
  • ์ œ์ถœ ์ „ ํ™•์ธ ์ ˆ์ฐจ

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ตฌํ˜„์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

+ const { register, handleSubmit, formState: { errors } } = useForm<FormValues>({
+   defaultValues: {
+     reviewText: '',
+     score: 0
+   },
+   resolver: zodResolver(reviewSchema)
+ });

+ const onSubmit = async (data: FormValues) => {
+   try {
+     // API ํ˜ธ์ถœ ๋กœ์ง
+   } catch (error) {
+     // ์—๋Ÿฌ ์ฒ˜๋ฆฌ
+   }
+ };

  return (
-   <form className="flex h-[308px] w-[472px] flex-col justify-between gap-[24px]">
+   <form onSubmit={handleSubmit(onSubmit)} className="flex h-[308px] w-[472px] flex-col justify-between gap-[24px]">

Line range hint 41-54: ์Šคํƒ€์ผ ๊ด€๋ฆฌ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค

ํ˜„์žฌ ์ธ๋ผ์ธ ์Šคํƒ€์ผ๊ณผ ํ•˜๋“œ์ฝ”๋”ฉ๋œ ๊ฐ’๋“ค์ด ๋งŽ์ด ์‚ฌ์šฉ๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์œ ์ง€๋ณด์ˆ˜์„ฑ๊ณผ ์žฌ์‚ฌ์šฉ์„ฑ์„ ๋†’์ด๊ธฐ ์œ„ํ•ด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค:

  • ๊ณตํ†ต ์Šคํƒ€์ผ์˜ ์ƒ์ˆ˜ํ™”
  • ํ…Œ๋งˆ ์‹œ์Šคํ…œ ํ™œ์šฉ
  • ๋ฐ˜์‘ํ˜• ๋””์ž์ธ ๊ณ ๋ ค

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ˆ˜์ •์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

+ const textareaStyles = {
+   input: {
+     '::placeholder': {
+       color: 'var(--gray-400)',
+       fontWeight: 500,
+       fontSize: 'var(--font-size-base)',
+     },
+   },
+   label: {
+     fontWeight: 600,
+     fontSize: 'var(--font-size-base)',
+   },
+ };

  <Textarea
    ...
-   styles={{
-     input: {
-       '::placeholder': {
-         color: 'gray - 400',
-         fontWeight: 500,
-         fontSize: '1rem',
-       },
-     },
-     label: {
-       fontWeight: 600,
-       fontSize: '1rem',
-     },
-   }}
+   styles={textareaStyles}
  />
src/app/(crew)/crew/detail/[id]/edit/page.tsx (2)

Line range hint 18-29: ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜ ๋กœ์ง ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค

๋ฐ์ดํ„ฐ ๋ณ€ํ™˜ ๊ณผ์ •์—์„œ ๋ช‡ ๊ฐ€์ง€ ๊ฐœ์„ ์ด ํ•„์š”ํ•œ ๋ถ€๋ถ„์ด ์žˆ์Šต๋‹ˆ๋‹ค:

  1. imageUrl์˜ ํƒ€์ž… ์บ์ŠคํŒ…์ด ์•ˆ์ „ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
  2. subLocation ์กฐ๊ฑด๋ถ€ ๋กœ์ง์ด ๋ณต์žกํ•ฉ๋‹ˆ๋‹ค

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฆฌํŒฉํ† ๋ง์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

const newData: EditCrewRequestTypes = {
  title: editedData.title,
  mainCategory: editedData.mainCategory,
  subCategory: editedData.subCategory ?? '',
- imageUrl: (editedData.imageUrl as string) ?? '',
+ imageUrl: typeof editedData.imageUrl === 'string' ? editedData.imageUrl : '',
- subLocation: editedData.subLocation === '์ „์ฒด' ? '' : (editedData.subLocation ?? ''),
+ subLocation: editedData.subLocation === '์ „์ฒด' ? '' : editedData.subLocation || '',
  totalCount: editedData.totalCount,
  introduce: editedData.introduce,
};

Line range hint 31-37: ๋กœ๋”ฉ ์ƒํƒœ UI๋ฅผ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ปดํฌ๋„ŒํŠธ๋กœ ๋ถ„๋ฆฌํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค

ํ˜„์žฌ ๋กœ๋”ฉ UI๊ฐ€ ์ธ๋ผ์ธ์œผ๋กœ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ถ€๋ถ„์„ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ปดํฌ๋„ŒํŠธ๋กœ ๋ถ„๋ฆฌํ•˜๋ฉด ์ฝ”๋“œ ์ค‘๋ณต์„ ์ค„์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ตฌ์กฐ๋ฅผ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

// components/common/LoadingSpinner.tsx
export const LoadingSpinner = () => (
  <div className="fixed inset-0 flex items-center justify-center">
    <Loader size="sm" />
  </div>
);

// ํ˜„์žฌ ํŒŒ์ผ
if (isLoading || isPending) return <LoadingSpinner />;
src/components/common/review-list/review-card-list.stories.tsx (2)

Line range hint 31-47: ์ฃผ์„ ์ฒ˜๋ฆฌ๋œ ์ฝ”๋“œ์˜ ์ฒ˜๋ฆฌ ๋ฐฉ์•ˆ์„ ๊ฒ€ํ† ํ•ด์ฃผ์„ธ์š”.

์ฃผ์„ ์ฒ˜๋ฆฌ๋œ RenderCrewReviewCardList ๊ด€๋ จ ์ฝ”๋“œ๊ฐ€ ํ–ฅํ›„ ์‚ฌ์šฉ๋  ์˜ˆ์ •์ด๋ผ๋ฉด TODO ์ฃผ์„์„ ์ถ”๊ฐ€ํ•˜๊ณ , ๊ทธ๋ ‡์ง€ ์•Š๋‹ค๋ฉด ์ œ๊ฑฐํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. ๋ถˆํ•„์š”ํ•œ ์ฃผ์„ ์ฝ”๋“œ๋Š” ์œ ์ง€๋ณด์ˆ˜๋ฅผ ์–ด๋ ต๊ฒŒ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

-// function RenderCrewReviewCardList({ isMine = false, clickable = false }) {
-//   const { data, ref, isFetchingNextPage } = useInfiniteScroll<ReviewInformResponse>({
-//     queryKey: ['review'],
-//     queryFn: ({ pageParam = 0 }) => fetchCrewReviewData(pageParam, 3),
-//     getNextPageParam: (lastPage, allPages) =>
-//       lastPage.hasNextPage ? allPages.length + 1 : undefined,
-//   });
-//   return (
-//     <ReviewCardList
-//       data={data}
-//       ref={ref}
-//       isMine={isMine}
-//       clickable={clickable}
-//       isFetchingNextPage={isFetchingNextPage}
-//     />
-//   );
-// }

Line range hint 49-73: TypeScript ํƒ€์ž… ์•ˆ์ •์„ฑ์„ ๊ฐœ์„ ํ•ด๋ณด์„ธ์š”.

RenderMyReviewCardList ํ•จ์ˆ˜์˜ ํƒ€์ž… ์•ˆ์ •์„ฑ์„ ๋†’์ด๊ธฐ ์œ„ํ•œ ์ œ์•ˆ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค:

-function RenderMyReviewCardList({ isMine = true, clickable = false }) {
+interface RenderMyReviewCardListProps {
+  isMine?: boolean;
+  clickable?: boolean;
+}
+
+function RenderMyReviewCardList({ 
+  isMine = true, 
+  clickable = false 
+}: RenderMyReviewCardListProps): JSX.Element {
src/app/(crew)/my-page/_components/profile-card/container.tsx (1)

Line range hint 38-63: ์ฝ”๋“œ ๊ตฌ์กฐ ๊ฐœ์„  ์ œ์•ˆ

ํ˜„์žฌ ํŒŒ์ผ ์—…๋กœ๋“œ ๋กœ์ง์ด ์ปดํฌ๋„ŒํŠธ์— ์ง์ ‘ ๊ตฌํ˜„๋˜์–ด ์žˆ์–ด ์ปดํฌ๋„ŒํŠธ์˜ ์ฑ…์ž„์ด ๋‹ค์†Œ ๋ฌด๊ฒ์Šต๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  1. ํŒŒ์ผ ์—…๋กœ๋“œ ๊ด€๋ จ ๋กœ์ง์„ ์ปค์Šคํ…€ ํ›…์œผ๋กœ ๋ถ„๋ฆฌ
  2. ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋กœ์ง ํ†ตํ•ฉ

์˜ˆ์‹œ ๋ฆฌํŒฉํ† ๋ง:

// useProfileImageUpload.ts
export const useProfileImageUpload = () => {
  const { refetch: refetchUser } = useUser();
  
  const uploadImage = async (file: File) => {
    if (file.size > 5 * 1024 * 1024) {
      throw new Error('FILE_SIZE_LIMIT');
    }
    
    await updateUserProfile(file);
    await refetchUser();
    return URL.createObjectURL(file);
  };
  
  return { uploadImage };
};

// container.tsx
const { uploadImage } = useProfileImageUpload();

const handleEdit = () => {
  const input = document.createElement('input');
  input.type = 'file';
  input.accept = '.png,.jpg,.jpeg';
  input.onchange = async (event) => {
    const file = (event.target as HTMLInputElement)?.files?.[0];
    if (!file) return;
    
    try {
      const tempUrl = await uploadImage(file);
      setProfileImageUrl(tempUrl);
      toast.success('ํ”„๋กœํ•„ ์ด๋ฏธ์ง€๊ฐ€ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.');
    } catch (error) {
      if (error.message === 'FILE_SIZE_LIMIT') {
        toast.error('5MB ์ดํ•˜์˜ ํŒŒ์ผ๋งŒ ์—…๋กœ๋“œ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.');
      } else {
        toast.error('ํŒŒ์ผ ์—…๋กœ๋“œ์— ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค.');
      }
    }
  };
  input.click();
};
src/components/gathering-list/crew-gathering-list.stories.tsx (1)

Line range hint 58-60: layout ๋งค๊ฐœ๋ณ€์ˆ˜์˜ ์˜คํƒ€๋ฅผ ํ™•์ธํ•ด์ฃผ์„ธ์š”.

'fulled'๋Š” ์ผ๋ฐ˜์ ์ธ Storybook layout ๊ฐ’์ด ์•„๋‹™๋‹ˆ๋‹ค. ์•„๋งˆ๋„ 'fullscreen' ๋˜๋Š” 'full'์„ ์˜๋„ํ•˜์‹  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  parameters: {
-   layout: 'fulled',
+   layout: 'fullscreen',
  },
src/components/common/gathering-card/gathering-card.stories.tsx (1)

Line range hint 1-99: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์ด ์ฒด๊ณ„์ ์œผ๋กœ ์ž˜ ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค๋งŒ, ๋ฌธ์„œํ™”๋ฅผ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

์ƒˆ๋กœ์šด ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜๊ณผ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ์— ๋Œ€ํ•œ ๊ฐ€์ด๋“œ๋ผ์ธ์„ ํŒ€ ๋ฌธ์„œ์— ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ์„ README.md๋‚˜ ์Šคํ† ๋ฆฌ๋ถ ๋ฌธ์„œ์— ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  • ์Šคํ† ๋ฆฌ๋ถ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ ์„ค๋ช…
  • ์ปดํฌ๋„ŒํŠธ ๋„ค์ด๋ฐ ๊ทœ์น™
  • ์Šคํ† ๋ฆฌ ๊ตฌ์„ฑ ๋ฐฉ๋ฒ•

ํ•„์š”ํ•˜์‹œ๋‹ค๋ฉด ๋ฌธ์„œ ํ…œํ”Œ๋ฆฟ์„ ์ œ๊ณตํ•ด๋“œ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

src/components/common/input/pop-over-calendar/index.tsx (1)

18-18: ์ƒํƒœ ๊ด€๋ฆฌ ๊ฐœ์„ ์ด ์ž˜ ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค!

inputTheme์„ useState์—์„œ ์ƒ์ˆ˜๋กœ ๋ณ€๊ฒฝํ•œ ๊ฒƒ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ด์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค:

  • ๋ถˆํ•„์š”ํ•œ ์ƒํƒœ ๊ด€๋ฆฌ๊ฐ€ ์ œ๊ฑฐ๋˜์–ด ์ปดํฌ๋„ŒํŠธ ๋กœ์ง์ด ๋‹จ์ˆœํ™”๋˜์—ˆ์Šต๋‹ˆ๋‹ค
  • opened ์ƒํƒœ์™€์˜ ๋™๊ธฐํ™” ๋ฌธ์ œ ๊ฐ€๋Šฅ์„ฑ์ด ์ œ๊ฑฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค
  • ์ถ”๊ฐ€์ ์ธ ๋ Œ๋”๋ง์ด ๋ฐฉ์ง€๋˜์–ด ์„ฑ๋Šฅ์ด ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค

์ถ”๊ฐ€์ ์ธ ๊ฐœ์„ ์‚ฌํ•ญ์œผ๋กœ, ์ด ์ƒ์ˆ˜๋ฅผ ์ปดํฌ๋„ŒํŠธ ์™ธ๋ถ€๋กœ ๋ถ„๋ฆฌํ•˜์—ฌ ๋ฉ”๋ชจ์ด์ œ์ด์…˜์„ ์ ์šฉํ•˜๋Š” ๊ฒƒ์„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”:

+const getInputTheme = (opened: boolean) => opened ? 'dark' : 'light';

export default function PopOverCalendar({ value, onChange }: PopOverProps) {
  const [opened, { open, close }] = useDisclosure();
-  const inputTheme = opened ? 'dark' : 'light';
+  const inputTheme = getInputTheme(opened);
src/components/common/input/file-input-wrap/file-input/index.tsx (3)

Line range hint 21-33: ๋””๋ฐ”์šด์Šค ๋กœ์ง์„ ์ปค์Šคํ…€ ํ›…์œผ๋กœ ๋ถ„๋ฆฌํ•˜๋Š” ๊ฒƒ์„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”.

ํ˜„์žฌ ์ปดํฌ๋„ŒํŠธ ๋‚ด๋ถ€์— ๊ตฌํ˜„๋œ ๋””๋ฐ”์šด์Šค ๋กœ์ง์„ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ปค์Šคํ…€ ํ›…์œผ๋กœ ๋ถ„๋ฆฌํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ด์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค:

  • ์ฝ”๋“œ ์žฌ์‚ฌ์šฉ์„ฑ ํ–ฅ์ƒ
  • ์ปดํฌ๋„ŒํŠธ ๋กœ์ง ๋‹จ์ˆœํ™”
  • ํ…Œ์ŠคํŠธ ์šฉ์ด์„ฑ ๊ฐœ์„ 

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

// hooks/useDebounce.ts
export function useDebounce<T extends (...args: any[]) => void>(
  callback: T,
  delay: number
) {
  const timerRef = useRef<NodeJS.Timeout | null>(null);

  return useCallback(
    (...args: Parameters<T>) => {
      if (timerRef.current) clearTimeout(timerRef.current);
      timerRef.current = setTimeout(() => callback(...args), delay);
    },
    [callback, delay]
  );
}

Line range hint 35-47: ํŒŒ์ผ ๋กœ๋”ฉ ์‹œ ์—๋Ÿฌ ์ฒ˜๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์ด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

ํ˜„์žฌ ํŒŒ์ผ ๋กœ๋”ฉ ์ค‘ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ์— ๋Œ€ํ•œ ์ฒ˜๋ฆฌ๊ฐ€ ๋ˆ„๋ฝ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž์—๊ฒŒ ์ ์ ˆํ•œ ํ”ผ๋“œ๋ฐฑ์„ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•ด ์—๋Ÿฌ ์ฒ˜๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์ด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

 const handleFileLoad = (file: File) => {
   if (fileReader) {
     fileReader.abort();
   }

   const reader = new FileReader();
   setFileReader(reader);

+  reader.onerror = () => {
+    console.error('ํŒŒ์ผ ๋กœ๋”ฉ ์ค‘ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค');
+    setPreview(null);
+  };
+
   reader.onloadend = () => {
     setPreview(reader.result as string);
   };
   reader.readAsDataURL(file);
 };

Line range hint 89-116: ์ ‘๊ทผ์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์Šคํฌ๋ฆฐ ๋ฆฌ๋” ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ ARIA ์†์„ฑ๊ณผ ํ‚ค๋ณด๋“œ ์ ‘๊ทผ์„ฑ์ด ๋ณด์™„๋˜๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์‚ฌํ•ญ์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

 <div className="min-w-1/4 relative flex aspect-square w-1/4 gap-2">
   <label
     htmlFor="item-file"
     className="flex h-full w-full cursor-pointer flex-col items-center justify-center rounded-xl bg-neutral-100"
+    role="button"
+    aria-label="์ด๋ฏธ์ง€ ํŒŒ์ผ ์„ ํƒ"
   >
     <figure className="relative flex h-3.5 w-3.5 md:h-5 md:w-5">
       <Image
         fill
         src={IcoPlus}
         alt="์ด๋ฏธ์ง€ ์ถ”๊ฐ€"
+        aria-hidden="true"
         style={{ width: '100%', height: '100%', objectFit: 'cover' }}
       />
     </figure>
     <span className="text-xs font-medium text-gray-400 md:text-base lg:text-lg">
       ์ด๋ฏธ์ง€ ๋“ฑ๋ก
     </span>
   </label>
   <input
     type="file"
     accept="image/png, image/jpeg"
     ref={fileInput}
     onChange={handleChange}
     id="item-file"
     className="hidden"
+    aria-label="์ด๋ฏธ์ง€ ํŒŒ์ผ ์„ ํƒ"
   />
src/app/(crew)/page.tsx (3)

Line range hint 31-37: ๊ฒ€์ƒ‰ ๊ธฐ๋Šฅ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

๊ฒ€์ƒ‰ ๋กœ์ง์— ๋Œ€ํ•œ ๊ฐœ์„  ์‚ฌํ•ญ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  1. ๋””๋ฐ”์šด์‹ฑ ์ถ”๊ฐ€๋กœ ์„ฑ๋Šฅ ์ตœ์ ํ™”
  2. ์นดํ…Œ๊ณ ๋ฆฌ ์ดˆ๊ธฐํ™” ๋กœ์ง์„ ๋ณ„๋„ ํ•จ์ˆ˜๋กœ ๋ถ„๋ฆฌ
+const resetCategories = () => {
+  setMainCategory('');
+  setSubCategory('');
+};
+
+const debouncedSearch = useCallback(
+  debounce((value: string) => {
+    resetCategories();
+    setSearch(value);
+  }, 300),
+  []
+);
+
 const handleSearch = () => {
   if (searchRef.current) {
-    setMainCategory('');
-    setSubCategory('');
-    setSearch(searchRef.current.value);
+    debouncedSearch(searchRef.current.value);
   }
 };

Line range hint 128-128: ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

ํ˜„์žฌ ์—๋Ÿฌ ์ฒ˜๋ฆฌ๊ฐ€ ๋„ˆ๋ฌด ๋‹จ์ˆœํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  1. ๊ตฌ์ฒด์ ์ธ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œ
  2. ์žฌ์‹œ๋„ ๋ฒ„ํŠผ ์ถ”๊ฐ€
  3. ์—๋Ÿฌ ๋กœ๊น… ์ถ”๊ฐ€
-{error && <p className="py-10 text-center">์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.</p>}
+{error && (
+  <div className="flex flex-col items-center py-10">
+    <p className="text-center text-red-500">๋ฐ์ดํ„ฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.</p>
+    <button
+      onClick={() => window.location.reload()}
+      className="mt-4 rounded-md bg-primary px-4 py-2 text-white"
+    >
+      ๋‹ค์‹œ ์‹œ๋„ํ•˜๊ธฐ
+    </button>
+  </div>
+)}

Line range hint 108-122: ์ ‘๊ทผ์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

๋“œ๋กญ๋‹ค์šด ์ปดํฌ๋„ŒํŠธ์˜ ์ ‘๊ทผ์„ฑ์„ ๊ฐœ์„ ํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์Œ ์‚ฌํ•ญ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  1. aria-label ์ถ”๊ฐ€
  2. ํ‚ค๋ณด๋“œ ๋„ค๋น„๊ฒŒ์ด์…˜ ์ง€์›
 <DropDown
   name="region"
   variant="default"
+  aria-label="์ง€์—ญ ์„ ํƒ"
   data={regionData.map((dataItem) => dataItem.main)}
   placeholder="์ง€์—ญ ์ „์ฒด"
   value={region}
   className="w-[130px]"
   onChange={(newValue) => {
     setRegion(newValue as string);
   }}
 />
src/stories/Configure.mdx (4)

46-47: ์ด๋ฏธ์ง€ ์ ‘๊ทผ์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

alt ํ…์ŠคํŠธ๊ฐ€ ์ด๋ฏธ์ง€์˜ ๋‚ด์šฉ์„ ์ถฉ๋ถ„ํžˆ ์„ค๋ช…ํ•˜์ง€ ๋ชปํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์Šคํฌ๋ฆฐ ๋ฆฌ๋” ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•ด ๋” ์ž์„ธํ•œ ์„ค๋ช…์„ ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”.

-alt="component based development"
+alt="์ปดํฌ๋„ŒํŠธ ๊ธฐ๋ฐ˜ ๊ฐœ๋ฐœ ์•„ํ‚คํ…์ฒ˜๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” ๋‹ค์ด์–ด๊ทธ๋žจ"
-alt="An abstraction representing the composition of data for a component"
+alt="์ปจํ…Œ์ด๋„ˆ/ํ”„๋ ˆ์  ํ…Œ์ด์…”๋„ ํŒจํ„ด์˜ ๊ตฌ์กฐ๋ฅผ ์„ค๋ช…ํ•˜๋Š” ๋‹ค์ด์–ด๊ทธ๋žจ"

Also applies to: 61-62


77-80: ๋งํฌ ์ ‘๊ทผ์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์™ธ๋ถ€ ๋งํฌ์ž„์„ ๋ช…์‹œ์ ์œผ๋กœ ํ‘œ์‹œํ•˜๊ณ , ๋งํฌ ํ…์ŠคํŠธ๋ฅผ ๋” ์„ค๋ช…์ ์œผ๋กœ ๋งŒ๋“ค์–ด์ฃผ์„ธ์š”.

-<a href="https://crewcrew.vercel.app/" target="_blank">https://crewcrew.vercel.app/<RightArrow /></a>
+<a href="https://crewcrew.vercel.app/" target="_blank" rel="noopener noreferrer" aria-label="ํฌ๋ฃจํฌ๋ฃจ ์›น์‚ฌ์ดํŠธ ๋ฐฉ๋ฌธํ•˜๊ธฐ (์ƒˆ ์ฐฝ์—์„œ ์—ด๋ฆผ)">
+  ํฌ๋ฃจํฌ๋ฃจ ์›น์‚ฌ์ดํŠธ ๋ฐฉ๋ฌธํ•˜๊ธฐ <RightArrow />
+</a>

Line range hint 89-143: ๊ธฐ๋Šฅ ์„ค๋ช…์šฉ ์ด๋ฏธ์ง€ ์—…๋ฐ์ดํŠธ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

ํ˜„์žฌ Storybook ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์‹ค์ œ ํฌ๋ฃจํฌ๋ฃจ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๊ฐ ๊ธฐ๋Šฅ์„ ๋ณด์—ฌ์ฃผ๋Š” ์Šคํฌ๋ฆฐ์ƒท์œผ๋กœ ๊ต์ฒดํ•˜๋Š” ๊ฒƒ์ด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

๊ฐ ๊ธฐ๋Šฅ๋ณ„๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์‹ค์ œ ์Šคํฌ๋ฆฐ์ƒท์„ ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”:

  • ํฌ๋ฃจ ์ฐพ๊ธฐ ํ™”๋ฉด
  • ๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž… ํ™”๋ฉด
  • ํฌ๋ฃจ ์ƒ์„ธ ํŽ˜์ด์ง€
  • ์•ฝ์† ๋งŒ๋“ค๊ธฐ ํ™”๋ฉด
  • ๋งˆ์ด ํŽ˜์ด์ง€
  • ํ”„๋กœํ•„ ๊ด€๋ฆฌ ํ™”๋ฉด

Line range hint 191-211: ์†Œ์…œ ๋งํฌ ๋ณด์•ˆ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์™ธ๋ถ€ ๋งํฌ์— ๋ณด์•ˆ ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜๊ณ , ๋งํฌ ํ…์ŠคํŠธ๋ฅผ ๋” ๋ช…ํ™•ํ•˜๊ฒŒ ๋งŒ๋“ค์–ด์ฃผ์„ธ์š”.

-<a href="https://github.com/CodeitFESI4-Team1/Team-1-Codeit" target="_blank">
+<a 
+  href="https://github.com/CodeitFESI4-Team1/Team-1-Codeit" 
+  target="_blank" 
+  rel="noopener noreferrer"
+  aria-label="ํฌ๋ฃจํฌ๋ฃจ GitHub ์ €์žฅ์†Œ ๋ฐฉ๋ฌธํ•˜๊ธฐ (์ƒˆ ์ฐฝ์—์„œ ์—ด๋ฆผ)"
+>
-๋ฐ”๋กœ๊ฐ€๊ธฐ<RightArrow />
+GitHub ์ €์žฅ์†Œ ๋ฐฉ๋ฌธํ•˜๊ธฐ<RightArrow />
</a>

-<a href="https://www.youtube.com/watch?v=8qhzx36ljDM" target="_blank">
+<a 
+  href="https://www.youtube.com/watch?v=8qhzx36ljDM" 
+  target="_blank" 
+  rel="noopener noreferrer"
+  aria-label="ํฌ๋ฃจํฌ๋ฃจ ๋ฐ๋ชจ ์˜์ƒ ๋ณด๊ธฐ (์ƒˆ ์ฐฝ์—์„œ ์—ด๋ฆผ)"
+>
-๋ฐ”๋กœ๊ฐ€๊ธฐ<RightArrow />
+๋ฐ๋ชจ ์˜์ƒ ๋ณด๊ธฐ<RightArrow />
</a>
๐Ÿ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between afba481 and 49dc708.

๐Ÿ“’ Files selected for processing (56)
  • .storybook/main.ts (1 hunks)
  • .storybook/preview.tsx (1 hunks)
  • src/_apis/crew/crew.ts (0 hunks)
  • src/_apis/image/get-image-url.ts (0 hunks)
  • src/app/(auth)/login/_component/login-form.stories.tsx (1 hunks)
  • src/app/(auth)/signup/_component/signup-form.stories.tsx (1 hunks)
  • src/app/(crew)/_components/category/internal-category/internal-category.stories.tsx (1 hunks)
  • src/app/(crew)/crew/create/_components/create-crew-form/create-crew-form.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/create-gathering/create-gathering-form/create-gathering-form.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/crew-review-list.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/detail-crew.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/gathering-detail-modal/gathering-detail-modal.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/rating-display.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/review-section.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/edit/page.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/page.tsx (1 hunks)
  • src/app/(crew)/my-crew/hosted/page.tsx (0 hunks)
  • src/app/(crew)/my-crew/joined/page.tsx (0 hunks)
  • src/app/(crew)/my-page/_components/profile-card/container.tsx (2 hunks)
  • src/app/(crew)/page.tsx (1 hunks)
  • src/components/common/crew-list/crew-card-list.stories.tsx (1 hunks)
  • src/components/common/crew-list/crew-card.tsx (0 hunks)
  • src/components/common/crew-list/profiles.stories.tsx (1 hunks)
  • src/components/common/gathering-card/gathering-card.stories.tsx (1 hunks)
  • src/components/common/gathering-card/presenter.tsx (0 hunks)
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx (0 hunks)
  • src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx (1 hunks)
  • src/components/common/header/header.stories.tsx (1 hunks)
  • src/components/common/input/button/button.stories.tsx (1 hunks)
  • src/components/common/input/button/floating-btn.stories.tsx (1 hunks)
  • src/components/common/input/button/like-btn.stories.tsx (1 hunks)
  • src/components/common/input/calendar-filter/calendar-filter.stories.tsx (1 hunks)
  • src/components/common/input/date-time-picker/date-time-picker.stories.tsx (1 hunks)
  • src/components/common/input/drop-down/drop-down.stories.tsx (1 hunks)
  • src/components/common/input/file-input-wrap/file-input/file-input.stories.tsx (1 hunks)
  • src/components/common/input/file-input-wrap/file-input/index.tsx (1 hunks)
  • src/components/common/input/file-input-wrap/file-sample/file-sample.stories.tsx (2 hunks)
  • src/components/common/input/file-input-wrap/file-sample/index.tsx (1 hunks)
  • src/components/common/input/password-input/password-input.stories.tsx (1 hunks)
  • src/components/common/input/pop-over-calendar/index.tsx (1 hunks)
  • src/components/common/input/text-input/text-input.stories.tsx (1 hunks)
  • src/components/common/input/textarea/textarea.stories.tsx (1 hunks)
  • src/components/common/profile/Profile.stories.tsx (1 hunks)
  • src/components/common/progress-bar/progress-bar.stories.tsx (1 hunks)
  • src/components/common/review-list/review-card-list.stories.tsx (1 hunks)
  • src/components/common/tab/tab.stories.tsx (1 hunks)
  • src/components/common/toast/toast.stories.tsx (1 hunks)
  • src/components/common/writable-gathering-card/writable-gathering-card-list.stories.tsx (1 hunks)
  • src/components/gathering-list/crew-gathering-list.stories.tsx (1 hunks)
  • src/components/gathering-list/gathering-list.stories.tsx (1 hunks)
  • src/components/gathering-list/liked-list-presenter.tsx (1 hunks)
  • src/components/my-page/reviewing-modal/review-form.tsx (1 hunks)
  • src/components/my-page/reviewing-modal/reviewing-modal.stories.tsx (1 hunks)
  • src/stories/Configure.mdx (11 hunks)
  • src/types/create-crew.d.ts (0 hunks)
  • src/types/gathering-data.d.ts (0 hunks)
๐Ÿ’ค Files with no reviewable changes (9)
  • src/_apis/crew/crew.ts
  • src/_apis/image/get-image-url.ts
  • src/app/(crew)/my-crew/hosted/page.tsx
  • src/app/(crew)/my-crew/joined/page.tsx
  • src/components/common/crew-list/crew-card.tsx
  • src/components/common/gathering-card/presenter.tsx
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx
  • src/types/create-crew.d.ts
  • src/types/gathering-data.d.ts
โœ… Files skipped from review due to trivial changes (21)
  • src/app/(auth)/login/_component/login-form.stories.tsx
  • src/app/(auth)/signup/_component/signup-form.stories.tsx
  • src/app/(crew)/_components/category/internal-category/internal-category.stories.tsx
  • src/app/(crew)/crew/create/_components/create-crew-form/create-crew-form.stories.tsx
  • src/app/(crew)/crew/detail/[id]/_components/detail-crew.stories.tsx
  • src/app/(crew)/crew/detail/[id]/_components/gathering-detail-modal/gathering-detail-modal.stories.tsx
  • src/app/(crew)/crew/detail/[id]/_components/review-section.tsx
  • src/app/(crew)/crew/detail/[id]/page.tsx
  • src/components/common/crew-list/profiles.stories.tsx
  • src/components/common/input/button/floating-btn.stories.tsx
  • src/components/common/input/button/like-btn.stories.tsx
  • src/components/common/input/file-input-wrap/file-sample/index.tsx
  • src/components/common/input/password-input/password-input.stories.tsx
  • src/components/common/input/text-input/text-input.stories.tsx
  • src/components/common/input/textarea/textarea.stories.tsx
  • src/components/common/profile/Profile.stories.tsx
  • src/components/common/progress-bar/progress-bar.stories.tsx
  • src/components/common/tab/tab.stories.tsx
  • src/components/common/toast/toast.stories.tsx
  • src/components/common/writable-gathering-card/writable-gathering-card-list.stories.tsx
  • src/components/my-page/reviewing-modal/reviewing-modal.stories.tsx
๐Ÿ”‡ Additional comments (32)
.storybook/main.ts (1)

16-18: ์•ŒํŒŒ๋ฒณ์ˆœ ์ •๋ ฌ ๋ฐฉ์‹์ด ์ ์ ˆํžˆ ์ ์šฉ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ์˜ ์Šคํ† ๋ฆฌ๋“ค์„ ์•ŒํŒŒ๋ฒณ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๋Š” ์„ค์ •์ด ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ๊ตฌํ˜„๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

src/components/common/input/date-time-picker/date-time-picker.stories.tsx (1)

7-7: ์ปดํฌ๋„ŒํŠธ ์นดํ…Œ๊ณ ๋ฆฌ ๋ณ€๊ฒฝ์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ์˜ ์„ฑ๊ฒฉ์„ ๊ณ ๋ คํ•  ๋•Œ 'common/calendar' ์นดํ…Œ๊ณ ๋ฆฌ๋กœ์˜ ์ด๋™์ด ๋” ์ง๊ด€์ ์ž…๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์นดํ…Œ๊ณ ๋ฆฌ๋„ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๋ณ€๊ฒฝ๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค:

โœ… Verification successful

์บ˜๋ฆฐ๋” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์นดํ…Œ๊ณ ๋ฆฌ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ์ ์šฉ๋˜์—ˆ์Šต๋‹ˆ๋‹ค

์บ˜๋ฆฐ๋” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค(date-time-picker์™€ calendar-filter)์ด ๋ชจ๋‘ common/calendar ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ํ†ต์ผ๋˜์–ด ์žˆ์–ด ์ผ๊ด€์„ฑ์ด ์ž˜ ์œ ์ง€๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ ์นดํ…Œ๊ณ ๋ฆฌ ํ™•์ธ

# ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ ๊ฒ€์ƒ‰
rg -l "title.*calendar" --type ts

Length of output: 181


Script:

#!/bin/bash
# Check the actual title values in the found story files
rg "title:.*" src/components/common/input/calendar-filter/calendar-filter.stories.tsx src/components/common/input/date-time-picker/date-time-picker.stories.tsx

Length of output: 396

src/components/common/input/button/button.stories.tsx (1)

5-5: ์Šคํ† ๋ฆฌ๋ถ ํƒ€์ดํ‹€ ๊ตฌ์กฐ๊ฐ€ ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ์˜ ๊ณ„์ธต ๊ตฌ์กฐ๊ฐ€ ๋ช…ํ™•ํ•ด์ ธ ์Šคํ† ๋ฆฌ๋ถ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ ๋” ์‰ฝ๊ฒŒ ์ฐพ์„ ์ˆ˜ ์žˆ๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

.storybook/preview.tsx (1)

28-43: ์Šคํ† ๋ฆฌ๋ถ ์ •๋ ฌ ๊ตฌ์„ฑ์ด ์ž˜ ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค!

์•ŒํŒŒ๋ฒณ์ˆœ ์ •๋ ฌ๊ณผ ์นดํ…Œ๊ณ ๋ฆฌ๋ณ„ ๊ตฌ๋ถ„์ด ๋ช…ํ™•ํ•˜๊ฒŒ ์„ค์ •๋˜์–ด ์žˆ์–ด ์Šคํ† ๋ฆฌ๋ถ ๋„ค๋น„๊ฒŒ์ด์…˜์ด ๋”์šฑ ์ง๊ด€์ ์ผ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

src/components/common/header/header.stories.tsx (2)

1-3: ๋ถˆํ•„์š”ํ•œ ์ž„ํฌํŠธ ์ œ๊ฑฐ ์Šน์ธ

์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” useState์™€ useAuth ์ž„ํฌํŠธ๋ฅผ ์ œ๊ฑฐํ•˜์—ฌ ์ฝ”๋“œ๊ฐ€ ๋” ๊น”๋”ํ•ด์กŒ์Šต๋‹ˆ๋‹ค.


6-6: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ์ผ๊ด€์„ฑ ํ™•์ธ ํ•„์š”

'layout/header'๋กœ์˜ ํƒ€์ดํ‹€ ๋ณ€๊ฒฝ์ด ๋‹ค๋ฅธ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜๊ณผ ์ผ์น˜ํ•˜๋Š”์ง€ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

โœ… Verification successful

Based on the search results, I can now generate the final response as we have sufficient information about the Storybook title patterns in the codebase.

์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค

'layout/header' ํƒ€์ดํ‹€์€ ๋‹ค๋ฅธ ๋ ˆ์ด์•„์›ƒ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ๋„ค์ด๋ฐ ํŒจํ„ด๊ณผ ์ผ์น˜ํ•ฉ๋‹ˆ๋‹ค:

  • 'layout/category'
  • 'layout/tabs'
  • 'layout/header'

๋˜ํ•œ ์ „๋ฐ˜์ ์œผ๋กœ ๋ชจ๋“  ์Šคํ† ๋ฆฌ๋ถ ํƒ€์ดํ‹€์ด ์ผ๊ด€๋œ ํŒจํ„ด์„ ๋”ฐ๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค:

  • common/* (๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ)
  • layout/* (๋ ˆ์ด์•„์›ƒ ์ปดํฌ๋„ŒํŠธ)
  • crew/* (ํฌ๋ฃจ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ)
  • gathering/* (๋ชจ์ž„ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ)
  • auth/* (์ธ์ฆ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ)
๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ๋‹ค๋ฅธ ์Šคํ† ๋ฆฌ ํŒŒ์ผ๋“ค์˜ ํƒ€์ดํ‹€ ํŒจํ„ด ํ™•์ธ

# ๋ชจ๋“  ์Šคํ† ๋ฆฌ ํŒŒ์ผ์—์„œ title ํŒจํ„ด ๊ฒ€์ƒ‰
rg "title: '[^']*'" -g "*.stories.tsx"

Length of output: 6853

src/app/(crew)/crew/detail/[id]/_components/crew-review-list.stories.tsx (1)

9-9: ์Šคํ† ๋ฆฌ๋ถ ํƒ€์ดํ‹€ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

์Šคํ† ๋ฆฌ ํƒ€์ดํ‹€์„ 'crew/crew-review-list'๋กœ ๋ณ€๊ฒฝํ•œ ๊ฒƒ์ด ์ „์ฒด์ ์ธ ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„  ๋ฐฉํ–ฅ๊ณผ ์ž˜ ๋งž์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ๊ฐ„๋‹จํ•˜๊ณ  ์ผ๊ด€๋œ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜์€ ์Šคํ† ๋ฆฌ๋ถ ๋„ค๋น„๊ฒŒ์ด์…˜์„ ๋”์šฑ ์ง๊ด€์ ์œผ๋กœ ๋งŒ๋“ค์–ด์ค„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

src/components/common/input/file-input-wrap/file-sample/file-sample.stories.tsx (1)

8-8: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ์˜ ์„ฑ๊ฒฉ์— ๋งž๊ฒŒ 'common/image' ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ์ด๋™ํ•œ ๊ฒƒ์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ์ด๋ฏธ์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์นดํ…Œ๊ณ ๋ฆฌ๋„ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๋ณ€๊ฒฝ๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค:

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ์ •๋ฆฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค

์ด๋ฏธ์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์ด ๋ชจ๋‘ 'common/image' ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ํ†ต์ผ๋˜์–ด ์žˆ๋Š” ๊ฒƒ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค:

  • image-sample: common/image/image-sample
  • image-input: common/image/image-input
๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ์ด๋ฏธ์ง€ ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ title ํ™•์ธ

rg "title.*image" -g "*.stories.tsx"

Length of output: 271


Script:

#!/bin/bash
# Description: ์ด๋ฏธ์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ์˜ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์„ ๋ชจ๋‘ ์ฐพ์•„์„œ title ๊ตฌ์กฐ ํ™•์ธ
fd -e stories.tsx -x cat {} | rg "title:"

# Description: ํŒŒ์ผ ๊ตฌ์กฐ ํ™•์ธ์„ ์œ„ํ•ด ์ด๋ฏธ์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ ๋””๋ ‰ํ† ๋ฆฌ ๊ฒ€์ƒ‰
fd -t d "image|file" -d 3

Length of output: 2225

src/components/common/input/file-input-wrap/file-input/file-input.stories.tsx (1)

7-7: ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฅ˜์™€ ์ด๋ฆ„์˜ ์ผ๊ด€์„ฑ ๊ฒ€ํ†  ํ•„์š”

์ปดํฌ๋„ŒํŠธ์˜ ๋ฌผ๋ฆฌ์  ์œ„์น˜(input ๋””๋ ‰ํ† ๋ฆฌ), ์ด๋ฆ„(FileInput), ๊ทธ๋ฆฌ๊ณ  ์ƒˆ๋กœ์šด ์Šคํ† ๋ฆฌ๋ถ ์นดํ…Œ๊ณ ๋ฆฌ(image) ๊ฐ„์˜ ๋ถˆ์ผ์น˜๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” ๊ฐœ๋ฐœ์ž๋“ค์—๊ฒŒ ํ˜ผ๋ž€์„ ์ค„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ ์‚ฌํ•ญ๋“ค์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค:

  1. ์ปดํฌ๋„ŒํŠธ๊ฐ€ ์‹ค์ œ๋กœ ์ด๋ฏธ์ง€ ๊ด€๋ จ ๊ธฐ๋Šฅ์— ํŠนํ™”๋˜์–ด ์žˆ๋‹ค๋ฉด, ์ปดํฌ๋„ŒํŠธ ์ด๋ฆ„์„ ImageInput์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์ด ์ข‹์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  2. ํ˜น์€ ์ด๋ฏธ์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋ผ๋ฉด ๋ฌผ๋ฆฌ์  ์œ„์น˜๋„ src/components/common/image ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
src/components/common/crew-list/crew-card-list.stories.tsx (1)

9-9: ์Šคํ† ๋ฆฌ๋ถ ํƒ€์ดํ‹€ ๋ณ€๊ฒฝ์ด ์ ์ ˆํ•ฉ๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ ๊ณ„์ธต ๊ตฌ์กฐ๊ฐ€ ๋‹จ์ˆœํ™”๋˜์–ด ๋” ๋ช…ํ™•ํ•ด์กŒ์œผ๋ฉฐ, ์ผ๊ด€๋œ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜์„ ๋”ฐ๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

src/components/common/input/drop-down/drop-down.stories.tsx (1)

7-7: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค!

์ปดํฌ๋„ŒํŠธ ๊ฒฝ๋กœ๊ฐ€ ๋‹จ์ˆœํ™”๋˜์–ด ๋” ๋ช…ํ™•ํ•˜๊ณ  ์ผ๊ด€๋œ ๊ตฌ์กฐ๋ฅผ ๊ฐ€์ง€๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

src/app/(crew)/crew/detail/[id]/_components/create-gathering/create-gathering-form/create-gathering-form.stories.tsx (1)

17-17: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ธฐ๋Šฅ ์ค‘์‹ฌ์œผ๋กœ ๋ถ„๋ฅ˜ํ•œ ๊ฒƒ์ด ๋” ์ง๊ด€์ ์ž…๋‹ˆ๋‹ค. ๋‹ค๋ฅธ gathering ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค๋„ ๋™์ผํ•œ ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ์ด๋™ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๋‹ค๋ฅธ gathering ๊ด€๋ จ ์Šคํ† ๋ฆฌ์˜ ์ผ๊ด€์„ฑ์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์Œ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋ชจ๋“  gathering ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์ด 'gathering/' ๋„ค์ž„์ŠคํŽ˜์ด์Šค ์•„๋ž˜ ์ž˜ ์ •๋ฆฌ๋˜์–ด ์žˆ๋Š” ๊ฒƒ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค:

  • gathering/create-gathering-form
  • gathering/gathering-detail-modal
  • gathering/gathering-card
  • gathering/scheduled-gathering-card
  • gathering/writable-gathering-card-list
  • gathering/liked-gathering-card

๋‹จ, crew-gathering-list๋งŒ 'crew/' ๋„ค์ž„์ŠคํŽ˜์ด์Šค์— ์žˆ์ง€๋งŒ, ์ด๋Š” crew ์„น์…˜์˜ ํŠนํ™”๋œ ์ปดํฌ๋„ŒํŠธ์ด๋ฏ€๋กœ ํ˜„์žฌ ์œ„์น˜๊ฐ€ ์ ์ ˆํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: gathering ๊ด€๋ จ ์Šคํ† ๋ฆฌ์˜ title ๊ตฌ์กฐ ํ™•์ธ

# gathering ๊ด€๋ จ ์Šคํ† ๋ฆฌ ํŒŒ์ผ ๊ฒ€์ƒ‰
rg -l "title: ['|\"].*gathering.*['|\"]" "*.stories.tsx"

Length of output: 116


Script:

#!/bin/bash
# Search for all .stories.tsx files in the repository
fd ".stories.tsx$" 

# Then search for gathering-related story titles
rg -l "title: ['|\"].*gathering.*['|\"]" $(fd ".stories.tsx$")

Length of output: 5266


Script:

#!/bin/bash
# Get content of files containing gathering in their story titles
rg "title: ['|\"].*gathering.*['|\"]" -A 5 $(fd ".stories.tsx$")

Length of output: 7006

src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx (1)

6-6: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค! ๐Ÿ‘

์ปดํฌ๋„ŒํŠธ ์นดํ…Œ๊ณ ๋ฆฌ๋ฅผ 'gathering'์œผ๋กœ ์ด๋™์‹œํ‚จ ๊ฒƒ์ด ์ข‹์€ ํŒ๋‹จ์ด์—ˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์„ ๋” ์‰ฝ๊ฒŒ ์ฐพ์„ ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๊ณ , ์ „์ฒด์ ์ธ ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ๋ฅผ ๋” ์ง๊ด€์ ์œผ๋กœ ๋งŒ๋“ค์–ด์ค๋‹ˆ๋‹ค.

src/components/common/input/calendar-filter/calendar-filter.stories.tsx (2)

Line range hint 1-67: ์ „๋ฐ˜์ ์ธ ๊ตฌํ˜„์ด ์ž˜ ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์šฐ์ˆ˜ํ•œ ๊ตฌํ˜„ ์‚ฌํ•ญ๋“ค์ด ํ™•์ธ๋ฉ๋‹ˆ๋‹ค:

  • ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ๋ชฉ ๋ฐ์ดํ„ฐ๊ฐ€ ์ž˜ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค
  • ์ƒํƒœ ๊ด€๋ฆฌ๊ฐ€ ์ ์ ˆํžˆ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค
  • ํ”Œ๋ ˆ์ด ํ•จ์ˆ˜์—์„œ ์—๋Ÿฌ ์ฒ˜๋ฆฌ๊ฐ€ ์ž˜ ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค
  • ๋ฌธ์„œํ™”๊ฐ€ ๋ช…ํ™•ํ•˜๊ฒŒ ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค

15-15: ์ปดํฌ๋„ŒํŠธ ๊ตฌ์กฐ ๋ณ€๊ฒฝ์ด ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ ์ปดํฌ๋„ŒํŠธ์˜ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ๋ฅผ 'common/calendar'๋กœ ๋ณ€๊ฒฝํ•œ ๊ฒƒ์ด ๋” ์ง๊ด€์ ์ด๊ณ  ๋…ผ๋ฆฌ์ ์ž…๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ๊ตฌ์กฐ๋„ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๋ณ€๊ฒฝ๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค:

โœ… Verification successful

์บ˜๋ฆฐ๋” ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๊ฒ€์ฆ ๊ฒฐ๊ณผ, ๋ชจ๋“  ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ์ปดํฌ๋„ŒํŠธ๋“ค์ด 'common/calendar' ์นดํ…Œ๊ณ ๋ฆฌ ์•„๋ž˜์— ์ผ๊ด€๋˜๊ฒŒ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค:

  • date-time-picker: common/calendar/date-time-picker
  • calendar-filter: common/calendar/calendar-filter
๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ์บ˜๋ฆฐ๋” ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ title ์†์„ฑ ํ™•์ธ

# ๋ชจ๋“  ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ์—์„œ calendar ๊ด€๋ จ title ๊ฒ€์ƒ‰
rg "title.*calendar" -g "*.stories.tsx"

Length of output: 276

src/app/(crew)/crew/detail/[id]/_components/rating-display.stories.tsx (3)

6-6: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์ด ์ผ๊ด€์„ฑ์žˆ๊ฒŒ ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ ์ œ๋ชฉ์ด 'crew/crew-rating-display'๋กœ ๋ณ€๊ฒฝ๋˜์–ด ๋‹ค๋ฅธ ์ปดํฌ๋„ŒํŠธ๋“ค๊ณผ ์ผ๊ด€๋œ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜์„ ๋”ฐ๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.


Line range hint 21-25: Template ํ•จ์ˆ˜์˜ ํƒ€์ž… ์•ˆ์ •์„ฑ์ด ํ–ฅ์ƒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

StoryFn<RatingDisplayStoryProps> ํƒ€์ž…์„ ๋ช…์‹œ์ ์œผ๋กœ ์ •์˜ํ•˜์—ฌ ํƒ€์ž… ์•ˆ์ •์„ฑ์ด ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” TypeScript์˜ ์žฅ์ ์„ ์ž˜ ํ™œ์šฉํ•œ ์ข‹์€ ์‚ฌ๋ก€์ž…๋‹ˆ๋‹ค.

-const Template = function Template(args) {
+const Template: StoryFn<RatingDisplayStoryProps> = function Template(args) {

6-6: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์˜ ์ผ๊ด€์„ฑ ๊ฒ€์ฆ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ์Šคํ† ๋ฆฌ ํŒŒ์ผ๋“ค๋„ ๊ฐ™์€ ๋„ค์ด๋ฐ ํŒจํ„ด์„ ๋”ฐ๋ฅด๋Š”์ง€ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ์ปดํฌ๋„ŒํŠธ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ์˜ title ํŒจํ„ด์„ ๋ถ„์„ํ•œ ๊ฒฐ๊ณผ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ผ๊ด€๋œ ๊ตฌ์กฐ๋ฅผ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค:

  • ๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ: common/* (์˜ˆ: common/button/button, common/input/text-input)
  • ํฌ๋ฃจ ๊ด€๋ จ: crew/* (์˜ˆ: crew/crew-profiles, crew/crew-detail)
  • ๋ชจ์ž„ ๊ด€๋ จ: gathering/* (์˜ˆ: gathering/gathering-card, gathering/scheduled-gathering-card)
  • ์ธ์ฆ ๊ด€๋ จ: auth/* (์˜ˆ: auth/login-form, auth/signup-form)
  • ๋ ˆ์ด์•„์›ƒ ๊ด€๋ จ: layout/* (์˜ˆ: layout/header, layout/tabs)
  • ๋ฆฌ๋ทฐ ๊ด€๋ จ: review/* (์˜ˆ: review/review-modal, review/review-card-list)

ํ•ด๋‹น ํŒŒ์ผ์˜ crew/crew-rating-display ๋„ค์ด๋ฐ๋„ ์ด ํŒจํ„ด์„ ์ •ํ™•ํžˆ ๋”ฐ๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ์˜ title ์†์„ฑ ๊ฒ€์‚ฌ

# crew ๊ด€๋ จ ์Šคํ† ๋ฆฌ ํŒŒ์ผ๋“ค์˜ title ํŒจํ„ด ํ™•์ธ
rg -l "title:" . | grep "stories\.[jt]sx\?$" | xargs rg "title: '.*?'"

Length of output: 7018

src/components/gathering-list/liked-list-presenter.tsx (1)

21-21: ๋ถˆํ•„์š”ํ•œ pageSize ์ œ๊ฑฐ ์Šน์ธ

์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” pageSize ์†์„ฑ์„ ์ œ๊ฑฐํ•œ ๊ฒƒ์€ ์ฝ”๋“œ ์ •๋ฆฌ ์ธก๋ฉด์—์„œ ์ ์ ˆํ•œ ๋ณ€๊ฒฝ์ž…๋‹ˆ๋‹ค. ์ปดํฌ๋„ŒํŠธ ๋กœ์ง์—์„œ ํ•ด๋‹น ์†์„ฑ์ด ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฏ€๋กœ, ์ด๋Š” ์ฝ”๋“œ๋ฅผ ๋” ๊น”๋”ํ•˜๊ฒŒ ๋งŒ๋“ญ๋‹ˆ๋‹ค.

src/app/(crew)/crew/detail/[id]/edit/page.tsx (1)

Line range hint 38-52: ์ปดํฌ๋„ŒํŠธ ๊ตฌ์กฐ๊ฐ€ ์ž˜ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค

์ปดํฌ๋„ŒํŠธ์˜ ๊ตฌ์กฐ์™€ props ์ „๋‹ฌ์ด ๊น”๋”ํ•˜๊ฒŒ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. CreateCrewForm์„ ์žฌ์‚ฌ์šฉํ•˜์—ฌ edit ๋ชจ๋“œ๋กœ ํ™œ์šฉํ•˜๋Š” ๋ฐฉ์‹์ด ํšจ์œจ์ ์ž…๋‹ˆ๋‹ค.

src/components/common/review-list/review-card-list.stories.tsx (1)

9-9: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์ด ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

์ปดํฌ๋„ŒํŠธ ์นดํ…Œ๊ณ ๋ฆฌ๊ฐ€ 'components/ReviewCardList'์—์„œ 'review/review-card-list'๋กœ ๋ณ€๊ฒฝ๋˜์–ด ๋” ๋ช…ํ™•ํ•˜๊ณ  ์ฒด๊ณ„์ ์ธ ๊ตฌ์กฐ๋ฅผ ๊ฐ€์ง€๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

src/app/(crew)/my-page/_components/profile-card/container.tsx (2)

Line range hint 6-10: ๋ถˆํ•„์š”ํ•œ import ์ œ๊ฑฐ์— ๋Œ€ํ•œ ์Šน์ธ

fetchUpdatedUser import๋ฅผ ์ œ๊ฑฐํ•˜๊ณ  useUser ์ฟผ๋ฆฌ์˜ refetch ๊ธฐ๋Šฅ์„ ํ™œ์šฉํ•˜๋Š” ๊ฒƒ์ด ๋” ํšจ์œจ์ ์ธ ์ ‘๊ทผ ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค. ์บ์‹œ ๊ด€๋ฆฌ๊ฐ€ ๋” ์ž˜ ์ด๋ฃจ์–ด์งˆ ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋ฉ๋‹ˆ๋‹ค.


49-49: ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋ฐฉ์‹ ๊ฐœ์„ ์— ๋Œ€ํ•œ ์Šน์ธ

alert ๋Œ€์‹  toast ์•Œ๋ฆผ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์œผ๋กœ ๋ณ€๊ฒฝ๋œ ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. ์ „์ฒด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋ฐฉ์‹๊ณผ ์ผ๊ด€์„ฑ์ด ์œ ์ง€๋˜๋ฉฐ, ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์ด ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

src/components/gathering-list/crew-gathering-list.stories.tsx (1)

56-56: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์˜ ์ผ๊ด€์„ฑ ๊ฐœ์„ ์ด ํ™•์ธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ๊ฐ€ ๋” ๋ช…ํ™•ํ•˜๊ณ  ์ผ๊ด€๋œ ํ˜•ํƒœ๋กœ ๋ณ€๊ฒฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

src/components/common/gathering-card/gathering-card.stories.tsx (1)

8-8: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ ๊ฐœ์„ ์ด ์ž˜ ์ด๋ฃจ์–ด์กŒ์Šต๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ ๊ณ„์ธต ๊ตฌ์กฐ๊ฐ€ 'gathering' ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ๋ช…ํ™•ํ•˜๊ฒŒ ์ •๋ฆฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ ์ผ๊ด€์„ฑ์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์Œ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ๊ฐ€ ์ผ๊ด€๋˜๊ฒŒ ์ •๋ฆฌ๋˜์—ˆ์Œ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ฒ€์ฆ ๊ฒฐ๊ณผ, ๋ชจ๋“  ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์ด ์ƒˆ๋กœ์šด ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜์„ ๋”ฐ๋ฅด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค:

  • ๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ: common/*
  • ๋ชจ์ž„ ๊ด€๋ จ: gathering/*
  • ํฌ๋ฃจ ๊ด€๋ จ: crew/*
  • ๋ ˆ์ด์•„์›ƒ: layout/*
  • ์ธ์ฆ: auth/*
  • ๋ฆฌ๋ทฐ: review/*

'gathering-card' ์ปดํฌ๋„ŒํŠธ์˜ ํƒ€์ดํ‹€ ๋ณ€๊ฒฝ์ด ์ „์ฒด ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์กฐ์™€ ์ž˜ ์–ด์šธ๋ฆฝ๋‹ˆ๋‹ค.

๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# ์Šคํ† ๋ฆฌ๋ถ ํƒ€์ดํ‹€ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜ ์ผ๊ด€์„ฑ ํ™•์ธ
rg -t typescript "title: ['\"](Components|gathering)/" "src/**/*.stories.tsx"

Length of output: 116


Script:

#!/bin/bash
# Search for title patterns in stories files without file type restriction
rg "title: ['\"].*['\"]" "src/**/*.stories.tsx"

Length of output: 114


Script:

#!/bin/bash
# First find story files then search for title patterns
fd ".stories.tsx$" | xargs rg "title: ['\"].*['\"]"

Length of output: 6861

src/components/common/input/file-input-wrap/file-input/index.tsx (1)

Line range hint 1-6: ์ž„ํฌํŠธ ๊ตฌ๋ฌธ์ด ๊น”๋”ํ•˜๊ฒŒ ์ •๋ฆฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

๋ถˆํ•„์š”ํ•œ ํƒ€์ž… ์ž„ํฌํŠธ๊ฐ€ ์ œ๊ฑฐ๋˜์–ด ์ฝ”๋“œ๊ฐ€ ๋” ๊ฐ„๊ฒฐํ•ด์กŒ์Šต๋‹ˆ๋‹ค.

src/app/(crew)/page.tsx (2)

Line range hint 5-15: ์ž„ํฌํŠธ ๊ตฌ์กฐ๊ฐ€ ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

์ผ๋ฐ˜์ ์ธ Loader์™€ Skeleton ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ œ๊ฑฐํ•˜๊ณ  ํŠนํ™”๋œ CrewSkeletonList๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ๋” ๋ช…ํ™•ํ•˜๊ณ  ์ผ๊ด€๋œ ์ ‘๊ทผ ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.


Line range hint 123-127: ๋กœ๋”ฉ ์ƒํƒœ ์ฒ˜๋ฆฌ๊ฐ€ ๊ฐœ์„ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

CrewSkeletonList๋ฅผ ์‚ฌ์šฉํ•œ ๋กœ๋”ฉ ์ƒํƒœ ์ฒ˜๋ฆฌ๊ฐ€ ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์„ ํ–ฅ์ƒ์‹œํ‚ต๋‹ˆ๋‹ค. ๋ฌดํ•œ ์Šคํฌ๋กค๊ณผ ์ดˆ๊ธฐ ๋กœ๋”ฉ ์ƒํƒœ๋ฅผ ๋ชจ๋‘ ์ ์ ˆํ•˜๊ฒŒ ์ฒ˜๋ฆฌํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

src/components/gathering-list/gathering-list.stories.tsx (2)

Line range hint 31-206: ํ…Œ์ŠคํŠธ ๋ฐ์ดํ„ฐ๊ฐ€ ์ž˜ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์–‘ํ•œ ์ผ€์ด์Šค(1๊ฐœ, 3๊ฐœ, 5๊ฐœ, 7๊ฐœ ์•„์ดํ…œ)์— ๋Œ€ํ•œ ํ…Œ์ŠคํŠธ ๋ฐ์ดํ„ฐ๊ฐ€ ์ฒด๊ณ„์ ์œผ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์–ด ์ปดํฌ๋„ŒํŠธ์˜ ๋‹ค์–‘ํ•œ ์ƒํƒœ๋ฅผ ํšจ๊ณผ์ ์œผ๋กœ ํ…Œ์ŠคํŠธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


10-10: ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์˜ ์ผ๊ด€์„ฑ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์ปดํฌ๋„ŒํŠธ title์„ 'gathering/liked-gathering-card'๋กœ ๋ณ€๊ฒฝํ•œ ๊ฒƒ์€ ์ ์ ˆํ•ด ๋ณด์ž…๋‹ˆ๋‹ค. ๋‹ค๋งŒ, ๋‹ค๋ฅธ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ๊ณผ ์ผ๊ด€์„ฑ์ด ์œ ์ง€๋˜๋Š”์ง€ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•˜์—ฌ ๋‹ค๋ฅธ gathering ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์„ ํ™•์ธํ•ด๋ณด์„ธ์š”:

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ๊ตฌ์„ฑ์ด ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋ชจ๋“  gathering ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ๋“ค์˜ ์Šคํ† ๋ฆฌ๋ถ title์ด 'gathering/' ๋„ค์ž„์ŠคํŽ˜์ด์Šค ์•„๋ž˜ ์ผ๊ด€๋˜๊ฒŒ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Œ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค:

  • gathering/liked-gathering-card
  • gathering/gathering-card
  • gathering/scheduled-gathering-card
  • gathering/writable-gathering-card-list
  • gathering/create-gathering-form
๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ๋‹ค๋ฅธ gathering ๊ด€๋ จ ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ title ๊ตฌ์„ฑ ํ™•์ธ

# gathering ๊ด€๋ จ ์Šคํ† ๋ฆฌ ํŒŒ์ผ ๊ฒ€์ƒ‰
rg -l "title.*gathering" "src/**/*.stories.tsx"

# title ์„ค์ • ํŒจํ„ด ํ™•์ธ
rg "title:.*gathering.*'" "src/**/*.stories.tsx"

Length of output: 225


Script:

#!/bin/bash
# Let's try a different approach to find story files and their titles

# First, find all story files
fd ".stories.tsx$"

# Then check for title patterns in these files
rg "title:" --type tsx

Length of output: 2359


Script:

#!/bin/bash
# Let's check the content of gathering related story files we found

# Check content of the gathering-list stories
cat src/components/gathering-list/gathering-list.stories.tsx

# Check content of gathering card stories
cat src/components/common/gathering-card/gathering-card.stories.tsx
cat src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx
cat src/components/common/writable-gathering-card/writable-gathering-card-list.stories.tsx

# Check content of gathering form stories
cat src/app/\(crew\)/crew/detail/\[id\]/_components/create-gathering/create-gathering-form/create-gathering-form.stories.tsx

Length of output: 14911

src/stories/Configure.mdx (2)

36-36: ๋ฉ”ํƒ€ ํƒ€์ดํ‹€์ด ์ ์ ˆํ•˜๊ฒŒ ๋ณ€๊ฒฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ ๋ฌธ์„œ์˜ ์ œ๋ชฉ์ด ํ”„๋กœ์ ํŠธ์˜ ์„ฑ๊ฒฉ์„ ์ž˜ ๋ฐ˜์˜ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.


Line range hint 217-371: ์Šคํƒ€์ผ๋ง์ด ์ž˜ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜• ๋””์ž์ธ์ด ์ ์ ˆํ•˜๊ฒŒ ๊ตฌํ˜„๋˜์–ด ์žˆ์œผ๋ฉฐ, ์Šคํƒ€์ผ ๊ตฌ์กฐ๊ฐ€ ์ž˜ ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

Comment on lines 17 to 19
const { register } = useForm<FormValues>();
const [textReview, setTextReview] = useState<string>('');
const [point, setPoint] = useState<number>(0);
Copy link

Choose a reason for hiding this comment

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

๐Ÿ› ๏ธ Refactor suggestion

ํผ ์ƒํƒœ ๊ด€๋ฆฌ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค

ํ˜„์žฌ React Hook Form์˜ ์ƒํƒœ์™€ ๋กœ์ปฌ ์ƒํƒœ(useState)๋ฅผ ๋™์‹œ์— ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด ์ƒํƒœ ๋™๊ธฐํ™” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. React Hook Form์˜ ๊ธฐ๋Šฅ์„ ์ตœ๋Œ€ํ•œ ํ™œ์šฉํ•˜์—ฌ ์ƒํƒœ ๊ด€๋ฆฌ๋ฅผ ๋‹จ์ˆœํ™”ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

- const { register } = useForm<FormValues>();
- const [textReview, setTextReview] = useState<string>('');
- const [point, setPoint] = useState<number>(0);
+ const { register, watch, setValue } = useForm<FormValues>({
+   defaultValues: {
+     reviewText: '',
+     score: 0
+   }
+ });
๐Ÿ“ Committable suggestion

โ€ผ๏ธ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const { register } = useForm<FormValues>();
const [textReview, setTextReview] = useState<string>('');
const [point, setPoint] = useState<number>(0);
const { register, watch, setValue } = useForm<FormValues>({
defaultValues: {
reviewText: '',
score: 0
}
});

export default function EditCrewPage() {
const { id } = useParams();
const { data, isLoading, error } = useGetCrewDetailQuery(Number(id));
const { data, isLoading } = useGetCrewDetailQuery(Number(id));
Copy link

Choose a reason for hiding this comment

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

โš ๏ธ Potential issue

์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋กœ์ง์ด ๋ˆ„๋ฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค

useGetCrewDetailQuery์—์„œ ์—๋Ÿฌ ์ฒ˜๋ฆฌ๊ฐ€ ์ œ๊ฑฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ fetching ์‹คํŒจ ์‹œ ์‚ฌ์šฉ์ž์—๊ฒŒ ์ ์ ˆํ•œ ํ”ผ๋“œ๋ฐฑ์„ ์ œ๊ณตํ•˜์ง€ ๋ชปํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์—๋Ÿฌ ์ฒ˜๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

- const { data, isLoading } = useGetCrewDetailQuery(Number(id));
+ const { data, isLoading, error } = useGetCrewDetailQuery(Number(id));
+ if (error) {
+   return (
+     <div className="fixed inset-0 flex items-center justify-center">
+       <p className="text-red-500">๋ฐ์ดํ„ฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๋Š”๋ฐ ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ์‹œ๋„ํ•ด ์ฃผ์„ธ์š”.</p>
+     </div>
+   );
+ }
๐Ÿ“ Committable suggestion

โ€ผ๏ธ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const { data, isLoading } = useGetCrewDetailQuery(Number(id));
const { data, isLoading, error } = useGetCrewDetailQuery(Number(id));
if (error) {
return (
<div className="fixed inset-0 flex items-center justify-center">
<p className="text-red-500">๋ฐ์ดํ„ฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๋Š”๋ฐ ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ์‹œ๋„ํ•ด ์ฃผ์„ธ์š”.</p>
</div>
);
}

Copy link
Contributor

@ChoYenii ChoYenii left a comment

Choose a reason for hiding this comment

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

์ˆ˜๊ณ  ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค!

@minkyung5x5 minkyung5x5 self-assigned this Nov 21, 2024
Copy link
Contributor

@yulrang yulrang left a comment

Choose a reason for hiding this comment

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

์ˆ˜๊ณ ํ•˜์…จ์Šต๋‹ˆ๋‹ค~!

@github-actions
Copy link

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

๐Ÿงน Outside diff range and nitpick comments (3)
src/stories/Configure.mdx (3)

Line range hint 93-155: ๊ธฐ๋Šฅ ์„ค๋ช…์— ์‚ฌ์šฉ๋œ ์ด๋ฏธ์ง€ ์—์…‹ ์—…๋ฐ์ดํŠธ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

ํ˜„์žฌ Storybook ๊ธฐ๋ณธ ์ด๋ฏธ์ง€(Docs, Share, Testing ๋“ฑ)๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”๋ฐ, ์ด๋Š” ์„ค๋ช…ํ•˜๋Š” ๊ธฐ๋Šฅ(ํฌ๋ฃจ ์ฐพ๊ธฐ, ๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž… ๋“ฑ)๊ณผ ์ผ์น˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์‹ค์ œ ์„œ๋น„์Šค์˜ ์Šคํฌ๋ฆฐ์ƒท์ด๋‚˜ ๊ด€๋ จ ์ด๋ฏธ์ง€๋กœ ๊ต์ฒดํ•˜๋Š” ๊ฒƒ์ด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.


Line range hint 189-211: ์™ธ๋ถ€ ๋งํฌ์— ๋ณด์•ˆ ์†์„ฑ ์ถ”๊ฐ€๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์™ธ๋ถ€ ๋งํฌ(target="_blank" ์‚ฌ์šฉ)์— rel="noopener noreferrer"๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ๋ณด์•ˆ์„ ๊ฐ•ํ™”ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

-  target="_blank"
+  target="_blank" rel="noopener noreferrer"

Line range hint 249-271: ์Šคํƒ€์ผ ์ฝ”๋“œ์˜ ์žฌ์‚ฌ์šฉ์„ฑ ๊ฐœ์„ ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

๋ฐ˜๋ณต๋˜๋Š” ๊ฐ’๋“ค(์ƒ‰์ƒ, ์—ฌ๋ฐฑ ๋“ฑ)์„ CSS ์ปค์Šคํ…€ ํ”„๋กœํผํ‹ฐ๋กœ ๋ถ„๋ฆฌํ•˜๋ฉด ์œ ์ง€๋ณด์ˆ˜๊ฐ€ ๋”์šฑ ์šฉ์ดํ•ด์งˆ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

:root {
  --sb-spacing-lg: 48px;
  --sb-spacing-md: 32px;
  --sb-spacing-sm: 20px;
  --sb-bg-color: #EEF3F8;
}
๐Ÿ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 49dc708 and e2d9d01.

๐Ÿ“’ Files selected for processing (10)
  • src/app/(crew)/crew/detail/[id]/_components/detail-crew.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/gathering-detail-modal/gathering-detail-modal.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/page.tsx (1 hunks)
  • src/components/common/crew-list/crew-card.tsx (0 hunks)
  • src/components/common/gathering-card/presenter.tsx (0 hunks)
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx (0 hunks)
  • src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx (1 hunks)
  • src/components/gathering-list/liked-list-presenter.tsx (1 hunks)
  • src/stories/Configure.mdx (11 hunks)
  • src/types/gathering-data.d.ts (0 hunks)
๐Ÿ’ค Files with no reviewable changes (4)
  • src/components/common/crew-list/crew-card.tsx
  • src/components/common/gathering-card/presenter.tsx
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx
  • src/types/gathering-data.d.ts
๐Ÿšง Files skipped from review as they are similar to previous changes (5)
  • src/app/(crew)/crew/detail/[id]/_components/detail-crew.stories.tsx
  • src/app/(crew)/crew/detail/[id]/_components/gathering-detail-modal/gathering-detail-modal.stories.tsx
  • src/app/(crew)/crew/detail/[id]/page.tsx
  • src/components/common/gathering-card/scheduled-gathering-card/scheduled-gathering.stories.tsx
  • src/components/gathering-list/liked-list-presenter.tsx
๐Ÿ”‡ Additional comments (2)
src/stories/Configure.mdx (2)

36-41: ๋ฉ”ํƒ€ ์ •๋ณด์™€ ์ œ๋ชฉ์ด ์ ์ ˆํ•˜๊ฒŒ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์Šคํ† ๋ฆฌ๋ถ์˜ ๋ฉ”ํƒ€ ์ •๋ณด๊ฐ€ ํ”„๋กœ์ ํŠธ์˜ ์„ฑ๊ฒฉ์— ๋งž๊ฒŒ ์ž˜ ์ˆ˜์ •๋˜์—ˆ์œผ๋ฉฐ, ๊ฐœ๋ฐœ ๋ฐฉ๋ฒ•๋ก ์— ๋Œ€ํ•œ ์„ค๋ช…์ด ๋ช…ํ™•ํ•ฉ๋‹ˆ๋‹ค.


73-80: ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ๊ฐ€ ๋ช…ํ™•ํ•˜๊ฒŒ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์„œ๋น„์Šค์˜ ๋ชฉ์ ๊ณผ ์ฃผ์š” ๊ธฐ๋Šฅ์ด ๊ฐ„๋‹จ๋ช…๋ฃŒํ•˜๊ฒŒ ์„ค๋ช…๋˜์–ด ์žˆ์œผ๋ฉฐ, ๋ฐฐํฌ๋œ ์‚ฌ์ดํŠธ๋กœ์˜ ๋งํฌ๊ฐ€ ์ ์ ˆํžˆ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

Comment on lines 46 to 50
src="https://github.com/user-attachments/assets/95d20bd3-5fe5-461c-b5d7-50fbe006bf42"
alt="component based development"
width={0}
height={0}
style={{ width: '100%', height: 'auto' }}
style={{ width: '100%', height: '250px', borderRadius: '15px'}}
Copy link

Choose a reason for hiding this comment

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

๐Ÿ› ๏ธ Refactor suggestion

์ด๋ฏธ์ง€ URL์˜ ์•ˆ์ •์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

GitHub user-attachments URL์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ์žฅ๊ธฐ์ ์ธ ๊ด€์ ์—์„œ ๋ถˆ์•ˆ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ๋‚ด๋ถ€ assets ํด๋”๋‚˜ ์•ˆ์ •์ ์ธ CDN ์‚ฌ์šฉ์„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”.

Also applies to: 61-62

@github-actions
Copy link

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: 0

๐Ÿงน Outside diff range and nitpick comments (1)
.storybook/preview.tsx (1)

36-42: ์Šคํ† ๋ฆฌ ์นดํ…Œ๊ณ ๋ฆฌ ๊ตฌ์กฐ ๊ฐœ์„ ์„ ์ œ์•ˆ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

ํ˜„์žฌ ๊ตฌ์กฐ์— ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐœ์„ ์‚ฌํ•ญ์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  1. 'common' ์นดํ…Œ๊ณ ๋ฆฌ์— ๋” ๋งŽ์€ ๊ธฐ๋ณธ UI ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ ๊ฒ€ํ†  (์˜ˆ: select, checkbox, radio ๋“ฑ)
  2. 'layout' ํ•˜์œ„์— ๊ตฌ์ฒด์ ์ธ ์ปดํฌ๋„ŒํŠธ ๋ช…์‹œ
  3. ๊ธฐ๋Šฅ๋ณ„ ๊ทธ๋ฃนํ•‘ ์ถ”๊ฐ€ (์˜ˆ: 'navigation', 'form' ๋“ฑ)

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•ด๋ณด์‹œ๋Š” ๊ฑด ์–ด๋–จ๊นŒ์š”?:

 order: [
   'common',
-  ['button', 'calendar', 'image', 'input'],
+  ['button', 'calendar', 'checkbox', 'image', 'input', 'radio', 'select'],
   'layout',
+  ['header', 'footer', 'sidebar'],
+  'navigation',
+  ['menu', 'tabs'],
   'auth',
   'crew',
   'gathering',
   'review',
+  'form',
+  ['input-group', 'validation'],
 ],
๐Ÿ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between e2d9d01 and 295f713.

๐Ÿ“’ Files selected for processing (9)
  • .storybook/preview.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/_components/rating-display.stories.tsx (1 hunks)
  • src/app/(crew)/crew/detail/[id]/edit/page.tsx (1 hunks)
  • src/app/(crew)/my-page/_components/profile-card/container.tsx (1 hunks)
  • src/app/(crew)/page.tsx (1 hunks)
  • src/components/common/crew-list/crew-card.tsx (0 hunks)
  • src/components/common/gathering-card/presenter.tsx (0 hunks)
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx (0 hunks)
  • src/components/common/review-list/review-card-list.stories.tsx (1 hunks)
๐Ÿ’ค Files with no reviewable changes (3)
  • src/components/common/crew-list/crew-card.tsx
  • src/components/common/gathering-card/presenter.tsx
  • src/components/common/gathering-card/scheduled-gathering-card/presenter.tsx
๐Ÿšง Files skipped from review as they are similar to previous changes (5)
  • src/app/(crew)/crew/detail/[id]/_components/rating-display.stories.tsx
  • src/app/(crew)/crew/detail/[id]/edit/page.tsx
  • src/app/(crew)/my-page/_components/profile-card/container.tsx
  • src/app/(crew)/page.tsx
  • src/components/common/review-list/review-card-list.stories.tsx
๐Ÿ”‡ Additional comments (2)
.storybook/preview.tsx (2)

32-45: ์Šคํ† ๋ฆฌ ์ •๋ ฌ ๊ตฌ์„ฑ์ด ์ž˜ ๊ตฌํ˜„๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

์•ŒํŒŒ๋ฒณ์ˆœ ์ •๋ ฌ๊ณผ ํ•จ๊ป˜ ์ปค์Šคํ…€ ์นดํ…Œ๊ณ ๋ฆฌ ์ˆœ์„œ๋ฅผ ์ง€์ •ํ•œ ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.


34-34: ์•ŒํŒŒ๋ฒณ ์ •๋ ฌ ๋ฐฉ์‹ ์ ์šฉ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

method: 'alphabetical' ์„ค์ •์ด ๊ฐ ์นดํ…Œ๊ณ ๋ฆฌ ๋‚ด๋ถ€์˜ ์ปดํฌ๋„ŒํŠธ๋“ค์— ์ œ๋Œ€๋กœ ์ ์šฉ๋˜๋Š”์ง€ ํ™•์ธํ•ด์ฃผ์„ธ์š”.

โœ… Verification successful

์Šคํ† ๋ฆฌ๋ถ ์ปดํฌ๋„ŒํŠธ์˜ ์•ŒํŒŒ๋ฒณ ์ •๋ ฌ์ด ์ •์ƒ์ ์œผ๋กœ ์ ์šฉ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

์‹คํ–‰ ๊ฒฐ๊ณผ๋ฅผ ๋ณด๋ฉด ๋ชจ๋“  ์Šคํ† ๋ฆฌ ํŒŒ์ผ๋“ค์ด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์•ŒํŒŒ๋ฒณ์ˆœ์œผ๋กœ ์ž˜ ์ •๋ ฌ๋˜์–ด ์žˆ์Œ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

  • (auth) ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ (login, signup)
  • (crew) ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ (category, create, detail)
  • common ์ปดํฌ๋„ŒํŠธ (button, input, profile ๋“ฑ)
  • gathering-list ์ปดํฌ๋„ŒํŠธ
  • my-page ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ

๋”ฐ๋ผ์„œ .storybook/preview.tsx์˜ method: 'alphabetical' ์„ค์ •์ด ์˜๋„ํ•œ ๋Œ€๋กœ ์ž˜ ์ž‘๋™ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: ์Šคํ† ๋ฆฌ๋ถ ํŒŒ์ผ๋“ค์˜ ์‹ค์ œ ๊ตฌ์กฐ์™€ ์ •๋ ฌ ์„ค์ •์ด ์ผ์น˜ํ•˜๋Š”์ง€ ํ™•์ธ

# ์Šคํ† ๋ฆฌ ํŒŒ์ผ๋“ค์˜ ํ˜„์žฌ ๊ตฌ์กฐ ํ™•์ธ
fd -e stories.tsx -e stories.ts | sort

Length of output: 2324

@github-actions
Copy link

@github-actions
Copy link

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

๐Ÿงน Outside diff range and nitpick comments (3)
src/stories/Configure.mdx (3)

7-8: ์ด๋ฏธ์ง€ import ๊ตฌ๋ฌธ์˜ ๋„ค์ด๋ฐ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

Cbd์™€ Pattern ๋ณ€์ˆ˜๋ช…์ด ๋„ˆ๋ฌด ์ถ•์•ฝ๋˜์–ด ์žˆ์–ด ์˜๋ฏธ ์ „๋‹ฌ์ด ๋ช…ํ™•ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋” ๋ช…ํ™•ํ•œ ์ด๋ฆ„์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

-import Cbd from './assets/development-cbd.png';
-import Pattern from './assets/development-pattern.png';
+import ComponentBasedDevelopment from './assets/development-cbd.png';
+import ContainerPresentationalPattern from './assets/development-pattern.png';

75-82: ๋งˆํฌ๋‹ค์šด ๋ฌธ๋ฒ•๊ณผ HTML์ด ํ˜ผ์šฉ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

์ผ๊ด€์„ฑ ์žˆ๋Š” ๋ฌธ์„œ ๊ตฌ์กฐ๋ฅผ ์œ„ํ•ด ํ•˜๋‚˜์˜ ์Šคํƒ€์ผ๋กœ ํ†ต์ผํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

์ „์ฒด์ ์œผ๋กœ HTML ๋งˆํฌ์—…์œผ๋กœ ํ†ต์ผํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

- # Crew Crew
- ### ์•ฝ์†ํ•˜๊ณ  ๋งŒ๋‚˜๋Š” ์šด๋™ ์†Œ๋ชจ์ž„ ์›น์‚ฌ์ดํŠธ
+ <h1>Crew Crew</h1>
+ <h3>์•ฝ์†ํ•˜๊ณ  ๋งŒ๋‚˜๋Š” ์šด๋™ ์†Œ๋ชจ์ž„ ์›น์‚ฌ์ดํŠธ</h3>

273-274: ์†Œ์…œ ๋งํฌ ๊ทธ๋ฆฌ๋“œ ๋ ˆ์ด์•„์›ƒ ๊ฐœ์„ ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

ํ˜„์žฌ ๊ณ ์ •๋œ 2์—ด ๊ทธ๋ฆฌ๋“œ๋Š” ๋ฐ˜์‘ํ˜• ๋””์ž์ธ์—์„œ ์œ ์—ฐํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด auto-fit์„ ์‚ฌ์šฉํ•˜์—ฌ ๋” ์œ ์—ฐํ•œ ๋ ˆ์ด์•„์›ƒ์„ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

.sb-socials {
  display: grid;
- grid-template-columns: repeat(2, 1fr);
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
๐Ÿ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 295f713 and 41e2723.

โ›” Files ignored due to path filters (2)
  • src/stories/assets/development-cbd.png is excluded by !**/*.png
  • src/stories/assets/development-pattern.png is excluded by !**/*.png
๐Ÿ“’ Files selected for processing (2)
  • src/components/my-page/reviewable-gatherings/reviewable-gathering-card.stories.tsx (1 hunks)
  • src/stories/Configure.mdx (12 hunks)
โœ… Files skipped from review due to trivial changes (1)
  • src/components/my-page/reviewable-gatherings/reviewable-gathering-card.stories.tsx
๐Ÿ”‡ Additional comments (1)
src/stories/Configure.mdx (1)

80-80: ์™ธ๋ถ€ ๋งํฌ์˜ ์œ ํšจ์„ฑ ๊ฒ€์ฆ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

ํ”„๋กœ์ ํŠธ URL๊ณผ ์†Œ์…œ ๋ฏธ๋””์–ด ๋งํฌ๋“ค์ด ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์ž‘๋™ํ•˜๋Š”์ง€ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

Also applies to: 194-194, 211-211

โœ… Verification successful

๋ชจ๋“  ์™ธ๋ถ€ ๋งํฌ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•จ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ฒ€์ฆ๋œ URL ๋ชฉ๋ก:

  • crewcrew.vercel.app
  • github.com/CodeitFESI4-Team1/Team-1-Codeit
  • youtube.com/watch?v=8qhzx36ljDM
๐Ÿ Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that all external URLs are accessible

echo "Checking external URLs..."
urls=(
  "https://crewcrew.vercel.app/"
  "https://github.com/CodeitFESI4-Team1/Team-1-Codeit"
  "https://www.youtube.com/watch?v=8qhzx36ljDM"
)

for url in "${urls[@]}"; do
  if curl --output /dev/null --silent --head --fail "$url"; then
    echo "โœ“ $url is accessible"
  else
    echo "โœ— $url is not accessible"
  fi
done

Length of output: 921

Comment on lines +48 to +52
src={Cbd}
alt="component based development"
width={0}
height={0}
style={{ width: '100%', height: 'auto' }}
style={{ width: '100%', height: '250px', borderRadius: '15px'}}
Copy link

Choose a reason for hiding this comment

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

๐Ÿ› ๏ธ Refactor suggestion

์ด๋ฏธ์ง€ ์ ‘๊ทผ์„ฑ ๊ฐœ์„ ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

width์™€ height๋ฅผ 0์œผ๋กœ ์„ค์ •ํ•˜๊ณ  style๋กœ ํฌ๊ธฐ๋ฅผ ์ง€์ •ํ•˜๋Š” ๊ฒƒ์€ ์ ‘๊ทผ์„ฑ ์ธก๋ฉด์—์„œ ์ข‹์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•˜๋Š” ๊ฒƒ์„ ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค:

<Image
  src={Cbd}
  alt="component based development"
- width={0}
- height={0}
- style={{ width: '100%', height: '250px', borderRadius: '15px'}}
+ width={500}
+ height={250}
+ style={{ width: '100%', borderRadius: '15px'}}
/>
๐Ÿ“ Committable suggestion

โ€ผ๏ธ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
src={Cbd}
alt="component based development"
width={0}
height={0}
style={{ width: '100%', height: 'auto' }}
style={{ width: '100%', height: '250px', borderRadius: '15px'}}
src={Cbd}
alt="component based development"
width={500}
height={250}
style={{ width: '100%', borderRadius: '15px'}}

@minkyung5x5 minkyung5x5 merged commit 060ee0d into develop Nov 22, 2024
3 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.

์Šคํ† ๋ฆฌ๋ถ ํด๋”, ๋„ค์ด๋ฐ ์ˆ˜์ •

4 participants