-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: 비회원이 회원전용 기능에 접근 시 로그인 페이지로 유도하는 Alert 추가 (#95)
* fix: 에러 수정 - 포스트 수정 시 원본 이미지가 보이지 않는 문제 - 포스트 작성, 수정 시 채널 포스트 리스트 refetch * Feat: 포스트 수정, 삭제 중 이탈 시 Alert 표시 * Fix: 게시글 수정 시 포스트가 복제되는 문제 * Feat: 비회원 Alert 메세지 상수 저장 * Refactor: Alert 컴포넌트 onChangeOpen 선택 속성 변경, 메세지 가운데 정렬 * Refactor: 재사용을 위한 알림 타입 분리 * Feat: 비회원이 글 작성, 팔로우, 좋아요, 댓글, 디엠 기능 클릭 시 로그인 페이지로 유도하는 Alert(confirm모드) 추가 * Fix: 비회원으로 글 작성 시도할 때 Tab 이전 위치로 돌아가도록 설정 * Refactor: Alert 기본 메세지 글자 크기 증가, useResize 추가하여 내부에서 자체적으로 디폴트 값 scale하도록 변경 --------- Co-authored-by: Jaewoong Hwang <[email protected]>
- Loading branch information
1 parent
d8583fa
commit c79eed8
Showing
11 changed files
with
205 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const NON_AUTH_USER = { | ||
ADD_POST: '비회원은 글 작성이 불가능합니다.', | ||
FOLLOW: '비회원은 팔로우가 불가능합니다.', | ||
MESSAGE: '비회원은 메세지 보내기가 불가능합니다.', | ||
LIKE: '비회원은 좋아요가 불가능합니다.', | ||
COMMENT: '비회원은 댓글 달기가 불가능합니다.', | ||
LOGIN: '로그인 페이지로 이동하시겠습니까?', | ||
}; | ||
|
||
export default NON_AUTH_USER; |
This file contains 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
Oops, something went wrong.