-
Notifications
You must be signed in to change notification settings - Fork 0
Public view image 조회,수정 개선 및 myPage 추가 #141
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
Open
wodnd0131
wants to merge
47
commits into
develop
Choose a base branch
from
public-view-image
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
cc26155
feat : review like display
JunseoHo 427bb2e
feat : ThumbUpIcon
JunseoHo c089147
feat : Review Like Button Type
JunseoHo 48e2bb7
feat : Review User Like Function
JunseoHo ef461b1
delete : temp code
JunseoHo a68a6f5
feat : Review Like Function
JunseoHo f404c59
feat : ChatStyleReview
JunseoHo 9c9c770
feat : layout-style.ts
JunseoHo 5115a4c
feat : layout design conditions
JunseoHo b80c49c
feat : card layout
JunseoHo 18c7b16
fix : layout for review item
JunseoHo 9f41940
feat:reviewDetail image 조회
3ae1d93
feat:이미지 조회 개선
1591421
refactor:custom-button 컴포넌트 정리
295790a
refactor:custom-button interface
4574625
feat: 리뷰 수정 시 이미지 등록
7469d65
feat:이미지 조회 시 폴백 처리
b568369
refactor:조회 재시도 횟수 조정
f7c4414
refactor:asset 정리
f9bf911
refactor:css조정
27bcf2b
feat:mypage 선언
46b86a5
feat: my page 컴포넌트 생성
accddbf
refactor:my-review 컴포넌트 분리
61ed5ba
feat:mypage api 선언
d64016b
feat:mypage api 연결
e7d6300
refactor: my page 디자인 수정
9f0f576
refactor: 삭제 모달 디자인 수정
d13bc84
feat:reply 수정 버튼 개선
539b385
refactor: api-type 위치 수정 및 import 정리
93b0653
refactor:svg 정리
9dab811
refactor:미사용 import 제거
24bb055
refactor:css개선
531bb89
fix: PR Review
JunseoHo b933d2b
fix: reply overrap
JunseoHo 53a22b8
delete: temp code line
JunseoHo 045675a
fix: delete modal
JunseoHo a2f4c22
refactor: list component 파일 명칭 정리
0c2696c
refactor:custombutton 세분화
272ed26
rafactor:star 컴포넌트 optional props 적용
1ec4a84
refactor: 네이밍 등 피드백 세부 사항 반영
b8a0971
refactor: icon-loading 재정렬
692a07b
feat:constant filter,order 선언
3caffed
Merge remote-tracking branch 'origin/layout-design' into public-view-…
260bbe4
merge:layout-design
74c55f6
fix:빌드에러
840b7b2
fix:빌드에러수정
45744c4
refactor:alert 문제 수정
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| 'use client'; | ||
|
|
||
| import { Suspense } from 'react'; | ||
|
|
||
| import { useSuspenseQuery } from '@tanstack/react-query'; | ||
|
|
||
| import MyReviewList from '@/components/review/my-page/list'; | ||
| import { ReviewItemStyleProvider } from '@/contexts/style/review-item-style'; | ||
| import { ReviewListStyleProvider } from '@/contexts/style/review-list-style'; | ||
| import useReviewCanvasReady from '@/hooks/use-review-canvas-ready.ts'; | ||
| import { useDesignPropertyService } from '@/services/design-property'; | ||
| import { useConnectedShop } from '@/state/shop.ts'; | ||
|
|
||
| export default function MyReviewsPage() { | ||
| const { id } = useConnectedShop(); | ||
| const designPropertyService = useDesignPropertyService(); | ||
|
|
||
| useReviewCanvasReady('mypage'); | ||
| const designPropertyQuery = useSuspenseQuery({ | ||
| queryKey: ['design-property', id], | ||
| queryFn: () => designPropertyService.get(id), | ||
| }); | ||
|
|
||
| return ( | ||
| <main className="relative"> | ||
| <div className="p-2"> | ||
| <ReviewListStyleProvider | ||
| value={designPropertyService.convertDesignPropertyResponseToReviewListStyle(designPropertyQuery.data)} | ||
| > | ||
| <ReviewItemStyleProvider | ||
| value={designPropertyService.convertDesignPropertyToReviewItemStyle(designPropertyQuery.data)} | ||
| > | ||
| <Suspense fallback={<div>loading...</div>}> | ||
| <MyReviewList /> | ||
| </Suspense> | ||
| </ReviewItemStyleProvider> | ||
| </ReviewListStyleProvider> | ||
| </div> | ||
| </main> | ||
| ); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| 'use client'; | ||
|
|
||
| import { Suspense } from 'react'; | ||
|
|
||
| import useReviewCanvasReady from '@/hooks/use-review-canvas-ready'; | ||
| import DisconnectedPage from '@/pages/disconnected-page'; | ||
| import { ReviewServiceProvider } from '@/services/review'; | ||
| import useShop from '@/state/shop'; | ||
|
|
||
| import ConnectedPage from './connected-page'; | ||
|
|
||
| export default function Page() { | ||
| const shop = useShop(); | ||
|
|
||
| useReviewCanvasReady('list'); | ||
|
|
||
| if (!shop.connected) return <DisconnectedPage />; | ||
|
|
||
| return ( | ||
| <ReviewServiceProvider> | ||
| <Suspense fallback={<div>loading...</div>}> | ||
| <ConnectedPage /> | ||
| </Suspense> | ||
| </ReviewServiceProvider> | ||
| ); | ||
| } |
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
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
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
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
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
Oops, something went wrong.
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.
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.
Star의 setStar가 Read 목적일 때는 쓰일 일이 거의 없는 것 같은데 향후 optional props로 개선해야겠네요