# 054 - Pin Only by Menu ## User Story As the operator, I want no favourite stars on the boxes and pinning only through the context menu, so that the heads stay calm and pinning still works from everywhere. ## Decisions (operator-confirmed 2026-11-25; do not re-litigate) 1. **No stars** (operator): no `.star` button anywhere in the hub; the star slots and star rows go. Rejected: hiding them by CSS, which leaves them focusable. 2. **Menu only** (operator): "Pin to Home" and "Unpin from Home" stay in the context menu: right-click, a touch long press, or the menu key of the focused box. Existing pins stay. ## Approach ```mermaid flowchart TD subgraph P["๐Ÿงญ 0 ยท Preparation"] P1["๐Ÿ“‹ Write requirement"] --> P2{"โœ… Operator approves?"} P2 -- "โœ๏ธ corrections" --> P1 end P2 -- "๐Ÿค– yes" --> A1 subgraph A["๐Ÿ“Œ A ยท Pin by menu"] A1["๐Ÿงฉ Stars out"] --> A2["๐Ÿ“‹ Pin through the context menu only"] A2 --> A3["โœ๏ธ E2E tests moved to the menu"] end A3 --> C1 subgraph C["๐Ÿงช C ยท All of 039 to 055"] C1["๐Ÿงช All tests once"] --> C2{"๐ŸŸข Green?"} C2 -- "๐Ÿ”ด no: fix" --> C1 C2 -- "๐ŸŸข yes" --> CF{"๐Ÿ’ฌ Operator feedback on screenshots?"} CF -- "โœ๏ธ changes" --> A1 end CF -- "๐Ÿ‘ fits" --> D1["๐Ÿ Review, commit with operator OK, hand-over"] ``` ## Acceptance Criteria ### Stars - [ ] Every view of `test_box_heads_e2e.py` and Home hold no `.star` and no `.star-row` element. ### Menu - [ ] Right-clicking a box head that a star used to pin shows "Pin to Home"; running it adds the box to Home, and the same menu then shows "Unpin from Home". - [ ] A pin made before the change is still on Home. ### Tests - [ ] Unit: the panels tests drop the star button and keep `targetOf` and `add`. - [ ] Integration: n/a: no server change. - [ ] E2E: the bookmark tests pin through the context menu; the Stars and Menu checks in Chromium.