Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
637a560
feat: 404/500/global 에러 페이지 디자인 구현
wjdalss21 Jun 23, 2026
5351eb1
fix: 에러 페이지 img -> next/image 교체 및 eslint 경고 수정
wjdalss21 Jun 23, 2026
5a631fd
fix: 에러 페이지 뒤로가기 히스토리 없을 시 홈 이동 폴백 추가
wjdalss21 Jun 24, 2026
cfe17a2
Merge branch 'dev' of https://github.com/I5-Project/TALKY-OWL into fe…
wjdalss21 Jun 24, 2026
30a203b
fix: 갈등 유형 공유 링크 비로그인 접근 시 공유자 이름 표시
wjdalss21 Jun 24, 2026
2ac78fe
fix: 갈등 유형 공유 페이지 커스텀 헤더 -> 공통 Header 컴포넌트로 교체
wjdalss21 Jun 24, 2026
e646b05
fix: 유형 탭 하단 과도한 여백 제거
wjdalss21 Jun 24, 2026
9737207
Merge branch 'dev' of https://github.com/I5-Project/TALKY-OWL into fe…
wjdalss21 Jun 24, 2026
5ee4e69
fix: 유형 탭 contentType 조건 누락 수정 및 공유 텍스트 개선
wjdalss21 Jun 24, 2026
fff8b27
fix: kakaoShare window 가드 및 키 유효성 검사 추가, disputeId 인코딩
wjdalss21 Jun 24, 2026
03fb893
feat: 이미지 저장 방식을 navigator.share(files)로 변경하여 갤러리 직접 저장 지원
wjdalss21 Jun 24, 2026
ad614fb
chore: .gitignore에서 TROUBLESHOOTING.md 제거
wjdalss21 Jun 24, 2026
3059823
fix: 이미지 공유 취소(AbortError) 처리 및 res.ok 검사 추가
wjdalss21 Jun 24, 2026
c742765
Merge branch 'dev' of https://github.com/I5-Project/TALKY-OWL into fe…
wjdalss21 Jun 24, 2026
28a22d5
Merge branch 'dev' of https://github.com/I5-Project/TALKY-OWL into fe…
wjdalss21 Jun 25, 2026
3883ac7
Merge branch 'dev' of https://github.com/I5-Project/TALKY-OWL into fe…
wjdalss21 Jun 25, 2026
2af3c4c
fix: OG 메타태그 head 주입 및 이미지 다운로드 개선
wjdalss21 Jun 25, 2026
d45f626
fix: 사건 기록 에러 메시지 마침표 제거
wjdalss21 Jun 25, 2026
6bebdbb
chore: trigger redeploy
juahcheon Jun 25, 2026
31a0168
chore: trigger redeploy
juahcheon Jun 25, 2026
e80dd1c
fix: 프로덕션 ENV 누락 시 초대 링크 오류 및 OG 이미지 URL 하드코딩 제거
wjdalss21 Jun 26, 2026
6ebeb88
fix: NEXT_PUBLIC_BASE_URL을 NEXT_PUBLIC_APP_URL로 통일
wjdalss21 Jun 26, 2026
fab74b2
fix: OG 메타태그 head 주입 및 NEXT_PUBLIC_APP_URL 통일
wjdalss21 Jun 26, 2026
b2f90b0
fix: type/page.tsx ownerName 쿼리 누락 수정
wjdalss21 Jun 26, 2026
27fbb5c
fix: OG description 문구 및 에러 메시지 마침표 수정
wjdalss21 Jun 26, 2026
2d351b1
fix: 이미지 저장 파일명 한글 제거, 고정 영문으로 변경
wjdalss21 Jun 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,21 @@ export const metadata: Metadata = {
},
};

export default async function RootLayout({ children }: { children: React.ReactNode }) {
async function SessionBridge({ children }: { children: React.ReactNode }) {
const session = await getCachedSession();
return <AuthProvider session={session}>{children}</AuthProvider>;
}

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="ko" className={pretendard.variable} suppressHydrationWarning>
<body suppressHydrationWarning>
<AuthProvider session={session}>
<SessionBridge>
<QueryProvider>
{children}
<Toast />
</QueryProvider>
</AuthProvider>
</SessionBridge>
</body>
</html>
);
Expand Down
22 changes: 7 additions & 15 deletions src/components/judgement/JudgmentTypeResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,21 @@ export default function JudgmentTypeResult({ judgment, participants, disputeId }
showToast('저장할 이미지가 없어요.')
return
}

const fileName = `갈등유형_${displayName}.jpg`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

파일이름에 한글이 들어가지 않도록 설정 부탁드립니다


try {
const res = await fetch(cardImageUrl)
if (!res.ok) throw new Error(`Image download failed: ${res.status}`)
if (!res.ok) throw new Error(`fetch failed: ${res.status}`)
const blob = await res.blob()
const fileName = `갈등유형_${displayName}.jpg`
const file = new File([blob], fileName, { type: blob.type || 'image/jpeg' })

if (navigator.canShare?.({ files: [file] })) {
try {
await navigator.share({ files: [file] })
return
} catch (error) {
if (error instanceof DOMException && error.name === 'AbortError') return
throw error
}
}

const objectUrl = URL.createObjectURL(blob)
const a = document.createElement('a')
a.href = objectUrl
a.download = fileName
document.body.appendChild(a)
a.click()
URL.revokeObjectURL(objectUrl)
document.body.removeChild(a)
setTimeout(() => URL.revokeObjectURL(objectUrl), 100)
} catch {
window.open(cardImageUrl, '_blank')
}
Expand Down
40 changes: 0 additions & 40 deletions src/lib/utils/kakaoShare.ts

This file was deleted.