-
Notifications
You must be signed in to change notification settings - Fork 2
feat: 보낸 견적 요청 취소 기능 추가 #60
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
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3a25c90
feat: 보낸 견적 요청 취소 기능 추가
f90ced2
style: 견적 상세 Desktop 본문 폭 확장 및 중앙 정렬
aee7440
fix: 보낸 견적 요청 취소 버튼·Modal 문구 정리
5cb8d44
feat: 받았던·대기 견적 상세에 코멘트와 요청 취소 추가
113015b
fix: 견적 요청 취소 PR 리뷰 반영
fe6d4d1
fix: 태블릿 가로 스크롤 및 상세 CTA 정렬 수정
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| import { Text } from "@/components/common/Text"; | ||
|
|
||
| interface EstimateDetailCommentProps { | ||
| comment: string; | ||
| } | ||
|
|
||
| /** | ||
| * 견적 상세 — 기사님 코멘트 (상세 정보 블록 최하단) | ||
| * SentEstimateComment와 동일 spacing/타이포 (gap-20 md:gap-28) | ||
| * // 2026.08.03 정슬기 - [추가] 받았던/대기 견적 상세용 | ||
| */ | ||
| export default function EstimateDetailComment({ comment }: EstimateDetailCommentProps) { | ||
| const trimmed = comment.trim(); | ||
|
|
||
| if (!trimmed) { | ||
| return null; | ||
| } | ||
|
|
||
| return ( | ||
| <section | ||
| className="flex w-full flex-col gap-20 md:gap-28" | ||
| aria-labelledby="estimate-detail-mover-comment-title" | ||
| > | ||
| <h2 id="estimate-detail-mover-comment-title" className="text-text-primary"> | ||
| <Text as="span" variant="lg-semibold" className="md:hidden"> | ||
| 기사님 코멘트 | ||
| </Text> | ||
| <Text as="span" variant="xl-semibold" className="hidden md:inline"> | ||
| 기사님 코멘트 | ||
| </Text> | ||
| </h2> | ||
|
|
||
| <Text | ||
| as="p" | ||
| variant="lg-medium" | ||
| className="text-text-muted wrap-break-word whitespace-pre-wrap" | ||
| > | ||
| {trimmed} | ||
| </Text> | ||
| </section> | ||
| ); | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.