Repository navigation
fix: 퀴즈 링크를 getHref 로 페이지 기준 절대화 - #15
Merged
Merged
Conversation
toQuizUrl 이 루트 상대 링크를 /mod/quiz/ 뒤에 그대로 이어 붙여 깨진 URL을 만들던 문제를 퀴즈 목록 페이지 URL 기준 getHref 로 대체해 해결한다. Closes #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
관련 이슈
Closes #14
변경 내용
src/fetchQuiz.ts: 직접 이어 붙이던toQuizUrl을 제거하고getHref(row, COL.TITLE_LINK, link)로 퀴즈 목록 페이지 URL 기준 절대화/mod/quiz/view.php?id=9) 링크가/mod/quiz//mod/quiz/...로 깨지던 문제 해결view.php?id=9)는 이전과 바이트 단위로 동일한 URL →cachedSubmitMap(url 키) 조회 유지test/fetchQuiz.test.ts: 상대·루트 상대·절대 링크 3종 회귀 테스트 (jsdom/linkedom 양쪽)변경 유형
fix)feat)docs)refactor)style)perf)test)build,ci,chore,revert)체크리스트
npx prettier --check ./npm run lint/npm run build/npm run test가 통과합니다.🤖 Generated with Claude Code