-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] 투표 옵션에 이미지, 코드블럭 추가 #68
Conversation
- image mock data 추가 - 버튼으로 태그 변경
…d-plus # Conflicts: # __mocks__/data/voteOption.ts # src/components/common/TopicCard/SelectOption/SelectOption.tsx # src/components/common/TopicCard/TopicCard.stories.tsx # src/components/common/TopicCard/TopicCard.tsx # src/components/topic/TopicDetailMain/TopicDetailMain.tsx
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.
오오 점점 완성된 가는거 보니깐 좋네요!!
이번 UI 하면서 재미있었을거 같아요!!
import theme from '@src/styles/theme'; | ||
|
||
export const CodeEditor = styled(TextAreaCodeEditor)` | ||
${theme.font.code} |
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.
스타일이 제대로 적용된건가요?? 속성이 정의가 되지 않고 값만 들어가 있는 거 같아요!
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.
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.
|
||
export interface CodeEditorProps extends TextareaCodeEditorProps { | ||
value: string; | ||
language: Languages; |
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.
코드 에디터에 language 는 어떻게 사용하는건가요?
아직 제대로 적용이 안된건가요?
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.
정상 적용되고 있는데 storybook에 제대로 된 인자를 안넣어서 혼란을 드린 것 같네요.
관련 storybook 업데이트 했습니다!
</S.Info> | ||
<S.Container> | ||
<S.SelectButton $result={result} $selected={selected} onClick={handleClick}> | ||
{result && <S.ProgressBar className="progress" $rate={rate} $selected={selected} />} |
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.
해당 클래스컴포넌트에 progress 클래스 가 있는데 해당 부분 style 이 없는거 같은데 혹시 넣으신 의도가 궁금해요!
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.
SelectButton
내에서 hover
시 .progress
의 background-color
를 조정하는 로직이 있습니다!
@@ -7,7 +7,7 @@ import VoteOption from '@src/types/VoteOption'; | |||
|
|||
import Icon from '../Icon'; | |||
import SelectOption from './SelectOption'; | |||
import * as S from './TopicCard.style'; | |||
import * as S from './TopicCard.styles'; |
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.
ㅋㅋㅋ 굿굿굿!! 👍👍👍😁
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.
맞아요 만들면서 너무 재밌었던 것 같아요 ㅋㅋㅋ
리뷰에 답변 남기면서 몇가지는 반영했습니다!
확인 한 번 부탁드려요 👍🏼
import theme from '@src/styles/theme'; | ||
|
||
export const CodeEditor = styled(TextAreaCodeEditor)` | ||
${theme.font.code} |
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.
|
||
export interface CodeEditorProps extends TextareaCodeEditorProps { | ||
value: string; | ||
language: Languages; |
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.
정상 적용되고 있는데 storybook에 제대로 된 인자를 안넣어서 혼란을 드린 것 같네요.
관련 storybook 업데이트 했습니다!
</S.Info> | ||
<S.Container> | ||
<S.SelectButton $result={result} $selected={selected} onClick={handleClick}> | ||
{result && <S.ProgressBar className="progress" $rate={rate} $selected={selected} />} |
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.
SelectButton
내에서 hover
시 .progress
의 background-color
를 조정하는 로직이 있습니다!
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.
CodeEditor 부분만 확인 부탁드립니다!
확인하시고 현우님 판단하에 처리하시면 괜찮을거 같아요!
나머지는 완벽합니다!! 👍👍👍
import theme from '@src/styles/theme'; | ||
|
||
export const CodeEditor = styled(TextAreaCodeEditor)` | ||
${theme.font.code} |
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.
@KIMSEUNGGYU 에디터에도 같이 쓸 생각으로 만든 거긴 합니다! |
412abb1
to
b1142f0
Compare
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.
후,,,, 되게 스타일이 이상하게 적용되고 있었네요...
이런 식으로 하위에 적용하니 되긴 하네요..! |
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.
현우님 완벽합니다!!
정말 수고하셨어요~~
여태 일하면서 작업하시다니 대단합니다!! 👍👍👍
close #53
💡 개요
📝 작업 내용
🔗 참고자료