Skip to content

Conversation

@fecapark
Copy link
Collaborator

@fecapark fecapark commented Jan 24, 2025

1️⃣ 어떤 작업을 했나요? (Summary)

기존 코드에 영향을 미치지 않는 변경사항

기존 코드에 영향을 미치는 변경사항

  • Chaeri 작업 내용

semanticColorCategories에 있는 애들이 semanticColorPalette에 존재하지 않아 getSemanticColorPalette에서 색상을 찾을 수 없어 나타난 오류였습니다. semanticColorPalette와 semanticColorCategories를 맞춰주었어요!

  • Feca 작업 내용

AllThemeColors 컴포넌트에서 문서 전용 컴포넌트인 ColorPalette, ColorItem 을 렌더링하고 있었어요.
따라서 AllThemeColors 의 스토리에서 해당 컴포넌트들을 렌더링할 수 없는 문제가 있었던 거고요.

그래서 기존 AllThemeColors 에서 가져오던 시맨틱 컬러셋들을 render props 패턴으로 사용처로 렌더링 작업을 위임하고,
문서를 렌더링하는 사용처에서 ColorPalette, ColorItem 을 사용해서 렌더링 작업을 해주도록 변경했어요.

살짝 아쉬운거는 AllThemeColors 스토리가 이렇게 보인다는 점...? 근데 애초에 이게 정상 작동이니 큰 문제는 없을듯해요

스크린샷 2025-01-24 20 06 25

버그 픽스

2️⃣ 알아두시면 좋아요!

3️⃣ 추후 작업

4️⃣ 체크리스트 (Checklist)

  • main 브랜치의 최신 코드를 pull 받았나요?

@fecapark fecapark force-pushed the fix/#175-color-docs-fix branch from 5251371 to d2fac76 Compare January 24, 2025 11:13
Copy link
Member

@seocylucky seocylucky left a comment

Choose a reason for hiding this comment

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

해당 오류난 부분에서 이제 문제는 없는거 같으니 어푸룹하고 머지할게여!

@seocylucky seocylucky merged commit 1af729e into develop Jan 25, 2025
@seocylucky seocylucky deleted the fix/#175-color-docs-fix branch January 25, 2025 11:37
@seocylucky seocylucky changed the title Fix/#175 color docs fix bug: color.stories.ts semanticColorCategories 수정 및 AllThemeColors 에러 해결 작업 Jan 25, 2025
@seocylucky seocylucky added bug Something isn't working fix labels Jan 25, 2025
seocylucky added a commit that referenced this pull request Jan 25, 2025
* feat: LoadingIndicator.style 생성

* feat: LoadingIndicatorProps 타입 생성

* feat: LoadingIndicator 컴포넌트 구현

* docs: LoadingIndicator 문서 작성

* chore: components/index.ts에 LoadingIndicator export문 추가

* Fix/#175 color docs fix (#176)

* fix: semanticColorCategories 수정

* fix: semanticColorCategories 수정

* 🐛 AllThemeColors 컴포넌트가 스토리에 문서 전용 컴포넌트 렌더링하던 문제 수정

* fix: semanticColorCategories  snackbar 오타 수정

---------

Co-authored-by: seocylucky <[email protected]>

* chore: update version v2.0.1 (#177)

---------

Co-authored-by: nijuy <[email protected]>
Co-authored-by: Sanghyeok Park <[email protected]>
fecapark added a commit that referenced this pull request Jan 28, 2025
* fix: semanticColorCategories 수정

* fix: semanticColorCategories 수정

* 🐛 AllThemeColors 컴포넌트가 스토리에 문서 전용 컴포넌트 렌더링하던 문제 수정

* fix: semanticColorCategories  snackbar 오타 수정

---------

Co-authored-by: seocylucky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: color.stories.ts semanticColorCategories 수정 및 AllThemeColors 에러 해결 작업

3 participants