feat(archive): 자료 상세를 /resources/:id 주소로 열기 (뒤로가기 → 자료실) - #444
Merged
Conversation
…o the list Notices already navigate to /notices/:id, but the archive opened its detail view in component state under the same /resources URL, so pressing back from a file jumped to whatever page preceded the archive. The detail file is now derived from the route: opening pushes /resources/:id, back lands on /resources, and an unknown id redirects to the list. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The desktop table fires the open handler from both the row and the cell, which pushed /resources/:id twice and made browser back land on the same file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e state Both handlers run in the same event tick, so useParams still holds the previous id for the second call; window.location is already updated by the first pushState. Co-Authored-By: Claude Fable 5.1 <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.
공지는 이미 /notices/:id 로 이동하지만 자료실은 같은 /resources 주소에서 상태로만 상세를 열어, 뒤로가기가 자료실 이전 페이지(예: 공지사항)로 튀었습니다. 상세 파일을 라우트에서 파생하도록 바꿔 열면 /resources/:id 로 push, 뒤로가기는 /resources 목록, 없는 id 는 목록으로 redirect. 스모크 테스트에 열기→URL→뒤로가기 시나리오 추가.
🤖 Generated with Claude Code