feat(platform): 전역 Toast 알림 컴포넌트 도입#94
Merged
Merged
Conversation
초안 저장·구성원 초대·승인 권한 토글·승인 요청 등 주요 액션이 TODO(backend)만 실행하고 시각적 피드백이 없어 실제로 처리됐는지 알 수 없었다. Zustand 기반 toastStore와 ToastViewport를 추가하고 AppLayout에 마운트해, 위 액션들에 짧은 성공 토스트를 붙였다. role="status"로 스크린리더에도 알림이 전달되고 3초 후 자동으로 사라진다. Closes #89
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.
개요
초안 저장, 구성원 초대, 승인 권한 토글, 승인 요청 등 주요 액션이 TODO(backend)만 실행하고 시각적 피드백이 전혀 없어 사용자가 액션이 처리됐는지 알 수 없었다.
변경 사항
toastStore.ts신규: Zustand 기반,showToast(message)로 토스트 추가, 3초 후 자동 제거ToastViewport.tsx/.module.css신규:role="status" aria-live="polite", 개별 닫기 버튼,AppLayout에 마운트SettingsPage(승인 권한 토글, 구성원 초대),CaseDetailPage(초안 저장, 승인 요청),ReviewWorkPage/CreateWorkPage(초안 저장)완료 조건
Toast컴포넌트 + 트리거 훅/스토어검증
npm run lintnpm run test(전체 119개 통과)npm run buildCloses #89