-
Notifications
You must be signed in to change notification settings - Fork 5
[REFACTOR] 상세페이지 하단 토스트 & 작성 중지 경고 모달 추가 #195
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
Merged
Merged
Conversation
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
…oast를 통해 상태 관리하는 방식으로 변경)
싸기 + 포털로 우측 하단에 ToastViewport 렌더
sunhwaaRj
approved these changes
Aug 21, 2025
Collaborator
sunhwaaRj
left a comment
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.
오른쪽 하단에 토스트 발생하는 것 좋은 것 같아요!! 외부 툴 변경 안되도록 하는 것도 반영해주셔서 감사합니다
jinj00oo
approved these changes
Aug 21, 2025
Collaborator
jinj00oo
left a comment
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.
토스트 너무 고급스러워요..!! 그리고 작성 중단 경고 모달 뜨는 것도 좋은 것 같아요 수고하셨습니다!!
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.
체크리스트
📌 관련 이슈번호
✅ Key Changes
(1) 상세페이지 하단 토스트 UI를 구현했습니다.
src/components/Toast폴더 내ToastProvider.tsx토스트 노출/삭제 트리거 및 노출시간 등 각종 상태를 관리하는 컴포넌트ToastViewport.tsx토스트 UI 구현 컴포넌트 (createPortal을 사용하여 다른 DOM 계층과 분리된 컴포넌트로 화면에 나타날 수 있게 구현했습니다.)(2) 해당 토스트 UI를 실제 상세페이지 내부에 적용했습니다.
src/components/DetailView폴더 내DetailTitle.tsx): 제목 글자 수 20자를 넘길 경우 "최대 20자까지 작성할 수 있습니다." 토스트가 뜨게 했습니다. + 20자 이상은 작성이 안 되도록 막았습니다.ExternalDetail.tsx,WorkspaceExternalDetail.tsx): 1) 외부 툴 선택 안 했을 때 "반드시 외부 툴을 설정해야 합니다." 토스트, 2) 외부 툴 초기 설정 후 외부 항목 누르면 "외부 툴은 생성 시 한번만 설정 가능합니다." 토스트가 뜨게 했습니다.(3) 상세페이지 작성 중 화면 바깥으로 나가려고 할 때(다른 경로로 라우팅될 때): 라우팅을 블로킹하고 작성 중지 경고 모달이 뜨도록 했습니다.
📸 스크린샷 or 실행영상
(1) 제목 글자수 20자 제한 토스트
20.mov
(2) 토스트 여러개 쌓일 때 (스택)
default.mov
(3) 외부 툴 선택 안 했을 때 토스트
default.mov
(4) 외부 툴 변경 제한 토스트
default.mov
(5) 작성 중지 경고 모달
default.mov
💬 To Reviewers