A post's open menu survives the post being drawn again in its thread #327

Merged
littlefox merged 1 commit from issue-324-menu-survives into main 2026-10-24 07:47:43 +00:00
Owner

Closes #324

A post shown by number is drawn on its own first, then again inside its thread when that arrives, as a new component. A menu, Detaljer or aux list opened in between closed by itself. That was the calm-post and aux flake (a button in the menu "not found" for two minutes), and a reader on a slow link would see the same.

  • What's open on a post is now kept by its number. Opening a menu on one post closes the others'.
  • New test in calm-post.spec opens the menu and Detaljer before the thread comes. With 200 ms latency the menu was lost without the fix and kept with it.
  • Full suite: 411 passed, none flaky. Post specs with 30 ms latency: 60 of 60, twice.
  • Lint passes all three ways.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #324 A post shown by number is drawn on its own first, then again inside its thread when that arrives, as a new component. A menu, Detaljer or aux list opened in between closed by itself. That was the calm-post and aux flake (a button in the menu "not found" for two minutes), and a reader on a slow link would see the same. - What's open on a post is now kept by its number. Opening a menu on one post closes the others'. - New test in calm-post.spec opens the menu and Detaljer before the thread comes. With 200 ms latency the menu was lost without the fix and kept with it. - Full suite: 411 passed, none flaky. Post specs with 30 ms latency: 60 of 60, twice. - Lint passes all three ways. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
A post's open menu survives the post being drawn again in its thread
All checks were successful
perf / perf (pull_request) Has been skipped
ci / check (push) Successful in 8m34s
ci / desktop (push) Successful in 16m48s
ci / e2e (push) Successful in 38m4s
279f694373
A post shown by number is drawn on its own first and again inside its
thread when that arrives (about 300 ms on a fast machine, more under
load): a new component, so a menu, Detaljer or aux list opened in
between closed by itself. That was the calm-post and aux specs' flake
(a button in the menu "not found" for two minutes), and a reader on a
slow link would see the same. What's open is kept by post number now;
opening a menu on one post closes the others'. New test opens the menu
and Detaljer before the thread comes; at 200 ms latency it failed
without this.

Closes #324

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-24 13:23:56 +00:00
Sign in to join this conversation.
No description provided.