rdmbair15m5-changelog-20260921-1216-replicantdb-menubarextra-ui-integration
rdmbair15m5-changelog-20260921-1216-replicantdb-menubarextra-ui-integration
Integrated native SwiftUI MenuBarExtra status item and popover metrics panel with universal RTTy chart palette styling and anti-jitter display.
Scope
- Hosts:
rdmbair15m5(working tree),rdmsm4x(canonical root),git.ecs0.net, GitHub backup - Repositories:
apps/replicantDB(main@392d07f)
Changes Made
MenuBarExtraWindow Integration (ReplicantDBApp.swift):- Added native macOS
.windowstyleMenuBarExtratoReplicantDBApp. - Connected
ReplicantDBMenuBarLabelViewas status bar label andReplicantDBMenuBarPopoverViewas interactive popover panel.
- Added native macOS
- Status Item Label
(
ReplicantDBMenuBarLabelView.swift):- Monospaced file count display with 4pt slot snapping via
ECS0AntiJitter.snapSlotLength. - Cylinder storage icon dynamically tinted by
ECS0ChipColorProfile. - Dark pill backing plate styled via
.ecs0MenuBarPill.
- Monospaced file count display with 4pt slot snapping via
- Metrics & Progress Popover
(
ReplicantDBMenuBarPopoverView.swift):- Pipeline stages: Hashing, Taxonomy, and Purpose assignment progress bars.
- Live metrics overview: total files, indexed count, storage footprint, and duplicate group count.
- Interactive settings: 28-palette picker
(
ECS0MenuBarChartPalette), chip color profile picker, and plate style picker.
- Shared Settings
(
ReplicantDBSettings.swift):- MainActor observable settings with standard
UserDefaultsbacking for user interface customizations.
- MainActor observable settings with standard
- Continuity & Documentation:
- Updated
STATUS.mdandSESSION-STATE.mdwith new test count (1,456 tests across 134 suites, 0 failures).
- Updated
Verification Evidence
swift test: 1,456 tests passed across 134 test suites with 0 failures (100% green) in 248.8s.swift build: Compilation cleanly succeeded with 0 warnings/errors under Swift 6 strict concurrency.- Git 4-way parity: Commit
392d07fpushed togit.ecs0.net, GitHub backup, and fast-forwarded tordmsm4x:~/dev/apps/replicantDB.
Rollback & Undo
- Revert commit:
git revert 392d07f