Skip to content

[DONE] 폰에서 Pattern Lab 의 Layers 와 Knobs 단추가 손가락 크기다 - #209

Merged
patternflow-bot merged 4 commits into
devfrom
claude/pf-round82-su1y58
Oct 24, 2026
Merged

patternflow-bot merged 4 commits into
devfrom
claude/pf-round82-su1y58

Conversation

@patternflow-bot

@patternflow-bot patternflow-bot commented Oct 24, 2026 •

Copy link
Copy Markdown

ops / https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4

폰으로 Pattern Lab 을 열면 Layers 의 Del 이 37×28px, 레이어 눈이 20×17px, Knobs 의 Push 가 40×22px 라 손가락으로 맞히기 어려웠어요. 이제 터치 화면에서는 이 단추들과 마스크·불투명도·섞기 칸이 다 44px 높이이고, 마우스로 쓰는 데스크톱은 그대로예요.

좋아지는 것: 폰에서 Lab 의 레이어와 노브 단추를 손가락으로 바로 맞힌다

할 일

  • incoming/ROUND.md 읽기
  • 앞 바퀴 PR 댓글(OWNER·MEMBER·COLLABORATOR) 읽기 — 따를 글 없음
  • 「후보」 표에서 남은 줄 고르기 — 후보 17
  • 390 터치에서 고치기 전 크기 재기
  • 고치고 시험·검사
  • 증거(화면) 남기기
  • dev merge (0510761, 이미 들어 있음)
  • CI 초록 뒤 [DONE]

한 일

Text 패널이 이미 쓰는 꼴(@media (hover: none) 에서 칸을 44px 로)을 LabPanels.module.css 와 panels/KnobsPanel.module.css 에 넣었어요.

Layers 는 막대 단추(+ Code, + Pixel, + Text, Dup, Del)를 44×44px 이상으로, 레이어 줄을 46px 로 키우고 눈이 그 줄 높이를 다 갖게 했어요(44×44px). 아래 칸의 Mask 글, Opacity 막대, Blend 고르개도 44px 높이예요. 막대 단추 규칙은 .panelBar button 이 아니라 Layers 막대에만 붙인 새 클래스 layerBar 에 걸었어요. .panelBar 는 Pixel 도구 줄, Director, Capture 들이 같이 써서, 거기에 걸면 단추 열댓 개짜리 도구 줄이 다 커져요.

Knobs 는 Push 를 44×44px 로 키웠어요. 980px 아래 블록이 Push 를 22px 로 줄이니 터치 블록은 파일 맨 끝에 뒀어요.

labCss.test.ts 에 「Layers and Knobs on a touch screen」 시험 다섯을 더했어요. 각 규칙의 44px 값, LayersPanel.tsx 가 layerBar 를 붙이는지와 .panelBar button 엔 터치 규칙이 없는지, 터치 블록이 덮는 규칙보다 뒤에 있는지를 봐요. CSS 를 고치기 전으로 돌리면 다섯 다 빨개요.

증거

고치기 전 CSS 와 LayersPanel.tsx 로 돌린 새 시험:

   × Layers and Knobs on a touch screen > give the Layers bar buttons a 44px box 7ms
   × Layers and Knobs on a touch screen > let the eye fill a 44px row 1ms
   × Layers and Knobs on a touch screen > give the mask, opacity and blend rows a 44px height 1ms
   × Layers and Knobs on a touch screen > give Push a 44px box 1ms
   × Layers and Knobs on a touch screen > come after the rules they override 0ms
      Tests  5 failed | 7 passed (12)

고친 뒤 web/ 에서:

$ npx vitest run src/app/pattern-lab/labCss.test.ts
      Tests  12 passed (12)
$ npm ci
(exit 0)
$ npm run lint -- --max-warnings=0
lint exit 0
$ npm run typecheck
typecheck exit 0
$ npm run build
build exit 0
$ npm run check:ci
 Test Files  97 passed (97)
      Tests  1231 passed (1231)
passed   virtual-panel
check:ci exit 0
$ npm run check:voice
read: 56 added lines in 2 files
check:voice: nothing found

check:ci 의 drift 는 14개 passed, roadmap 과 links-absolute 둘은 책상에서처럼 skipped 예요.

dev(0510761)가 이미 든 head cf21f78 의 GitHub 검사:

Drift checks | completed | success
Web CI | completed | success

빌드한 사이트(next start -p 3100)를 Playwright 로 열고 쟀어요. 390×844 는 hasTouch, isMobile 로 열어 (hover: none) 이 참이고, 아래 묶음의 탭을 손가락 누름(touchscreen.tap)으로 앞으로 꺼냈어요.

고치기 전 390 · hover:none true
  + Code 60x28 · + Pixel 56x28 · + Text 54x28 · Dup 41x28 · Del 37x28
  eye 20x17 · row 364x34 · mask box 13x13 (label 113x16)
  opacity 220x16 · blend 286x28
  Push 40x22 (네 노브)
고친 뒤 390 · hover:none true
  + Code 60x44 · + Pixel 56x44 · + Text 54x44 · Dup 44x44 · Del 44x44
  eye 44x44 · row 364x46 · mask label 113x44
  opacity 220x44 · blend 286x44
  Push 44x44 (네 노브)
  눈의 왼쪽 끝에서 30px, 아래 끝에서 4px 를 누름 → Code 1 이 숨음(옛 눈 20x17 밖)
  Mask 글의 오른쪽 끝을 누름 → 체크됨
고친 뒤 1440 · hover:none false (그대로)
  + Code 60x28 · Dup 41x28 · Del 37x28 · eye 20x17 · row 413x34
  mask label 113x16 · opacity 269x16 · blend 335x28 · Push 44x26

폰 390 · 고친 뒤 Layers(텍스트 레이어를 하나 더한 뒤)와 Knobs, 데스크톱 1440:

폰 390 · Layers
폰 390 · Knobs
데스크톱 1440 · Pattern Lab

폰 390 · 고치기 전 Layers 와 Knobs:

폰 390 · 고치기 전 Layers
폰 390 · 고치기 전 Knobs

실행법

web/ 에서 npm run build && npx next start -p 3100 뒤 폰이나 크로미움 개발자 도구의 터치 기기 흉내로 /pattern-lab 을 열어요. 아래 묶음의 Layers 와 Knobs 탭에서 단추가 44px 높이로 보여요. 마우스로 여는 데스크톱은 전과 같아요.

가정

Changelog

Web

  • Pattern Lab's Layers and Knobs controls are fingertip-sized on touch screens. On a 390px phone Del was 37×28px, the layer eye 20×17px and a knob's Push 40×22px. Where there is no hover, the layer bar buttons, the eye, the mask, opacity and blend rows and Push are now 44px tall, as the Text panel's fields already were.

경험

언제: 바퀴에서 Playwright 로 Pattern Lab 을 고친 뒤 npm run build 를 다시 하고 next start 를 다시 띄울 때
교훈: 앞의 next-server 를 pkill -f "next start" 로 찾지 말고 ps 로 본 PID 로 끈다 (그 패턴이 지금 쉘 명령줄에도 들어 쉘을 죽이고, 살아남은 옛 서버가 새 빌드 파일을 읽다 탭을 못 그린다)
근거: #209 에서 pkill 이 빌드 쉘을 exit 144 로 끊었고, 남은 PID 4044 의 옛 서버가 3100 을 쥔 채 Lab 탭 줄을 안 그려 Playwright 가 30초씩 두 번 기다렸어요

바퀴

바퀴 82 · 후보 17 「폰에서 Layers 와 Knobs 의 단추가 손가락 크기다」

다음 바퀴

  • 18 「폰에서 Pixel 패널이 그림을 1× 대신 2× 로 맞춰 연다」: 390×844 에서 그림 칸이 372×151px 이고, 터치엔 없는 마우스 손짓 안내가 두 줄로 접혀 51px 를 먹어요.
  • 19 「Pattern Lab Pixel 의 − + 단추가 보이는 가운데를 붙잡고 확대한다」: 휠과 달리 − + 는 배율만 바꿔 그림이 뷰포트 왼쪽 위를 기준으로 커져요.
  • 20 「Lab 의 Share 창이 Esc 로 닫힌다」: PublishModal 은 바깥 판 클릭으로만 닫히고 키 리스너가 없어요.

https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4
@patternflow-bot patternflow-bot changed the title [WIP] 바퀴 82 — 후보 표에서 다음 줄을 고른다 [WIP] 폰에서 Pattern Lab 의 Layers 와 Knobs 단추가 손가락 크기다 Oct 24, 2026
…creens

Del was 37×28px, the layer eye 20×17px and Push 40×22px on a 390px phone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTBFCxhvzKhQhGnPXKuXz4
@patternflow-bot patternflow-bot changed the title [WIP] 폰에서 Pattern Lab 의 Layers 와 Knobs 단추가 손가락 크기다 [DONE] 폰에서 Pattern Lab 의 Layers 와 Knobs 단추가 손가락 크기다 Oct 24, 2026
@patternflow-bot
patternflow-bot marked this pull request as ready for review October 24, 2026 06:49
@patternflow-bot
patternflow-bot merged commit cd3e16f into dev Oct 24, 2026
2 checks passed
@patternflow-bot
patternflow-bot deleted the claude/pf-round82-su1y58 branch October 24, 2026 06:51
engmung pushed a commit to engmung/Patternflow that referenced this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants