feat: 게시판 즐겨찾기 단축키 (1-0, Shift+1-0) 추가#266
Merged
Merged
Conversation
- 숫자키 1-0 (슬롯 10개) + Shift+1-0 (슬롯 10개) = 총 20슬롯 - 게시판 헤더에 별(★) 버튼으로 즐겨찾기 등록/해제 - 사이드바에 2열 그리드로 즐겨찾기 표시, Shift 슬롯은 접기 - localStorage 기반 저장 (ang-gnu customUi shortcut 이식) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
sdk-kr
pushed a commit
that referenced
this pull request
Mar 7, 2026
## Summary <img width="253" height="212" alt="screenshot_182726" src="https://github.com/user-attachments/assets/8f0c67b5-bd1e-41c6-9a9b-6aebca82e91a" /> <img width="249" height="274" alt="screenshot_182732" src="https://github.com/user-attachments/assets/7f84d60d-b0c5-4e6b-9775-a5512b8fea59" /> - 숫자키 `1`-`0` (10슬롯) + `Shift+1`-`Shift+0` (10슬롯) = 총 20슬롯 즐겨찾기 단축키 - 게시판 헤더에 별(★) 버튼으로 즐겨찾기 등록/해제 - 사이드바에 2열 그리드로 즐겨찾기 표시, Shift 슬롯은 접기/펼치기 - localStorage 기반 저장 (ang-gnu customUi shortcut 시스템 이식) ## 변경 파일 | 파일 | 설명 | |------|------| | `stores/board-favorites.svelte.ts` | 즐겨찾기 스토어 (localStorage, 20슬롯) | | `board-favorite-button.svelte` | 게시판 헤더 별(★) 등록/해제 버튼 | | `keyboard-shortcuts.svelte.ts` | Shift+숫자 단축키 지원 추가 | | `+layout.svelte` | 즐겨찾기 스토어 → 키보드 단축키 연결 | | `[boardId]/+page.svelte` | 게시판 제목 옆에 즐겨찾기 버튼 추가 | | `sidebar.svelte` | 즐겨찾기 2열 그리드 + Shift 접기 섹션 | ## Test plan - [x] 게시판 헤더 별 버튼 클릭 → 즐겨찾기 등록 확인 (토스트 메시지) - [x] 등록된 별 버튼 재클릭 → 즐겨찾기 해제 확인 - [x] 사이드바에 2열 그리드로 즐겨찾기 표시 확인 - [x] 숫자키 1-0 입력 시 해당 게시판으로 이동 확인 - [x] Shift+1-0 입력 시 Shift 슬롯 게시판으로 이동 확인 - [x] 입력 필드 포커스 시 단축키 무시 확인 - [x] 20슬롯 꽉 찬 상태에서 추가 등록 시 에러 토스트 확인 - [x] 새로고침 후 localStorage에서 데이터 복원 확인 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <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.
Summary
1-0(10슬롯) +Shift+1-Shift+0(10슬롯) = 총 20슬롯 즐겨찾기 단축키변경 파일
stores/board-favorites.svelte.tsboard-favorite-button.sveltekeyboard-shortcuts.svelte.ts+layout.svelte[boardId]/+page.sveltesidebar.svelteTest plan
🤖 Generated with Claude Code