feat: 위젯 옵션 버튼 구현#39
Merged
Merged
Conversation
Contributor
|
좋은데요? 수업자와 학생 입장에서 두가지 경우로 분리해서 추상화시킨거 너무 좋은거 같습니다! |
ChangwooJ
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 PR 요약
WidgetContainer 컴포넌트에 위젯의 공통 스타일을 묶어서 유지보수 기능을 높였습니다.
MoreActionMenu 컴포넌트에 위젯을 수정/삭제할 수 있는 버튼을 구현하였습니다.
🎯 작업 배경 및 이유
유지보수를 위해 5개의 위젯에 공통적으로 적용되는 기본 위젯 스타일을 공통 컴포넌트로 묶을 필요가 있었습니다.
따라서 WidgetContainer 컴포넌트에 위젯 스타일을 공통으로 적용하여 유지보수 기능을 높였습니다.
수업자는 생성된 위젯을 수정하거나 삭제할 수 있지만 UI가 구현되어있지 않았습니다. 따라서 moreActionMenu 컴포넌트를 통해 more 버튼 클릭 시 수정/삭제 버튼이 표시될 수 있게 구현하였습니다.
🔗 관련 링크
💻 주요 변경 사항
WidgetContainer : StudentWidgetContainer/TeacherWidgetContainer로 구분하여 수업자 위젯에는 수정/삭제할 수 있는 버튼이 있고 학생 위젯은 읽기 전용으로 구현하였습니다.
MoreActioniMenu : 수업자가 생성한 위젯을 편집할 수 있는 옵션을 표시하고 수정/삭제할 수 있는 버튼의 UI를 구현하였습니다.
🖼️ 스크린샷 / 화면 녹화
💬 리뷰어에게
추후 디자인 업데이트를 고려해 간단하게 구현했습니다!