-
Notifications
You must be signed in to change notification settings - Fork 3
[X팀] 프론트엔드 코드리뷰용 PR #18
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
base: review
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
|
안녕하세요, 프론트엔드 멘토 최다인입니다. |
src/contexts/CursorContext.tsx
Outdated
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.
@da-in CursorContext랑 themeContext(fontWeight, fontSize, theme)를 따로 분리하여 관리중인데 이걸 유지 및 합치는게 나을까 아니면 font, cursor, theme로 분리하는게 좋을까 고민중입니다.
처음에 분리한 의도는 iframe에만 적용되는 themeContext, content(웹사이트)에도 적용되야 하는 CursorContext로 분리한거였는데 이제는 둘 다 iframe, content에 적용되고 있어서 고민입니다
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.
@da-in 지금 다크모드를 invert 형식으로해서 구현했는데 색이 다채로운 사이트에서 눈이 아플 우려가 있습니다 근데 css Important
강주입은 모든 사이트가 형태가 너무 다양해서 어려운 상황입니다. 혹시 이럴때는 다크모드와 글씨 크기 변경, 글씨체 변경을 어떻게 하는것이 좋은지 궁금합니다!
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.
일반적인 다크모드란 색상을 반전시키는 것이 아닌 밝은 테마와 어두운 테마를 제공하는 것이므로, 라이트모드에 대한 invert 만으로는 구현이 쉽지 않을 것 같네요.
-
일단 지금 구현 방식을 최대한 유지하는 방향으로는
invert값을 조절하거나, css filterbrightnesscontrast로 눈이 아프지 않을 정도로 조절하도록 하는 방법이 있을 것 같습니다. 대비 정도를 조정할 수 있는 기능을 제공하는 것 또한 방법입니다. -
사용성을 고려하였을 때 다크모드에 대한 색상을 정해두어 주입하는 방식이 가장 정석일 듯 한데. 이 부분이 사이트마다 구조 차이로 적용이 어려운 부분이었을까요. (important를 통한 적용이 사이트에 따라 모든것을 컨트롤 할 수는 없겠지만 어느정도 도움이 될 수 있어보입니다.)
2번 방식과 같이 모든 사이트에 대한 범용적인 개발이 어렵다면 사용자가 사이트에 따라 조절할 수 있는 기능을 기획적으로 검토해보는 것 또한 좋은 방향일 것 같습니다. 고민해보시고, 2번 구현과 관련하여 구체적으로 어려웠던 부분 말씀 주시면 저도 검토해보겠습니다.
|
@da-in 지금 다크모드를 invert 형식으로해서 구현했는데 색이 다채로운 사이트에서 눈이 아플 우려가 있습니다 근데 css Important |
[feat]service 로직 구현
[feat] image button 띄우기 로직 구현
feat: 내 정보 설정
[feat]food category 찾기
feat: 단축키 및 익스텐션 아이콘 클릭 명령어 수정
[Fix] sidebar 구현
[Design] 메뉴바에 취소 버튼 모두 추가
[feat] info loading 추가
Release: Sync deployment version with main
[fix]cosmetic component header 수정
🧐 체크리스트
yarn build또는npm run build실행 후 정상적으로 동작하는지 확인했나요?yarn test)yarn lint및yarn prettify실행 후 문제가 없나요?feat:,fix:,chore:등 커밋 컨벤션을 따르고 있나요?README.md또는 관련 문서를 업데이트했나요?