fix(app): 대화 screen keeps loaded pages when new items fill the window and loads one older page at a time
- paging moves to app/ui/talk.js (pure, node --test app/tests/ui/talk.test.mjs) - items the full live window no longer reaches join the older pages instead of being dropped - "이전 기록 더 보기" runs one request at a time and never adds a loaded item twice - the screen and spec state that only the newest 2,000 items are re-read live Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -739,12 +739,17 @@ Plain HTML, CSS and an ES module, no build step, dark theme after `DESIGN.md`. A
|
||||
notes it was given, the tools offered, the plan, the model's thinking, each tool call (name,
|
||||
arguments, success, failure or skipped and why, its result) and the answer. Filters: the three
|
||||
kinds as chips, where (음성, 채팅, 정기 작업), person, channel, one day and text; "실시간" (on by
|
||||
default) re-reads every item from the oldest one shown on (`from`, up to 2,000; older pages beyond
|
||||
that stay as loaded) every 3 seconds and redraws only when an item changed, an edited message
|
||||
included, keeping the cards the user opened open and the scroll where it was unless it was at the
|
||||
end; "이전 기록 더 보기" adds the 200 items before the oldest shown (`before`), with no end to how far
|
||||
back it goes; a filter change drops every answer to a request made before it, and a live answer
|
||||
older than the newest one asked is dropped; "생각 모두 펼치기/접기"; a count of each kind shown.
|
||||
default) re-reads the live window every 3 seconds: every item from its first one on (`from`, up to
|
||||
2,000). Only items in that window change on screen, an edited message included; items paged back
|
||||
past it stay as they were loaded (edits and deletes there show after a reload of the screen). The
|
||||
screen redraws only when an item changed, keeping the cards the user opened open and the scroll
|
||||
where it was unless it was at the end. When more new items arrive than the window holds, the
|
||||
shown items it no longer reaches join the pages kept as loaded, so nothing on screen disappears.
|
||||
"이전 기록 더 보기" adds the 200 items before the oldest loaded (`before`), one request at a time
|
||||
(the button is off meanwhile, and an item already loaded is never added again), with no end to
|
||||
how far back it goes; a filter change drops every answer to a request made before it, and a live
|
||||
answer older than the newest one asked is dropped; "생각 모두 펼치기/접기"; a count of each kind
|
||||
shown. The paging is `app/ui/talk.js`, pure, checked by `node --test app/tests/ui/talk.test.mjs`.
|
||||
- **한 일**: the activity (time, kind, target, who asked, outcome and why it failed), newest 200,
|
||||
with a refresh button.
|
||||
- **업데이트**: the version here, the state, "다시 확인", "받기" (with its percentage) and "설치하고
|
||||
|
||||
Reference in New Issue
Block a user