"Visa fler": count only this thread's opened posts #248
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!248
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-235-open-budget"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #235
Closes #249
Kom::threadgave an opened branch a budget ofOPEN_BUDGET * open.len(), andopenholds every post opened with "Visa fler" in the session, in any thread. Now each opened post addsOPEN_BUDGETwhen the walk reaches it.Verified: the devserver test
thread_treebuilds a chain longer than one budget (110 links) and checks that opening its root shows the same with and without posts opened elsewhere; it fails without the fix (checked) and passes with it. Lint clean.Also two flaky specs that failed this PR's first run (#249): thread.spec deep thread (a card read by being seen) and time.spec (a tap lost while the post is drawn again).
🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8