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

My page skeleton/#102 #103

Merged
merged 7 commits into from
May 16, 2024
Merged

My page skeleton/#102 #103

merged 7 commits into from
May 16, 2024

Conversation

gahyuun
Copy link
Member

@gahyuun gahyuun commented May 14, 2024

๐Ÿ“Œ ์ž‘์—… ๋‚ด์šฉ

๊ตฌํ˜„ ๋‚ด์šฉ ๋ฐ ์ž‘์—… ํ–ˆ๋˜ ๋‚ด์—ญ

  • ์ง€๋‚œ๋ฒˆ์— ์ž‘์—…ํ•˜์ง€ ๋ชปํ–ˆ๋˜ ๋งˆ์ดํŽ˜์ด์ง€ ์Šค์ผˆ๋ ˆํ†ค ์ž‘์—…ํ–ˆ์Šต๋‹ˆ๋‹ค!
    ์Šค์ผˆ๋ ˆํ†ค์ด ์–ด์ƒ‰ํ•˜์ง€ ์•Š์„๊นŒ ๊ฑฑ์ •ํ–ˆ๋Š”๋ฐ ๊ดœ์ฐฎ์€ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค
แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2024-05-14 แ„‹แ…ฉแ„’แ…ฎ 2 19 13

๐Ÿค” ๊ณ ๋ฏผ ํ–ˆ๋˜ ๋ถ€๋ถ„

  • headerInfo ๊ฐ€ skeleton , taken lecture์—์„œ ๋‘˜ ๋‹ค ์‚ฌ์šฉ์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค utils์— constants๋ผ๋Š” ํŒŒ์ผ์„ ๋งŒ๋“ค๊นŒ ๊ณ ๋ฏผ์„ ํ–ˆ์—ˆ์ง€๋งŒ, ui component์—์„œ๋งŒ ์‚ฌ์šฉ๋  ๋ณ€์ˆ˜๋ผ๊ณ  ํŒ๋‹จ๋˜์–ด์„œ ui ํด๋” ๋‚ด taken lecture ํด๋”์— ์œ„์น˜์‹œ์ผฐ์Šต๋‹ˆ๋‹ค.

@gahyuun gahyuun self-assigned this May 14, 2024
Copy link

seonghunYang
seonghunYang previously approved these changes May 15, 2024
Copy link
Collaborator

@seonghunYang seonghunYang left a comment

Choose a reason for hiding this comment

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

  • ์ˆ˜๊ณ ํ•˜์…จ์Šต๋‹ˆ๋‹ค
  • ์‚ฌ์ง„์œผ๋กœ ๋ดค์„ ๋•Œ ์ข‹์•„ ๋ณด์ด๋„ค์š”

yougyung
yougyung previously approved these changes May 15, 2024
Copy link
Member

@yougyung yougyung left a comment

Choose a reason for hiding this comment

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

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

Copy link
Member

Choose a reason for hiding this comment

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

ํŒŒ์ผ ๋ช…์ด ๊ธฐ์กด ๋„ค์ด๋ฐ๊ณผ ์กฐ๊ธˆ ๋‹ค๋ฅธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค ํ†ต์ผ์ด ํ•„์š”ํ•  ๊ฒƒ ๊ฐ™์•„์š”

Copy link
Member Author

Choose a reason for hiding this comment

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

๊ธฐ์กด ๋„ค์ด๋ฐ์ด ์–ด๋–ค ๊ฑฐ ๋ง์”€ํ•˜์‹œ๋Š” ์ง€ ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ๋‚˜์š”?

Copy link
Member

Choose a reason for hiding this comment

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

taken-lecture.skeleton.tsx ํ˜•์‹์„ ์˜๋ฏธํ•˜๋Š” ๊ฒƒ ์ž…๋‹ˆ๋‹ค

Copy link
Member Author

Choose a reason for hiding this comment

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

