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

Make LinkButton Component Responsive #51

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

sounmind
Copy link
Member

@sounmind sounmind commented Jun 15, 2024

Checklist before merging

  • Link an issue with the pull request
  • Ensure no errors or warnings on the browser console
  • Avoid additional major pushes after approval (if necessary, request a new review)

@sounmind sounmind linked an issue Jun 15, 2024 that may be closed by this pull request
@sounmind sounmind force-pushed the 50-make-link-button-responsive branch 2 times, most recently from 7690543 to af34646 Compare June 16, 2024 00:49
@sounmind sounmind changed the base branch from main to 56-bug-fix-passing-wrong-attributes-to-linkbutton-component-in-header-component June 16, 2024 00:50
@sounmind sounmind changed the title WIP Make LinkButton Component Responsive Jun 16, 2024
@sounmind sounmind marked this pull request as ready for review June 16, 2024 00:50
@sounmind sounmind requested a review from a team as a code owner June 16, 2024 00:50
@sounmind sounmind force-pushed the 50-make-link-button-responsive branch from af34646 to d2dde32 Compare June 16, 2024 00:54
components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
Base automatically changed from 56-bug-fix-passing-wrong-attributes-to-linkbutton-component-in-header-component to main June 16, 2024 22:53
Copy link
Contributor

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

Robust하게 컴포넌트 API를 디자인 해주셔서 감사합니다. 몇 가지 제안을 코멘트로 남겼습니다.

components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
components/link-button.js Outdated Show resolved Hide resolved
@sounmind sounmind force-pushed the 50-make-link-button-responsive branch from d2dde32 to 4a58b5c Compare June 21, 2024 03:36
@sounmind sounmind requested a review from DaleSeo June 21, 2024 03:36
@sounmind sounmind mentioned this pull request Jun 21, 2024
3 tasks
Copy link
Contributor

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

피드백 반영해주셔서 감사합니다!

@sounmind sounmind force-pushed the 50-make-link-button-responsive branch from 2b87fb9 to 9aa8f1f Compare June 22, 2024 15:41
Comment on lines +53 to +54
<ds-button-link href="#join-instruction-container" size="small" variant="ghost">참여방법 안내</ds-button-link>
<ds-button-link href="https://discord.gg/43UkheRV" size="small" variant="secondary">디스코드 참여하기</ds-button-link>
Copy link
Member Author

@sounmind sounmind Jun 22, 2024

Choose a reason for hiding this comment

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

@SamTheKorean header 컴포넌트 내부에서 button link 컴포넌트를 사용하고 있습니다. 그런데 button link의 사용법에 변경이 발생하면(지금처럼 이름이 변경되거나 전달해야 하는 attribute가 달라졌을 경우), HTML 파일에서뿐만 아니라 header 안에서도 변경을 해야 합니다. 이런 컴포넌트 사용이 많아질수록 하나를 변경했을 때, 같이 변경해야 하는 지점이 많아집니다. 이는 미래에 유지보수가 힘들어질 수 있는 신호이기도 합니다. 이것은 정말 문제가 맞을지? 맞다면 어떻게 해결할 수 있을지? 천천히 생각해보아요!

cc. @DaleStudy/website

@sounmind sounmind mentioned this pull request Jun 22, 2024
9 tasks
@sounmind sounmind merged commit ac28b7f into main Jun 22, 2024
@sounmind sounmind deleted the 50-make-link-button-responsive branch June 22, 2024 15:51
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.

Make Link Button Responsive
3 participants