Memoji menu and «Дела» panel for BroV Ops

- A click on the Memoji (not a drag) opens a menu: Дела (agenda counts), stop timer,
  пипетка, переводчик, кофе. The slap on click is gone; hover love and drag-to-window stay.
- «Дела»: overdue / today / this week from the homelab service with Done/Paid, timer and
  Tomorrow buttons, the running timer, and a text box that goes to the service's Claude.
- Settings → Чат → «Дела (хоумлаб)»: service URL and API token (Keychain).
- CLAUDE.md: the BroV Ops section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-10 02:49:03 +03:00
parent ac94227b94
commit 23b1ea4f45
6 changed files with 410 additions and 4 deletions
@@ -101,6 +101,20 @@ struct IslandContainer: View {
.opacity(uploadActive || greetingActive || (state.mode == .expanded && state.view == .terminal) ? 0 : 1)
.animation(.easeInOut(duration: 0.25), value: uploadActive || greetingActive)
// Anchor for the menu that opens on a click on the Memoji.
if state.mode == .expanded {
let (bx, by, bd, _) = botPosition(mode: state.mode, view: state.view, islandW: islandWidth,
islandH: islandHeight, uploadProgress: state.uploadProgress,
hasNotch: state.hasNotch)
Color.clear
.frame(width: bd, height: bd)
.position(x: bx, y: by)
.allowsHitTesting(false)
.popover(isPresented: $state.botMenuOpen, arrowEdge: .bottom) {
BroMenu(state: state)
}
}
CountdownBar(state: state, islandW: islandWidth)
// Pull handle: drag the bottom edge to grow the chat (⅓, ½, full screen).