์•„ํ•˜ ๋‹ค๋ฅธ ๋ถ„๋“ค์€ taken-lecture.skeleton.tsx ํ˜•์‹์œผ๋กœ ํ•˜์…จ๋„ค์š”! ์ด์ œ ๋ดค์Šต๋‹ˆ๋‹ค ํ˜น์‹œ ๊ทธ๋ ‡๋‹ค๋ฉด .skeleton.tsx๋กœ ๋„ค์ด๋ฐ์„ ์ง€์œผ์‹  ์ด์œ ๊ฐ€ ์žˆ์œผ์‹ค๊นŒ์š”?? skeleton์€ atom ๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ์ธ๋ฐ .business.ts๋‚˜ .type.ts ์ฒ˜๋Ÿผ ๋„ค์ด๋ฐ์„ ์ง€์„ ํ•„์š”๊ฐ€ ์žˆ๋‚˜ ์‹ถ๋„ค์š”! ์ €ํฌ๊ฐ€ result.dialog.tsx๋กœ ๋„ค์ด๋ฐ์„ ์ง“์ง€ ์•Š๊ณ  result-dialog.tsx ๋กœ ์ง“๋Š” ๊ฒƒ์ฒ˜๋Ÿผ์š”!

Copy link
Member

Choose a reason for hiding this comment

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

์ €๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ๋„ค์ด๋ฐ์€ ์ €ํฌ ํŒ€ ์•ˆ์—์„œ๋งŒ ํ•ฉ์˜๋˜๋ฉด ๋˜๋Š” ๋ถ€๋ถ„์ด๋ผ๊ณ  ์ƒ๊ฐ์„ ํ•˜๋Š”๋ฐ์š”. ์ œ๊ฐ€ skeleton์„ ๊ฐœ๋ฐœํ•  ๋‹น์‹œ์—๋Š” ์ด๋ฏธ ํ•ด๋‹น ๋„ค์ด๋ฐ์œผ๋กœ ์‚ฌ์šฉ๋˜๊ณ  ์žˆ์—ˆ์œผ๋ฉฐ, ํ•ด๋‹น ๋„ค์ด๋ฐ ๋ณ„๋„๋กœ ๋ถ€์ž์—ฐ์Šค๋Ÿฝ๋‹ค๋Š” ์ƒ๊ฐ์„ ํ•˜์ง€ ์•Š์•„์„œ ์ €๋„ ๋™์ผํ•˜๊ฒŒ ์‚ฌ์šฉํ•œ ๊ฒƒ์œผ๋กœ ๊ธฐ์–ต์ด ๋‚ฉ๋‹ˆ๋‹ค. ํ•ด์„œ ์„ฑํ›ˆ ์„ ๋ฐฐ์˜ ์˜๊ฒฌ๋„ ๊ถ๊ธˆํ•˜๋„ค์š”.

์ œ๊ฐ€ ๋ถ€์ž์—ฐ์Šค๋Ÿฝ๋‹ค๊ณ  ์ƒ๊ฐํ•˜์ง€ ์•Š์•˜๋˜ ์ด์œ ๋Š” taken-lecture์˜ skeleton์„ ํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๊ฐ€ ํ‘œํ˜„ํ•˜๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. taken-lecture์˜ storybook์„ taken-lecture.storiesํ‘œ๊ธฐ๋ฒ•์œผ๋กœ ์ž‘์„ฑํ•˜๋“ฏ taken-lecture์— ๋Œ€ํ•œ skeleton component๋ผ๊ณ  ์ƒ๊ฐํ•ด์„œ ํ•ด๋‹น ๋„ค์ด๋ฐ์ด ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ์™€๋‹ฟ์•˜๋˜ ๊ฒƒ ๊ฐ™๋„ค์š”.

result-dialog.tsx์€ result์˜ dialog๋กœ์„œ์˜ ์˜๋ฏธ๋ณด๋‹ค๋Š” content๋ฅผ ๋‹ด๋‹นํ•˜๋Š” component์ด๊ธฐ ๋•Œ๋ฌธ์— ๋™์ผํ•œ ๋Œ€์ƒ์œผ๋กœ ๋ณด๊ธฐ๋Š” ์–ด๋ ต๋‹ค๋Š” ์ƒ๊ฐ์ด ๋“œ๋Š”๋ฐ, ์–ด๋–ป๊ฒŒ ์ƒ๊ฐํ•˜์‹œ๋‚˜์š”?

