Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/qa/assumptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,3 +390,12 @@ navigate 대상 한 줄.
**뒤집을 때**: 검색은 `filterEditorServiceOptions` 함수 하나, 후보 노출은
`EditorFormState.currentServiceOptions` 다. 기존 값 정리(마이그레이션·삭제)가 확정되면
보존 동작을 그 정책으로 바꾼다.

## #1487 — MEMORY SPACE 헤더 타이포

- **제목까지 함께 고친 것**: 이슈 본문이 제목(11/16.5 vs 토큰 13/21)을 「범위 밖, 판단은 담당자 몫」으로 넘겼다. 같은 컴포저블의 인접 3줄이고 시안 노드(`4327:67831`)로 값이 확정돼 한 PR 로 묶었다. 나누면 같은 자리를 두 번 고치고 스크린샷 골든도 두 번 재생성해야 한다.
- **색·자간은 건드리지 않았다(추측 아님, 범위 판단)**: 같은 노드 조회에서 두 가지가 더 어긋난다.
- 부제 색 — 시안 `#757575`(= `gray6`), 코드 `gray5`(`#9E9E9E`)
- 자간 — 시안 부제 `+0.167px`(≈ +0.019em) · 제목 `+0.6145px`(≈ +0.056em), 코드 토큰 `-0.006em` (부호가 반대)

선례(#1403 → PR #1442)가 `fontSize` + `lineHeight` 만 다뤘고, 색·자간은 판정 축이 달라(대비·가독성 / 토큰 전반) 별도 이슈로 뗐다. 이 PR 에서 조용히 바꾸면 리뷰가 세 축을 한꺼번에 봐야 한다.
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,28 @@ private fun BackPill(onBackClick: () -> Unit) {
}
}

/**
* 두 문구 모두 `inter` 토큰(13sp / 21sp)을 그대로 쓰거나 `fontSize` 만 덮고 있었다.
*
* `copy(fontSize = …)` 는 **lineHeight 를 원 토큰 값 그대로 남긴다.** 부제는 9sp 글자에
* 21sp 행간이 붙어 행간 배율이 233% 였다 (#1487). 제목은 덮지도 않아 13/21 이었다.
*
* 시안(정리 Screen Design › 홈 › 기억공간)은 둘 다 150% 다 — 제목 11/16.5, 부제 9/13.5.
* 그래서 `fontSize` 를 덮을 때는 `lineHeight` 를 **같이** 덮는다.
*/
@Composable
private fun HeaderTitle() {
Column(horizontalAlignment = Alignment.CenterHorizontally) {
Text(
text = stringResource(R.string.mindrecord_memory_space_title),
style = AfternoteDesign.typography.inter,
style = AfternoteDesign.typography.inter.copy(fontSize = 11.sp, lineHeight = 16.5.sp),
color = AfternoteDesign.colors.gray6,
textAlign = TextAlign.Center,
)
Spacer(modifier = Modifier.height(4.dp))
Text(
text = stringResource(R.string.mindrecord_memory_space_subtitle),
style = AfternoteDesign.typography.inter.copy(fontSize = 9.sp),
style = AfternoteDesign.typography.inter.copy(fontSize = 9.sp, lineHeight = 13.5.sp),
color = AfternoteDesign.colors.gray5,
// Column 의 CenterHorizontally 는 Text 상자를 가운데 놓을 뿐이고, 접힌 줄을
// 서로 가운데로 맞추는 것은 textAlign 이다 — 없으면 둘째 줄이 왼쪽에 붙는다.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading