Change a post's requests afterwards; lock a thread (#292) #306

Merged
littlefox merged 1 commit from issue-292-lock into main 2026-10-23 02:33:14 +00:00
Owner

Closes #292

An author changes a post's requests after writing it (#292, roadmap "Protocol gaps"):

  • from the post's ··· menu: lock / unlock for replies (no-comments, aux 4), ask / stop asking for personal replies (5) and read confirmation (6); next to each cross-reference (3), Ta bort;
  • Kom::set_request and Kom::remove_aux, one modify-text-info [92] each; the server decides who may (author or supervisor);
  • in the chat, a thread whose first post (or the post the reply field would answer) asks for no comments shows "Låst för svar" instead of the field.

Verified: devserver integration test change_requests_afterwards (lock, unlock, read confirmation on/off, remove a cross-reference; another person refused); new e2e/tests/lock.spec.ts (lock → field gone, "Låst för svar"; unlock → back; read confirmation on/off) in desktop/android/iphone; full e2e suite 375 passed (2 flaky on retry, unrelated: channel-window, soak); lint with CI's three clippy commands.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #292 An author changes a post's requests after writing it (#292, roadmap "Protocol gaps"): - from the post's ··· menu: **lock / unlock for replies** (no-comments, aux 4), **ask / stop asking for personal replies** (5) and **read confirmation** (6); next to each cross-reference (3), **Ta bort**; - `Kom::set_request` and `Kom::remove_aux`, one `modify-text-info` [92] each; the server decides who may (author or supervisor); - in the chat, a thread whose first post (or the post the reply field would answer) asks for no comments shows "Låst för svar" instead of the field. Verified: devserver integration test `change_requests_afterwards` (lock, unlock, read confirmation on/off, remove a cross-reference; another person refused); new `e2e/tests/lock.spec.ts` (lock → field gone, "Låst för svar"; unlock → back; read confirmation on/off) in desktop/android/iphone; full e2e suite 375 passed (2 flaky on retry, unrelated: channel-window, soak); lint with CI's three clippy commands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Change a post's requests afterwards; lock a thread (#292)
All checks were successful
ci / check (push) Successful in 9m41s
ci / desktop (push) Successful in 17m50s
ci / e2e (push) Successful in 37m24s
05fe85bcc1
An author can now turn a post's requests on or off after writing it:
no comments (locking its thread for replies), personal replies and
read confirmation, and remove a cross-reference, from the post's menu.
One modify-text-info each; the server decides who may. A locked thread
in the chat shows "Låst för svar" instead of the reply field.

Closes #292

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.