From 460746ac489c2271c3695798fd58254d27c4bd78 Mon Sep 17 00:00:00 2001 From: Jay Wedgeworth <12656028+jaywedgeworth22@users.noreply.github.com> Date: Sat, 3 Oct 2026 17:36:39 -0500 Subject: [PATCH 1/2] Remove the inactive pin command and obsolete MiniMax artwork. --- README.md | 2 +- Sources/CodeCaps/AppDelegate.swift | 3 --- Sources/CodeCaps/MonitorModel.swift | 4 ---- .../Resources/ProviderMarks/README.md | 8 ++++--- .../Resources/ProviderMarks/minimax.svg | 20 ----------------- docs/EFFORT-LOG.md | 22 +++++++++++++++++-- 6 files changed, 26 insertions(+), 33 deletions(-) delete mode 100644 Sources/CodeCaps/Resources/ProviderMarks/minimax.svg diff --git a/README.md b/README.md index 66c09aca..2c3fc5f5 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ Console's sidebar has five Settings pages. ## Provider Marks -Every mark is a template image — only its silhouette is used, colored from the label. `claude.svg`, `openai.svg`, `grok.svg`, `minimax.svg` and `gemini.svg` are BotFleet's own assets (subject to their source licenses); Antigravity reuses the Gemini mark, Grok CLI/Grok Bot the Grok mark. `cursor.svg` is from [Simple Icons](https://cdn.simpleicons.org/cursor), CC0 1.0; details in `Sources/CodeCaps/Resources/ProviderMarks/README.md`. +Standard style preserves bundled brand colors except for monochrome marks, which adapt to the current appearance; Light/Dark style renders a template. MiniMax uses `minimax.png` and is treated as monochrome. Antigravity uses the Gemini mark, and Grok CLI/Grok Bot use the Grok marks. `cursor.svg` is from [Simple Icons](https://cdn.simpleicons.org/cursor), CC0 1.0. See `Sources/CodeCaps/Resources/ProviderMarks/README.md` for resource mappings and source notes. ## Development diff --git a/Sources/CodeCaps/AppDelegate.swift b/Sources/CodeCaps/AppDelegate.swift index b2a4f3a7..2116ff16 100644 --- a/Sources/CodeCaps/AppDelegate.swift +++ b/Sources/CodeCaps/AppDelegate.swift @@ -322,8 +322,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate, NSMe /// Reopening a window that is already open brings it forward instead of /// building a second one. - @objc private func toggleKeepInFront() { model.keepConsoleInFront.toggle() } - private func configureMenu() { let menu = NSMenu() let appItem = NSMenuItem() @@ -338,7 +336,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate, NSMe add("Glance", #selector(togglePopover), "2") add("Settings…", #selector(showSettings), ",") add("Refresh Quotas", #selector(refresh), "r") - add("Keep In Front", #selector(toggleKeepInFront), "p") appMenu.addItem(.separator()) add("About CodeCaps", #selector(showAbout)) add("Check For Updates…", #selector(checkForUpdates)) diff --git a/Sources/CodeCaps/MonitorModel.swift b/Sources/CodeCaps/MonitorModel.swift index ec157621..3c28950b 100644 --- a/Sources/CodeCaps/MonitorModel.swift +++ b/Sources/CodeCaps/MonitorModel.swift @@ -262,9 +262,6 @@ final class MonitorModel: ObservableObject { @Published var appearance: AppAppearance { didSet { defaults.set(appearance.rawValue, forKey: "appearance") } } - @Published var keepConsoleInFront: Bool { - didSet { defaults.set(keepConsoleInFront, forKey: "consoleKeepInFront") } - } /// From Mac or From Fleet, remembered across launches. @Published var glanceView: GlanceViewMode { didSet { defaults.set(glanceView.rawValue, forKey: "glanceView") } @@ -368,7 +365,6 @@ final class MonitorModel: ObservableObject { alarmManager = ResetAlarmManager(defaults: defaults) appearance = AppAppearance(rawValue: defaults.string(forKey: "appearance") ?? "") ?? .system - keepConsoleInFront = defaults.bool(forKey: "consoleKeepInFront") glanceView = GlanceViewMode(rawValue: defaults.string(forKey: "glanceView") ?? "") ?? .fromMac alarmChanges = alarmManager.objectWillChange.sink { [weak self] _ in self?.objectWillChange.send() diff --git a/Sources/CodeCaps/Resources/ProviderMarks/README.md b/Sources/CodeCaps/Resources/ProviderMarks/README.md index d94dd253..1c98e205 100644 --- a/Sources/CodeCaps/Resources/ProviderMarks/README.md +++ b/Sources/CodeCaps/Resources/ProviderMarks/README.md @@ -1,8 +1,10 @@ -# Provider marks +# Provider Marks -Every mark here is drawn as a **template image**: `PlatformLogoImage.load` sets `isTemplate = true` and the SwiftUI call site renders it with `.renderingMode(.template)`, so only the silhouette is used and the colour comes from the label — black in Light, white in Dark, on every surface including the menu bar status item. A mark therefore only has to be a correct *shape*; its own fill colour is discarded. +`PlatformLogoImage` maps provider keys to the bundled files in this directory. Standard style preserves an asset's colors, except marks identified as monochrome, which adapt to the current appearance. Light/Dark style renders a template. Custom style uses the owner's imported mark and falls back to the bundled standard mark when no custom mark is available. Providers without bundled artwork use the neutral SF Symbol fallback. -`claude.svg`, `openai.svg`, `grok.svg`, `grok-bot.svg` and `minimax.svg` are faithful copies of the provider assets already shipped by BotFleet under `/Users/jay/Code/BotFleet/ios/App/Assets.xcassets/ProviderMark*.imageset/`. They are bundled for local display only and remain subject to their source project licenses. Antigravity uses the Gemini mark, and Grok CLI uses the Grok mark; no new artwork was created for them. +MiniMax uses `minimax.png`; there is no MiniMax SVG in the active resource map. MiniMax is treated as a monochrome mark in every style, so it adapts to Light and Dark appearances. + +`claude.svg`, `openai.svg`, `grok.svg`, and `grok-bot.svg` are bundled for local display. Antigravity uses the Gemini mark, and Grok CLI uses the Grok mark. `grok-bot.svg` is the Grok X-mark with a small filled dot in the upper-right corner, so the bot variant reads as related but distinguishable from `grok.svg` in a row. diff --git a/Sources/CodeCaps/Resources/ProviderMarks/minimax.svg b/Sources/CodeCaps/Resources/ProviderMarks/minimax.svg deleted file mode 100644 index 454a77cd..00000000 --- a/Sources/CodeCaps/Resources/ProviderMarks/minimax.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/docs/EFFORT-LOG.md b/docs/EFFORT-LOG.md index 8d68e51b..42093d37 100644 --- a/docs/EFFORT-LOG.md +++ b/docs/EFFORT-LOG.md @@ -5,6 +5,24 @@ PR (when shipped), follow-ups (when parked). --- +## 2026-10-03 — Remove Obsolete Pin Control and MiniMax Asset [CODEX, in review] + +Lane: `codex/remove-stale-controls-20261003`. Boards `11b25418`, `979b2c38`. + +- Removed the inert Keep In Front menu action and unused stored model property. + Toolbar pin removal and single-meter alignment had already shipped. +- Retained the newer #117 activation policy: menu-bar-only stays accessory; + Dock-capable modes show the icon with an open window and remove it on close. +- Removed unused fabricated `minimax.svg`; the real `minimax.png` remains the + rendering source. Corrected both resource and root README rendering/provenance. +- Verification: focused PlatformLogoResourceTests 4/4 and DocsScreenshotTests + render 1/1 passed from a fresh build. No installed app changed. +- Reconciliation correction: `20dc3a22` reopened after tracing the runtime path. + #109 records history and exposes thresholds but never invokes anomaly evaluation. + Actual evaluation and notifications remain active work, not complete. + +--- + ## 2026-10-03 — Coordinated Board Reconciliation [CODEX, in progress] Lane: `codex/board-completion-20261003` at @@ -15,8 +33,8 @@ Coordination packet: https://fleetlink.online/codecaps-board-20261003. - Baseline `87544c2` has no open PRs and successful Swift CI, secret scan, and Mac Release checks. The initial board has 24 open/in-progress rows; GitHub has 11 open issues. Each stale item is checked against current code. -- Confirmed completed and reconciled on the board: runaway alerts - `20dc3a22` (#109), contrast `966fdffc` and row alignment `01b6d75a` +- Initially reconciled, then corrected below: runaway alerts `20dc3a22` + were not complete. Confirmed completed on the board: contrast `966fdffc` and row alignment `01b6d75a` (#111), custom marks `6a375482` (#103/#115), visual assets `eafb250b` (#113/#115/#117/#118), and reset sound options `2b922851` (#43). Cross-device push remains separately tracked in issue #42. From bdf2027ff7117e3146266e55131e1827d8b4d7e6 Mon Sep 17 00:00:00 2001 From: Jay Wedgeworth <12656028+jaywedgeworth22@users.noreply.github.com> Date: Sat, 3 Oct 2026 17:42:44 -0500 Subject: [PATCH 2/2] Compact the console toolbar so titles and search fit. --- Sources/CodeCaps/ConsoleViews.swift | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Sources/CodeCaps/ConsoleViews.swift b/Sources/CodeCaps/ConsoleViews.swift index c6b5bcac..815e0c5b 100644 --- a/Sources/CodeCaps/ConsoleViews.swift +++ b/Sources/CodeCaps/ConsoleViews.swift @@ -230,24 +230,8 @@ struct ConsoleView: View { // start of "Antigravity · Gemini · Third-Party" legible. .layoutPriority(1) .truncationMode(.tail) - Spacer(minLength: 8) + .frame(minWidth: 200, alignment: .leading) if !state.page.isSettings { - // The compact/detailed toggle only affects the All Platforms - // grid (column widths and the per-card row count). On every - // other page it was a dead control that pushed the search - // field and the page title into truncation. Hide it - // everywhere the value does not have a visible effect. - if state.page == .allPlatforms { - Picker("Layout", selection: $model.viewLayout) { - ForEach(QuotaViewLayout.allCases) { Text($0.title).tag($0) } - } - .pickerStyle(.segmented) - .labelsHidden() - .frame(width: 168) - .help("Quota Layout") - .accessibilityLabel("Quota Layout") - } - HStack(spacing: 5) { Image(systemName: "magnifyingglass") .font(.system(size: 11)) @@ -262,10 +246,26 @@ struct ConsoleView: View { .padding(.vertical, 5) .background(Theme.surface, in: RoundedRectangle(cornerRadius: 6)) .overlay(RoundedRectangle(cornerRadius: 6).strokeBorder(Theme.hairline)) - .frame(width: 180) + .frame(minWidth: 120, idealWidth: 180, maxWidth: 180) .help("Find a Platform") .accessibilityLabel("Find a Platform") + + // Layout only changes the All Platforms grid. Keep its + // control compact and adjacent to search instead of spending + // 168pt on a segmented picker in the toolbar. + if state.page == .allPlatforms { + Menu { + Picker("Quota Layout", selection: $model.viewLayout) { + ForEach(QuotaViewLayout.allCases) { Text($0.title).tag($0) } + } + } label: { + Image(systemName: "slider.horizontal.3") + } + .help("View Options") + .accessibilityLabel("View Options") + } } + Spacer(minLength: 8) Button { model.refresh() } label: { Image(systemName: "arrow.clockwise").frame(width: 18, height: 18)