Repository navigation
feat(todo): 앱이 결정을 책처럼 한 번에 한 건씩 보여 준다 (v2.25.0) - #89
Merged
Merged
Conversation
확인 필요 탭이 내 차례 카드를 모두 펼쳐 16건이 한 스크롤에 섞였고, 정작 사람이 정할 질문과 선택지별 설명이 눈에 띄지 않았다. 이제 결정을 한 번에 한 건씩 보여 주고 쪽 번호와 넘김 화살표를 창 아래에 둔다. 승인·막힘·AI 권장 답이 없는 질문이 먼저 나오고, 답하면 다음 결정이 올라온다. 넓은 창에서는 두 쪽 펼침면(왼쪽 읽기, 오른쪽 내 답)으로 열리고, 선택지 버튼 아래에 문서의 Options 설명을 라벨로 맞춰 보여 준다. 나만 보는 메모, 글자 크기·글꼴 설정(Pretendard 내장)을 todo-app.json에 저장한다. 웹 페이지·TUI·서버·todo.md 형식은 그대로다.
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.
v2.25.0: The app reads like a book, one decision at a time
To-do app (
todo/app) only. The web page, the TUI, the server andtodo.mdare unchanged.Problem
The Needs you tab opened every waiting item at once. With 16 items waiting, 16 full cards shared one scroll, each with a status pill, the six-phase stepper, a "now · next" line and the repos. Five count pills sat over four tabs that said the same thing. The one thing each card exists for, what the human has to decide, did not stand out from the rest, and a choice was a bare label: what each option does was only in the folded document.
Changes
3 / 16) with previous/next arrows sits at the foot of the window, outside the scrolling area, like a book's page number; the left/right arrow keys turn the page unless a field is being typed in. Answering brings up the decision now at that place; a newly arrived decision does not move the one on screen. The others fold under Other decisions, one line each.(AS-IS):or(TO-BE):tag is dropped, repeated lines show once, brief lines are cut at 320 characters instead of 160, and the agent's pick has its own box.## Options(or## 선택지) section with one numbered line per choice (1. **label** — what it does), each choice button is stacked over the line whose label matches it; a list that does not match the choices one to one shows nothing rather than mislabel them.todo.md. The approval note field is now labelled Words for the approval (optional) so it is not confused with the memo.+/-is kept as well) and the font. Pretendard Regular (SIL OFL 1.1, licence intodo/app/fonts/Pretendard-LICENSE.txt) is built into the binary as the default. Other readable Hangul fonts found on the machine can be picked: Apple SD Gothic Neo, Malgun Gothic, Noto Sans CJK/KR, NanumGothic, NanumSquare, Spoqa Han Sans Neo, SUIT, AppleGothic, AppleMyungjo and NanumMyeongjo. Malgun Gothic is not bundled: it is Microsoft's and can be picked only where it is installed.todo-app.json, beside the session file (mode 0600), keeps the size, the font and the memos. It is saved through a temporary file, and a file that cannot be read or does not parse is set aside astodo-app.json.badand reported rather than overwritten. Memos of done items are dropped.cargo testintodo/appcovers the queue order, where the focus lands after an answer, the option lines (matched to choices by label, not position), the tag removal and the settings file. The Rust app is not built in CI.After updating
Rebuild the app: run
todo/app/install-macos.shagain (macOS), orcargo build --releaseintodo/app.Verification
cargo testintodo/app: 7 pass (queue order, same-ticket grouping, focus after an answer, option notes by label incl. swapped order and a mismatch, tag removal, settings file incl. broken/unreadable file).cargo build --release: succeeds with no warnings.cargo clippy --release: only thenonminimal_boolwarning that was already onmain.bash tests/selftest.sh: 143 shell checks and 211 Node tests pass. One earlier standalone Node run had a single HTTP timeout intests/todo-web.test.mjs:427while Rust builds were running; it did not recur.Not in this PR
todo/app/install-macos.sh).