Skip to content

refactor: draw the Memory tab's controls with the parts - #1895

Merged
yansfil merged 2 commits into
mainfrom
ui-migrate-memory
Oct 30, 2026
Merged

yansfil merged 2 commits into
mainfrom
ui-migrate-memory

Conversation

@yansfil

@yansfil yansfil commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Related: #1893 (이 PR의 base), #1891

Summary

Memory 탭에서 직접 그리던 버튼 9개를 부품으로 바꿨습니다(raw <button> 216 → 207, 이 PR만).
더 보기·지난 기억·비교·되돌리기는 Button text, 데이터 지우기와 토스트의 되돌리기는 Button text-link, 카드 행을 펼치는 뒤 버튼은 RowOverlayButton입니다.
화면은 그대로이고, 전에 포커스 링이 없던 글자 버튼 6개가 이제 키보드 포커스를 보여 줍니다.

mig-b-memory-workspace
왼쪽 이전, 오른쪽 이후(Memory 장면 workspace, dark, 360px).

Review

  • 판단해 주세요: 열 수 없는 PR 표시(Pane 메뉴에 Fork agent를 더하고 fork된 pane을 표시 #924, 주소가 아직 없음)가 이제 비활성으로 흐리게 그려집니다. 전에는 비활성이어도 똑같이 보였습니다.
  • 조심해서 볼 파일: web/src/MemoryTab.tsx - 카드 행 뒤의 버튼(RowOverlayButton)은 포커스 링을 안쪽으로 그립니다.

Evidence

  • 확인한 것: Memory 장면 workspace, forgotten, off를 이주 전후 같은 조건에서 캡처해 비교했습니다. 레이아웃 차이는 없습니다(workspace의 6px 차이는 펼친 카드로 스크롤한 위치 차이로, forgotten에서는 같습니다).
  • 확인한 것: vitest src/MemoryTab 28개 통과, tsc --noEmit, eslint, check-design-contract(기준선 갱신 포함) 통과.
  • 그대로 둔 것: 줄바꿈되는 카드 제목 버튼 1개와 항상 밑줄인 파일 경로 링크 2개.
  • 그대로 둔 것: practice/PracticeCoach.tsx의 11개. 연습 화면 전용 디자인(pc-*와 practice 색)이라 부품으로 바꾸면 디자인이 바뀝니다.
추가 증거

mig-b-memory-forgotten
지운 직후의 되돌리기 토스트(Button text-link).

Base automatically changed from ui-parts-variants to main October 30, 2026 13:22
@yansfil
yansfil merged commit e7e62b2 into main Oct 30, 2026
55 checks passed
@yansfil
yansfil deleted the ui-migrate-memory branch October 30, 2026 13:32
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.

1 participant