Repository navigation
[DONE] 가이드 끝의 「다음」 링크가 사이트 안 쪽은 다시 불러오지 않고 넘어가고, 밖으로 가는 링크만 ↗ 를 달고 새 탭에서 열린다 - #102
Merged
Merged
Conversation
…서 열린다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJHz7zdTtWcrSLRtkJFMx3
The end of each guide drew every link as a bare <a> with ↗: All guides reloaded the 3D stage, and GitHub opened over the guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJHz7zdTtWcrSLRtkJFMx3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJHz7zdTtWcrSLRtkJFMx3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJHz7zdTtWcrSLRtkJFMx3
patternflow-bot
marked this pull request as ready for review
October 16, 2026 17:38
7 tasks done
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_01UJHz7zdTtWcrSLRtkJFMx3
가이드 끝 링크가 전부 맨 링크에 ↗ 였어서, Audio 의 All guides 를 누르면 3D 무대까지 통째로 다시 불러왔고 GitHub 문서는 가이드를 덮고 같은 탭에서 열렸어요. 이제 가이드 안 쪽은 무대를 그대로 둔 채 넘어가고, Pattern Lab 이나 Editions 같은 사이트 안 쪽은 → 를 달고 다시 불러오지 않고 열리고, 밖으로 가는 링크만 ↗ 를 달고 새 탭에서 열려요.
좋아지는 것: 가이드 끝 링크가 사이트 안에선 바로 넘어간다 — 3D 무대를 다시 기다리지 않는다
GuideExperience.tsx끝 링크를 가이드 안, 사이트 안, 밖으로 가르기pages.test.ts에 시험 더하기40fdffd)한 일
components/guide/pages.ts에linkWay(href)를 더했어요. 주소 하나를 받아 셋 가운데 하나로 돌려줘요./guide,/guide/ko처럼 가이드의 한 쪽이면guide와 그 쪽, 그 언어예요./로 시작하는 다른 주소는site, 나머지는away예요. 커뮤니티는community.patternflow.work라는 다른 호스트라away예요.GuideExperience.tsx의 끝 링크는 이 값대로 그려요.guide는GuideLink예요. 허브의 세 갈래와 「다음 가이드」가 이미 쓰는 그 링크라, 글이 먼저 빠지고 무대가 남은 채 다음 쪽이 들어와요.site는 Next 의Link에 → 예요.away는target="_blank" rel="noopener noreferrer"에 ↗ 예요. 꼴은build/BuildCards.tsx의Links를 따랐어요.Guide.module.css에선 → 단추에data-in을 달아, 가리켰을 때 화살표가 ↗ 처럼 위로 비껴 가지 않고 옆으로만 2px 가요. 움직임 줄이기를 켜면 그것도 안 움직여요.pages.test.ts는 네 가이드의 끝 링크를 두 언어로 다 읽어요.away는 모두https://로 시작하고, 가이드로 돌아가는 링크는 읽던 언어 그대로예요. Audio 영어 판은 GitHub 다섯 개가away, Editions 가site, All guides 가guide예요.증거
브라우저(
/guide/audio#next, 1440)에서 눌러 본 결과예요. 누르기 전에window.__mark를 심어 두고, 넘어간 뒤에도 남아 있으면 같은 문서에서 넘어간 거예요.빌드한 HTML 에서 읽은 끝 링크예요.
두 사진 다 All guides 를 가리킨 채 찍었어요. 1440 사진은 왼쪽 무대가 어둡게 찍혔어요. 이번 PR 은 무대를 건드리지 않아요.
web/에서 돌린 명령과 각 출력의 끝줄이에요.PR 검사는 head
40fdffd에서Drift checks | completed | success,Web CI | completed | success예요.dev는 그새 움직이지 않았어요(da545bd).실행법
web/에서npm run build && npx next start -p 3100다음http://localhost:3100/guide/audio#next를 열어요. All guides 를 누르면 무대가 그대로 있고 글만 바뀌어요. The MIDI map 은 새 탭에서 열려요.가정
후보 줄은 안(→)과 밖(↗)의 둘로 나누자고 했는데, 가이드 안 쪽은 셋째로 따로 뒀어요.
GuideExperience.tsx머리 주석이 가이드의 다른 쪽으로 가는 길은GuideLink라고 정해 두었고, 맨Link로도 무대는 남지만 글이 빠지는 넘김이 없어요. 가이드 쪽 주소에#이 붙으면GuideLink가 그걸 버리니site로 보내요. 지금 끝 링크엔 그런 주소가 없어요.새 탭에서 열린다는 걸 화면 읽기 프로그램에 따로 알리지는 않았어요. ↗ 는
aria-hidden그대로이고,BuildCards.tsx의Links도 그렇게 해요.표 밖에서 본 것 둘은 고치지 않았어요.
app/globals.css:165의a:hover { text-decoration: underline }가.nextLink의text-decoration: none보다 세서, 끝 단추는 이번 PR 전에도 가리키면 밑줄이 생겨요(사진의 All guides). Audio 첫 장의 「Open patternflow.work/editions」(copy/audio.ts:329)는 사이트 안 쪽인데 ↗ 를 달고 새 탭에서 열려요. 설치하는 동안 가이드를 띄워 두려고 그런 것일 수 있어요.Changelog
Web
바퀴
바퀴 7 · 후보 7 「가이드 끝의 「다음」 링크가 사이트 안 쪽은 다시 불러오지 않고 넘어가고, 밖으로 가는 링크만 ↗ 를 달고 새 탭에서 열린다」
다음 바퀴
8 「한국어 가이드에서 화면 읽기 프로그램이 한국어 이름을 읽는다」: 이번에 고친
GuideExperience.tsx옆이고,aria-label몇 개와 alt 를copy.ts로 옮기는 일이라 작아요.9 「Pattern Lab 의 대화창이 Esc 로 닫히고, 위 메뉴는 터치와 키보드로도 닫힌다」: 폰에서 Panels 메뉴가 독 위에 열린 채 남아서, 4바퀴에서 고친 폰 배치를 쓰는 사람이 바로 부딪혀요.
10 「커뮤니티 창의 닫기 단추를 폰에서 누르기 쉽고, 지도의 점에 키보드 초점이 보인다」: 닫기 단추 자리가 20px 남짓이라 손가락으론 자주 빗나가요.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJHz7zdTtWcrSLRtkJFMx3
Generated by Claude Code