Copy link
Member Author

Choose a reason for hiding this comment

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

์ €๋Š” skeleton์„ ๋‹จ์ˆœํžˆ ์ปดํฌ๋„ŒํŠธ๋กœ๋งŒ ๋ณด๊ณ  , ์–ธ๋‹ˆ๋Š” skeleton์„ storybook, business, command ์ฒ˜๋Ÿผ ์–ด๋–ค ๊ฒƒ์„ ํ‘œํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์ข…๋ฅ˜๋‚˜ ๊ธฐ๋Šฅ์ด๋ผ๊ณ  ์ƒ๊ฐํ–ˆ๋˜ ๊ฒƒ ๊ฐ™๋„ค์š”!

dialog๊ฐ€ dialog ์ž์ฒด์˜ ์—ญํ• ์€ ๊ฐ•ํ•˜์ง€ ์•Š์€๋ฐ ์ด์— ๋น„ํ•ด skeleton์€ skeleton ์ž์ฒด ์—ญํ• ์ด ๊ฐ•ํ•˜๋‹ค๋Š” ๋ง์”€ ์ €๋„ ๋™์˜ํ•ฉ๋‹ˆ๋‹ค! ๊ทธ๋Ÿฌํ•œ ์ด์œ ๋กœ .skeleton.tsx๋ฅผ ์‚ฌ์šฉํ•  ๊ฑฐ๋ผ๋ฉด atom ํด๋”๊ฐ€ ์•„๋‹Œ util ํด๋”๊ฐ€ ์ข€ ๋” ์ ํ•ฉํ•˜์ง€ ์•Š์„๊นŒํ•˜๋„ค์š” ์ด์— ๋Œ€ํ•ด์„œ๋Š” ํ˜น์‹œ ์–ด๋–ป๊ฒŒ ์ƒ๊ฐํ•˜์‹œ๋‚˜์š”?

Copy link
Member

Choose a reason for hiding this comment

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

๊ธฐ์กด์˜ Skeleton atom component๊ฐ€ util ํด๋”๋กœ์˜ ์ด๋™์„ ํ†ตํ•ด์„œ ๋„๊ตฌ์  ์ฐจ์›์˜ ์˜๋ฏธ๋ฅผ ๋” ๊ฐ•ํ•˜๊ฒŒ ๋‚˜ํƒ€๋‚ผ ์ˆ˜ ์žˆ๋Š” ๊ฒƒ ๊ฐ™๋‹ค๋Š” ์ƒ๊ฐ์ด ๋“œ๋„ค์š”. ์ข‹์Šต๋‹ˆ๋‹ค.

Copy link
Member Author

Choose a reason for hiding this comment

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

638ecf1
๋ฐ˜์˜ํ–ˆ์Šต๋‹ˆ๋‹ค

@gahyuun gahyuun dismissed stale reviews from yougyung and seonghunYang via 638ecf1 May 15, 2024 11:49
Copy link

Copy link

Copy link
Collaborator

@seonghunYang seonghunYang left a comment

Choose a reason for hiding this comment

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

  • skeleton์ด atom์— ์กด์žฌํ•˜๋Š” ๋ทฐ ์ปดํฌ๋„ŒํŠธ๋ผ๋ฉด, ๊ฐ€ํ˜„์ด๊ฐ€ ๋งํ•œ ๊ฒƒ์ฒ˜๋Ÿผ taken-lecture-skeleton์ด ์ ํ•ฉํ•ด ๋ณด์ž…๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ util์— ์กด์žฌํ•œ๋‹ค๋ฉด, taken-lecture.skeleton์ด ๋” ์ž์—ฐ์Šค๋Ÿฌ์šธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ๋‘ ๋ถ„์ด์„œ ์˜๋ฏธ์ ์œผ๋กœ ๋ฌธ์ œ๊ฐ€ ์—†๋„๋ก ์ž˜ ํ•ฉ์˜ํ•˜์‹  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

@gahyuun gahyuun merged commit f645e23 into main May 16, 2024
3 checks passed
@gahyuun gahyuun deleted the my-page-skeleton/#102 branch May 16, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants