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

[Feature] MVP 익스텐션 패키지 기능 구현 #14

Merged
merged 19 commits into from
Jun 10, 2024
Merged

Conversation

cobocho
Copy link
Contributor

@cobocho cobocho commented Jun 8, 2024

PR Type

  • 기능 추가
  • 패키지 의존성 변경, CI/CD, 환경 설정 등

Overview

  • MVP 구현 사항에 따른 익스텐션 패키지 기능 개발
  • 패키지명을 chrome-extension에서 extension으로 변경

Additional Comment

기존에 vite + crx를 통해 개발하다가 크로스 브라우징을 지원하는 plasmo 프레임워크로 변경하였습니다.
단점으로는 vanilla extract의 번들 패키지를 적용할 방법을 아직 못찾아서 plasmo 공식문서에서 추천하는 emotion cache를 사용하였습니다.

Issue

Check List

  • 관련된 이슈를 연결하였나요?
  • 올바른 PR 컨벤션을 작성했나요?
  • 적절한 라벨을 선택했나요?
  • Assignee와 Reviewer를 설정했나요?

References

@cobocho cobocho added the 🧑‍💻 Feature 기능 개발 및 삭제 관련 사항입니다 label Jun 8, 2024
@cobocho cobocho requested a review from hin6150 June 8, 2024 14:16
Copy link
Member

@hin6150 hin6150 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 ~!

Comment on lines 47 to 92
export const SearchWindowHeader = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
position: relative;

margin-bottom: 16px;

.term-header {
display: flex;
align-items: center;
width: 100%;

img {
width: 22px;
height: 22px;
margin-right: 6px;
transform: translateY(-2px);
}

p {
font-size: 14px;
font-weight: 700;
line-height: 1.2;

&.query {
display: block;
max-width: 50%;

text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

&.tail {
margin-left: 3px;
}
}
}

button {
position: absolute;
top: 0;
right: 0;
}
`
Copy link
Member

Choose a reason for hiding this comment

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

SearchWindowHeader.styles.tsx이 별도로 파일로 있는데, 일부로 중복으로 둔건가용?

Copy link
Member

Choose a reason for hiding this comment

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

image

그리고, 해당 리스트 컴포넌트를 익스텐션이랑 웹이랑 공동으로 사용하지 않으면 좀 더 단순한 구조로 수정해도 좋을 것 같습니다 !
사용하지 않으면 추후에 제가 수정해둘게용
packages/design-system/src/components/List

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. 앗 컴포넌트 분리 이후에 스타일 제거하는걸 까먹고 있었네요 수정하겠습니다!
  2. 지금 UI 라이브러리를 번들링해서 익스텐션에도 사용할 수 있을지 확인해보고 있어서 해당 경우는 일단 놔두셔도 괜찮을 것 같습니다!

@cobocho cobocho merged commit f357660 into main Jun 10, 2024
3 checks passed
@cobocho cobocho deleted the chrome-extension branch June 10, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 Feature 기능 개발 및 삭제 관련 사항입니다
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants