Repository navigation
[DONE] Pattern Lab 의 Knobs 패널에서 화살표 키 한 번이 기기의 노브 한 칸만큼 움직인다 - #208
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
A knob slider stepped by its 0.001 step, so Freq's 10..120 took 110,000 presses; 48 now, as the encoder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
patternflow-bot
marked this pull request as ready for review
October 24, 2026 06:26
This was referenced Oct 24, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 25, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 25, 2026
Patternflow-lab#183 Patternflow-lab#184 Patternflow-lab#186 Patternflow-lab#187 Patternflow-lab#189 Patternflow-lab#191 Patternflow-lab#192 Patternflow-lab#193 Patternflow-lab#194 Patternflow-lab#196 Patternflow-lab#197 Patternflow-lab#198 Patternflow-lab#199 Patternflow-lab#200 Patternflow-lab#202 Patternflow-lab#203 Patternflow-lab#204 Patternflow-lab#205 Patternflow-lab#206 Patternflow-lab#208 Patternflow-lab#209 Patternflow-lab#210 Patternflow-lab#214 Patternflow-lab#217 Patternflow-lab#218 Patternflow-lab#221 Patternflow-lab#222 Patternflow-lab#223 Patternflow-lab#227 Patternflow-lab#237 Patternflow-lab#238 Patternflow-lab#239 Patternflow-lab#240
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.
ops / https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
Pattern Lab 의 노브 칸에서 화살표 한 번이 범위의 0.001 만 움직여, Freq 10..120 을 끝까지 가는 데 110,000번이 들었어요. 이제 화살표 한 번이 기기 노브 한 칸이라 끝에서 끝이 48번이고, Text 패널의 효과 빠르기 칸도 같아요.
좋아지는 것: 키보드로 Lab 노브를 돌린다 — 화살표 한 번이 기기 노브 한 칸이다
할 일
한 일
lib/pattern/controls.ts의knobDetentStep옆에knobArrowValue를 뒀어요. ArrowRight 와 ArrowUp 은 한 칸 올리고 ArrowLeft 와 ArrowDown 은 한 칸 내리며, 범위 끝에서는 멈춰요. Lab 이 내보낸 헤더의PFParams::apply(firmware/patternflow/abi/pf_params.h:79)가 노브를 범위 끝에서 잡는 것과 같아요. 칸 위에 있는 값은 아래 끝에서 센 칸 수로 셈해서 다음 칸에 꼭 맞게 서요. 그냥4 / 48을 48번 더하면 2..6 노브가 6 에 조금 못 미쳐 49번째 누름이 들었어요.Knobs 패널의 노브 칸(
KnobsPanel.tsx)과 텍스트 효과의 빠르기 칸(TextPanel.tsx)이onKeyDown에서 그 값을 써요. 다른 키나 Alt, Ctrl, Cmd 를 같이 누른 화살표는 null 이라 칸이 Home, End, Page Up/Down 을 그대로 하고 브라우저 단축키도 그대로예요.step="0.001"은 마우스로 끌 때 몫이라 그대로 뒀어요.시험은 여덟 개를 더했어요.
controls.test.ts에 넷(화살표 넷의 방향, 범위 일곱 개에서 48번에 끝에서 끝까지와 24번에 가운데, 칸 사이에서 한 칸, 다른 키), 새KnobsPanel.test.tsx에 셋(ArrowRight 가 store 노브를 한 칸 올리고 기본 동작을 막는지, 48번에 끝, Home·End·PageUp·Alt+Left 는 안 막는지),TextPanel.test.tsx에 하나예요. 고치기 전 패널 코드로 돌리면 패널 시험 셋이 빨개요.증거
고치기 전
KnobsPanel.tsx,TextPanel.tsx로 새 시험을 돌린 끝:고친 뒤
web/에서:check:ci의 drift 는 14개 passed,roadmap과links-absolute둘은 책상에서처럼 skipped 예요.dev(
856d7d8)가 이미 든 headab78798의 GitHub 검사:빌드한 사이트(
next start -p 3100)를 Playwright 로 열고 Knobs 의 Freq 칸에 초점을 둔 채 키를 눌렀어요. 폰은 아래 묶음의 Knobs 탭을 눌러 앞으로 꺼낸 뒤예요.후보 표가 잰 고치기 전 값은 화살표 10번에 Freq 10 → 10.01, Quantize 2 → 2.01 이에요. Speed 0.05..5 는 한 칸이 0.103125 라 다섯 번에 2.516 이에요.
실행법
web/에서npm run dev로 /pattern-lab 을 열고, Knobs 의 노브 칸을 Tab 으로 고르거나 눌러 초점을 둔 뒤 화살표를 눌러요. 위의 값이 한 칸씩 움직이고, 48번에 범위 끝이에요.가정
15 는 바퀴 6680([DONE] 폰에서 Pattern Lab 아래 탭을 눌러도 다른 패널이 닫히지 않고, 「⌄」 메뉴가 패널 위에 열린다 #189~[DONE] Pattern Lab 의 붙여넣기 상자가 영어로 묻고, 텍스트 레이어를 고르면 Code·Pixel 패널이 Text 패널로 보낸다 #206)이 했어요. 앞 바퀴 PR 들엔 OWNER·MEMBER·COLLABORATOR 의 리뷰나 줄 댓글이 없고, 레포 전체의 그 셋의 댓글은 [DONE] hardware: Besoiobiy's printed case as a remix folder #1 의 engmung 글 하나(원래 레포로 옮겼다는 알림)라 맡을 글이 없었어요. 「창작자 지시」 15 도 [DONE] Pattern Lab 에서 AI 갤러리와 Gemini 키 칸이 없어지고, Copy prompt 옆에서 v-field · rgb 를 고른다 #183[DONE] Pattern Lab 에 처음 온 사람이 막히는 곳 16개를 재서 바퀴 후보 표 맨 위에 넣는다 #188 이 끝냈어요. 그래서 남은 줄 가운데 가장 위인 후보 16 이에요.LOGICAL_KNOB_WRAP로 감아 읽지만, Lab 이 내보낸 헤더는 노브 값을clampf로 범위 안에 잡아서 기기에서도 끝에서 멈춰요.KnobsPanel.tsx대신lib/pattern/controls.ts에 뒀어요.Changelog
Web
경험
언제: 바퀴에서 Pattern Lab 의 노브 동작을 기기에 맞출 때
교훈: Lab 엔진의
LOGICAL_KNOB_WRAP은 패턴이 받는 변화량 몫이니, 노브 값이 끝에서 감기는지 멈추는지는 Lab 이 내보낸 헤더의PFParams::apply(clampf)를 보고 정한다근거: #208 에서 처음엔 노브 1, 4 를 감게 짜려다
hExport.ts:441이 부르는pf_params.h:79가 범위 끝에서 잡는 것을 보고 멈추게 짰어요바퀴
바퀴 81 · 후보 16 「Knobs 패널에서 화살표 키 한 번이 기기의 노브 한 칸만큼 움직인다」
다음 바퀴
https://claude.ai/code/session_01Tm3NY9eBiP5yi1o3htvgyF
Generated by Claude Code