Repository navigation
[DONE] 저널 글을 공유하면 카드에 날짜가 2026-05-14T01:30:00+09:00 대신 MAY 14, 2026 으로 찍힌다 - #313
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
The card printed the frontmatter string, 2026-05-14T01:30:00+09:00, on all 37 posts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
patternflow-bot
marked this pull request as ready for review
October 27, 2026 17:52
This was referenced Oct 27, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 28, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 28, 2026
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.
dev / https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
저널 글 링크를 카톡이나 X 에 붙이면 뜨는 공유 카드가 날짜 자리에 머리말 시각
2026-05-14T01:30:00+09:00을 그대로 찍었어요. 37편 모두요. 머지하면 그 자리에 글 쪽이 찍는 서울 날짜가 카드 윗줄 꼴대로MAY 14, 2026으로 찍히고, 카드의 나머지는 그대로예요.좋아지는 것: 공유 카드에 날짜가 읽히는 꼴로 찍힌다 — 링크를 받은 사람이 시각 문자열 대신 날짜를 본다
체크리스트
139바퀴 PR([DONE] 데스크톱 저널 목록에서 날짜가 두 줄로 꺾이지 않는다 #306[DONE] 화면 낭독기가 저널 글 쪽에서 본문으로 바로 건너뛴다 #312) 읽고 같은 주제 피하기opengraph-image.tsx에서 빨간지 보기24bcfa7가 이미 들어 있음) · 검사 초록 · 겹침 기다리기한 일
web/src/app/journal/[slug]/opengraph-image.tsx의 날짜 칸이post?.date대신formatJournalDate(post.date, "en")을 찍어요. 134바퀴가 서울로 맞춘 그 함수라서 UTC 빌드에서도 글을 쓴 서울 날짜가 나와요. 대문자는 윗줄의textTransform: "uppercase"가 그대로 해요.web/src/app/journal/[slug]/opengraph-image.test.tsx가next/og의ImageResponse만 바꿔 끼워 카드에 들어가는 글자를 모아요. 프로세스를 UTC 로 두고headache카드에May 14, 2026이 있고 머리말 문자열이 없는지, 37편 어느 카드에도YYYY-MM-DDT꼴이 없는지 봐요.증거
새 시험을 dev 의
opengraph-image.tsx에 돌리면고친 뒤엔
Tests 2 passed (2)예요.카드는 빌드 때 그려져서(
generateStaticParams), 빌드를 네 번 하고 37장씩 PNG 를 견줬어요. 빌드 컨테이너는 UTC 예요.the-30th-entry제목의 「째」 한 글자가 1px 옆「째」 는 고친 빌드 1 에서만 옆으로 갔고 고친 빌드 2 는 dev 와 같았어요. 카드의 한글은 빌드 때 받아 오는 글꼴로 그려서, 같은 판에서도 한 번 그렇게 나온 거예요.
다섯 검사(
web/에서):roadmap 은 이 컨테이너의 gh 로 원래 레포를 읽지 못해 건너뛰었어요.
PR 의 검사(head
105b880):Drift checks | completed | success,Web CI | completed | success. 겹침 기다리기는 「안 겹친다」 였어요.저널 76쪽(목록 두 언어와 글 74쪽)을 390×844 와 1440×900 에서 열어 화면 밖으로 나가거나 본문 폭을 넘는 요소를 셌어요. dev 에서 0 이었고, 이번 고침은 쪽을 건드리지 않아요.
전후 사진은 「머리아파」(
/journal/headache) 카드예요. 카드는 쪽이 아니라 1200×630 그림 한 장이라서, 폰(390, 화면 폭에서 32px 뺀 폭)과 데스크톱(1440, 제 크기)이 여는 크기로 놓고 찍었어요. 이 글은 서울 5월 14일 01:30 에 써서 UTC 로는 5월 13일이에요.실행법
가정
generateMetadata가 둘 다/journal/<slug>/opengraph-image한 장을 가리키고, 카드 윗줄의 다른 글이 영어 대문자(PATTERNFLOW / JOURNAL)예요. 한국어 날짜를 찍으면 그 줄에 한글이 들어가고, 카드의 한글은 빌드 때 바깥에서 받는 글꼴이에요. 제목은 지금처럼 한국어판 제목이에요.web/src/lib/journal.ts는 건드리지 않았어요.vitest.config.ts머리 주석대로 고치는 파일 옆에opengraph-image.test.tsx로 뒀어요. Next 의 메타데이터 파일 판별(opengraph-image뒤에 숫자와 확장자만)에 걸리지 않고, 빌드의 경로 표에도 나오지 않았어요.Changelog
Web
2026-05-14T01:30:00+09:00, on all 37 posts. It now prints the Seoul day the post page shows, in the card's English capitals:MAY 14, 2026.경험
언제: 저널 바퀴에서 대조 빌드를 레포 밖 git worktree 에서 따로 돌릴 때
교훈: worktree 의
web/node_modules를 심볼릭 링크로 두면 Turbopack 이 빌드를 멈춰요.cp -al하드링크로 두면 새로 깔지 않고 몇 초에 빌드가 돌아요근거: #313 에서
ln -s로 둔 첫 대조 빌드가 「Symlink node_modules could not be resolved」 로 끝났고,cp -al로 바꾸니 dev 와 고친 판 대조 빌드가 둘 다 exit 0 이었어요바퀴
바퀴 140 · 후보: 저널 — 고친 곳: web/src/app/journal/[slug]/opengraph-image.tsx · 까닭: 저널 글 37편의 공유 카드가 날짜 자리에 머리말 시각
2026-05-14T01:30:00+09:00을 그대로 찍었다다음 바퀴
/journal/a-strange-dream1440 에서 그림을 누르면.journal-lightbox(role="dialog",aria-modal="true")가 열리는데 초점은BODY그대로이고, Tab 한 번에 창 밖 아래 목록의 링크로 가요(139바퀴가 봤어요).components/journal/JournalLightbox.tsx:69~:91. 열리면 닫기 단추로 초점을 옮기고 Tab 을 창 안에 두면 돼요..journal-list-number(globals.css:1144,:1321),.journal-figure,.journal-figure-wide,.journal-figure-full과 그img,video,figcaption(:1638:1652,:1707, 폰:1998:1999),.journal-index-thumb span(:1242),.journal-cover-slot span(:1271)을 컴포넌트와 글 74개 어디서도 그리지 않아요(136바퀴가 셌어요). 오늘 dev 에서도 줄 번호가 같아요.ko·en이 18×19px, 글 쪽 맨 위 「All writing」 이 114×17px 이에요. 손가락으로 누를 자리가 24px 도 안 돼요. 1440 에선.journal-lockup이 판 폭 1180×88px 를 다 차지해서, 「Patternflow」 글자 오른쪽 빈 곳을 눌러도 첫 화면으로 가요.https://claude.ai/code/session_01Gdqi6Ni4vT2iLiwVC6K3dp
Generated by Claude Code