From 3ae85b962b7406834f3ad18afd321d1ff394bd81 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Tue, 26 May 2026 23:24:27 -0400 Subject: [PATCH] =?UTF-8?q?burger=20sea=20sub-btn:=20wire=20.active=20=3D?= =?UTF-8?q?=20`show=5Fpicker=20and=20not=20hand=5Fcomplete`=20(phase=201/3?= =?UTF-8?q?)=20=E2=80=94=20TDD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First slice of the "Sea sub-btn opens the spread modal" feature push. ## Server (apps/gameboard/views.py) `my_sea` view now passes `sea_btn_active = show_picker and not hand_complete` in context. Picker phase w. cards still to draw → True; landing / sign-gate / hand-complete states → False. The condition mirrors the AUTO-DRAW-vs-GATE-VIEW state machine — sea_btn lights up exactly when AUTO DRAW is the live action btn, returns to inactive at the same moment AUTO DRAW becomes GATE VIEW + the deck FLIP gains .btn-disabled. ## Template (_partials/_burger.html) `#id_sea_btn` conditionally renders the `.active` class: ``` -