-
Notifications
You must be signed in to change notification settings - Fork 3
Fix/191/storybook img #192
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
Conversation
Walkthrough์ด ํ ๋ฆฌํ์คํธ๋ Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CrewDetailPage
participant RootLayout
participant MyPage
User->>CrewDetailPage: ์์ฒญ
CrewDetailPage->>RootLayout: ๋ ์ด์์ ๊ตฌ์ฑ
RootLayout->>MyPage: ํ์ด์ง ๋ด์ฉ ๋ ๋๋ง
MyPage->>User: ํ์ด์ง ํ์
Possibly related PRs
Suggested labels
Suggested reviewers
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)
warning [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options. 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? ๐ชง TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
๐storybook: https://67206cc6ff9d7a05a3528ff8-ispojtpfrw.chromatic.com/ |
There was a problem hiding this 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 (2)
src/app/(crew)/crew/detail/[id]/page.tsx (1)
Line range hint
19-45: overflow ์ฒ๋ฆฌ ์ต์ ํ๋ฅผ ์ํ ์ ์ํ์ฌ ๊ตฌํ๋ overflow ์ฒ๋ฆฌ๋ ์๋ํ์ง๋ง, ์ฑ๋ฅ ์ต์ ํ๋ฅผ ์ํด ๋ค์๊ณผ ๊ฐ์ ๊ฐ์ ์ ๊ณ ๋ คํด๋ณด์ธ์:
- ๊ฐ๋ก ์คํฌ๋กค์ด ๋ฐ์ํ๋ ์ปจํ ์ด๋์
will-change: transform์์ฑ ์ถ๊ฐ- ํฐ ๋ฆฌ์คํธ์ ๊ฒฝ์ฐ ๊ฐ์ํ(virtualization) ๋์ ๊ณ ๋ ค
- <div className="mx-auto w-full max-w-full overflow-x-hidden"> + <div className="mx-auto w-full max-w-full overflow-x-hidden will-change-transform">src/stories/Configure.mdx (1)
85-85: ์ด๋ฏธ์ง ์คํ์ผ๋ง์ ์ผ๊ด์ฑ ๊ฐ์ ์ด ํ์ํฉ๋๋ค๋๋ถ๋ถ์ ์ด๋ฏธ์ง๋
objectPosition: 'top'์ ์ฌ์ฉํ์ง๋ง, gathering ์ด๋ฏธ์ง๋งobjectFit: 'contain'์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. ์ผ๊ด๋ ์ฌ์ฉ์ ๊ฒฝํ์ ์ํด ์คํ์ผ๋ง์ ํต์ผํ๋ ๊ฒ์ด ์ข๊ฒ ์ต๋๋ค.- style={{ width: '100%', height: '250px', objectFit: 'contain', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}} + style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}Also applies to: 97-97, 109-109, 121-121, 133-133, 145-145
๐ Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
โ Files ignored due to path filters (19)
src/stories/assets/1-find-crew.pngis excluded by!**/*.pngsrc/stories/assets/2-login.pngis excluded by!**/*.pngsrc/stories/assets/3-crew.pngis excluded by!**/*.pngsrc/stories/assets/4-gathering.pngis excluded by!**/*.pngsrc/stories/assets/5-my-crew.pngis excluded by!**/*.pngsrc/stories/assets/6-my-page.pngis excluded by!**/*.pngsrc/stories/assets/accessibility.pngis excluded by!**/*.pngsrc/stories/assets/accessibility.svgis excluded by!**/*.svgsrc/stories/assets/addon-library.pngis excluded by!**/*.pngsrc/stories/assets/assets.pngis excluded by!**/*.pngsrc/stories/assets/context.pngis excluded by!**/*.pngsrc/stories/assets/discord.svgis excluded by!**/*.svgsrc/stories/assets/docs.pngis excluded by!**/*.pngsrc/stories/assets/figma-plugin.pngis excluded by!**/*.pngsrc/stories/assets/share.pngis excluded by!**/*.pngsrc/stories/assets/styling.pngis excluded by!**/*.pngsrc/stories/assets/testing.pngis excluded by!**/*.pngsrc/stories/assets/theming.pngis excluded by!**/*.pngsrc/stories/assets/tutorials.svgis excluded by!**/*.svg
๐ Files selected for processing (4)
src/app/(crew)/crew/detail/[id]/page.tsx(1 hunks)src/app/(crew)/layout.tsx(1 hunks)src/app/(crew)/my-page/layout.tsx(1 hunks)src/stories/Configure.mdx(8 hunks)
๐ Additional comments (5)
src/app/(crew)/my-page/layout.tsx (1)
6-6: ์คํฌ๋กค ๋์ ๊ฐ์ ์ ์ํ ์ ์ ํ ๋ณ๊ฒฝ ํ์ธ
min-h-screen ํด๋์ค๋ฅผ ์ ๊ฑฐํ ๊ฒ์ RootLayout์ผ๋ก ์ด๋ํ์ฌ ์คํฌ๋กค ๋์์ ๊ฐ์ ํ๋ ค๋ ์๋์ ์ผ์นํฉ๋๋ค. ์ปจํ
์ด๋์ ๋ฐ์ํ ๋์์ธ๊ณผ ๊ฐ๊ฒฉ์ด ์ ์ ์ง๋์ด ์์ต๋๋ค.
RootLayout์์ min-h-screen ํด๋์ค๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ๊ตฌํ๋์๋์ง ํ์ธํ๊ธฐ ์ํด ๋ค์ ์คํฌ๋ฆฝํธ๋ฅผ ์คํํฉ๋๋ค:
โ Verification successful
์คํฌ๋กค ๋์ ๊ฐ์ ์ ์ํ ๋ณ๊ฒฝ์ด ์ฌ๋ฐ๋ฅด๊ฒ ๊ตฌํ๋์์์ ํ์ธ
min-h-screen ํด๋์ค๊ฐ src/app/(crew)/layout.tsx์ ์ฑ๊ณต์ ์ผ๋ก ๊ตฌํ๋์ด ์๋ ๊ฒ์ ํ์ธํ์ต๋๋ค. ์ด๋ PR์ ๋ชฉ์ ์ ๋ง๊ฒ ์คํฌ๋กค ๋์์ ๊ฐ์ ํ๊ธฐ ์ํ ๋ณ๊ฒฝ์ด ์ ํํ๊ฒ ์ด๋ฃจ์ด์ก์์ ๋ณด์ฌ์ค๋๋ค.
๐ Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: RootLayout์์ min-h-screen ํด๋์ค ๊ตฌํ ํ์ธ
# RootLayout ํ์ผ์์ min-h-screen ํด๋์ค ์ฌ์ฉ ํ์ธ
ast-grep --pattern 'className="$_min-h-screen$_"' src/app/(crew)/layout.tsx
Length of output: 258
Script:
#!/bin/bash
# Let's try a different approach to find the RootLayout file and check for min-h-screen class
# First, find the correct path for the layout file
fd "layout.tsx" src/app
# Then search for min-h-screen in all layout files
rg "min-h-screen" --type tsx src/app
Length of output: 266
Script:
#!/bin/bash
# Let's search for min-h-screen in all layout files without specifying file type
rg "min-h-screen" src/app/layout.tsx src/app/\(crew\)/layout.tsx
Length of output: 125
src/app/(crew)/layout.tsx (1)
12-17: ๋ ์ด์์ ๊ตฌ์กฐ ๊ฐ์ ์ด ์ ์ด๋ฃจ์ด์ก์ต๋๋ค.
์ต์์ ์์์ min-h-screen ํด๋์ค๋ฅผ ์ ์ฉํ๊ณ ์ค์ฒฉ๋ ๊ตฌ์กฐ๋ฅผ ๋จ์ํํ ๊ฒ์ด ์ ์ ํด ๋ณด์
๋๋ค. ์ด๋ ์คํฌ๋กค ๋์์ ๊ฐ์ ํ๋ ค๋ PR์ ๋ชฉ์ ๊ณผ๋ ์ ๋ถํฉํฉ๋๋ค.
์คํฌ๋กค ๋์์ด ์๋ํ ๋๋ก ์๋ํ๋์ง ํ์ธํ๊ธฐ ์ํด ๊ด๋ จ ์ปดํฌ๋ํธ๋ค์ ๊ฒ์ฌํ๊ฒ ์ต๋๋ค:
โ Verification successful
Let me verify the Header component's presenter implementation to ensure the layout changes work well with the header's sticky positioning.
๋ ์ด์์ ๊ตฌ์กฐ์ ์คํฌ๋กค ๋์์ด ์ ์ ํ๊ฒ ๊ตฌํ๋์์ต๋๋ค.
Header ์ปดํฌ๋ํธ๊ฐ sticky top-0 ํด๋์ค๋ฅผ ์ฌ์ฉํ๊ณ ์๊ณ , ๋ ์ด์์์์ min-h-screen์ด ์ ์ ํ๊ฒ ์ ์ฉ๋์ด ์์ด ์คํฌ๋กค ๋์์ ๋ฌธ์ ๊ฐ ์์ ๊ฒ์ผ๋ก ํ๋จ๋ฉ๋๋ค. Header์ ๋์ด(h-header)๋ ์ฌ๋ฐ๋ฅด๊ฒ ์ค์ ๋์ด ์์ต๋๋ค.
๐ Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: ๋ค๋ฅธ ๋ ์ด์์ ์ปดํฌ๋ํธ์์ min-h-screen ํด๋์ค ์ฌ์ฉ ๊ฒ์ฌ
# ๋ ์ด์์ ๊ด๋ จ ํ์ผ๋ค์์ min-h-screen ํด๋์ค ์ฌ์ฉ ํ์ธ
echo "๋ ์ด์์ ์ปดํฌ๋ํธ์์ min-h-screen ํด๋์ค ์ฌ์ฉ ํํฉ:"
rg -l "min-h-screen" "src/app" "src/components"
# Header ์ปดํฌ๋ํธ ๊ตฌํ ํ์ธ
echo "\nHeader ์ปดํฌ๋ํธ ๊ตฌํ ํ์ธ:"
ast-grep --pattern 'export default function Header() {
$$$
}'
Length of output: 1310
Script:
#!/bin/bash
# HeaderPresenter ์ปดํฌ๋ํธ ๊ตฌํ ํ์ธ
echo "HeaderPresenter ์ปดํฌ๋ํธ ๊ตฌํ:"
rg -A 5 "HeaderPresenter" src/components/common/header/
# ์คํฌ๋กค ๊ด๋ จ ์คํ์ผ ํ์ธ
echo "\n์คํฌ๋กค ๊ด๋ จ ์คํ์ผ:"
rg "overflow|scroll" src/app/(crew)/
Length of output: 2397
src/app/(crew)/crew/detail/[id]/page.tsx (1)
19-19: min-h-screen ํด๋์ค ์ ๊ฑฐ๊ฐ ์ ์ ํด ๋ณด์
๋๋ค.
์์ ๋ ์ด์์ ์ปดํฌ๋ํธ์์ min-h-screen์ ๊ด๋ฆฌํ๋๋ก ๋ณ๊ฒฝํ ๊ฒ์ด ์คํฌ๋กค ๋์์ ๊ฐ์ ํ๋๋ฐ ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค.
๋ ์ด์์ ๋ณ๊ฒฝ์ฌํญ์ ํ์ธํ๊ธฐ ์ํด ๋ค์ ์คํฌ๋ฆฝํธ๋ฅผ ์คํํฉ๋๋ค:
โ Verification successful
min-h-screen ํด๋์ค ์ ๊ฑฐ๊ฐ ์ ์ ํ๊ฒ ๊ฒ์ฆ๋์์ต๋๋ค.
์์ ๋ ์ด์์ ์ปดํฌ๋ํธ์ธ src/app/(crew)/layout.tsx์์ min-h-screen ํด๋์ค๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ์ ์ฉ๋์ด ์์์ ํ์ธํ์ต๋๋ค. ์ด๋ ์คํฌ๋กค ๋์ ๊ฐ์ ์ ์ํ ๋ณ๊ฒฝ์ฌํญ๊ณผ ์ผ๊ด์ฑ ์๊ฒ ๊ตฌํ๋์์ต๋๋ค.
๐ Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: ๋ ์ด์์ ์ปดํฌ๋ํธ์์ min-h-screen ํด๋์ค ์ฌ์ฉ์ ํ์ธํฉ๋๋ค.
# Test: ๋ ์ด์์ ํ์ผ์์ min-h-screen ํด๋์ค ๊ฒ์
rg "min-h-screen" "src/app/(crew)/layout.tsx"
Length of output: 80
src/stories/Configure.mdx (2)
3-8: ์ด๋ฏธ์ง ์ํฌํธ๊ฐ ์ ๊ตฌ์ฑ๋์ด ์์ต๋๋ค!
๋ฒํธ๊ฐ ๋งค๊ฒจ์ง ๋ช ํํ ๋ค์ด๋ฐ ์ปจ๋ฒค์ ์ ๋ฐ๋ฅด๊ณ ์์ด ์ ์ง๋ณด์๊ฐ ์ฉ์ดํด ๋ณด์ ๋๋ค.
169-171: ์ ๋์จ ์น์
์ ์ด๋ฏธ์ง ์คํ์ผ๋ง์ด ์ ์ ํฉ๋๋ค
๋ฉ์ธ ๊ธฐ๋ฅ์ ๋ณด์ฌ์ฃผ๋ FindCrew ์ด๋ฏธ์ง๋ฅผ ์ฌ์ฌ์ฉํ๊ณ , ๊ฐ๋จํ ์คํ์ผ๋ง์ ์ ์ฉํ ๊ฒ์ด ์ ์ ํด ๋ณด์ ๋๋ค.
ChoYenii
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์๊ณ ๋ง์ผ์ จ์ต๋ใ ใท!
๐ Issue Ticket
#191
โ๏ธ Description
โ Checklist
PR
Test
Summary by CodeRabbit
์๋ก์ด ๊ธฐ๋ฅ
๋ฒ๊ทธ ์์
CrewDetailPage,RootLayout,MyPage์ปดํฌ๋ํธ์์min-h-screenํด๋์ค๊ฐ ์ ๊ฑฐ๋์ด ๋ ์ด์์์ด ๊ฐ์ ๋์์ต๋๋ค.๋ฌธ์ํ