File Details
101
- R
- May 2, 2026
- 300.36 KB
- 3
- 12.0.5
- Retail
File Name
BazCore-101.zip
Supported Versions
- 12.0.5
BazCore
101 (2026-05-02)
Full Changelog Previous Releases
- BazCore v101 - SecureActionPopup primitive + floating CPU Mini Monitor. Two new reusable surfaces. (1) SecureActionPopup.lua - generic BazCore:CreateSecureActionPopup factory for popup grids of secure action buttons, designed for the BazBars flyout feature but built domain-agnostic so any future Baz addon can use it. Chrome via BackdropTemplate (Blizzard tooltip atlas defaults, overridable per popup), grid layout from rows*cols cells, direction-aware anchoring (UP/DOWN/LEFT/RIGHT), per-popup hidden SecureHandlerClickTemplate proxy that toggles via SAB's type=click + clickbutton/clickbutton2 so right-click on the trigger opens the popup without colliding with the trigger's own OnClick dispatcher. Click-outside dismissal uses GLOBAL_MOUSE_UP (not _DOWN) so drag pickups from spellbook / mount journal aren't read as click-outside. New popup:SetSticky(true) suppresses click-outside dismissal entirely - used when the popup is acting as a live preview while another dialog is up. Cell construction filters PostClick(down=true) so drag-out from a cell doesn't fire hideOnCast on the down click. Cells inherit the same PreClick stash pattern BazBars buttons use so dropping back into a cell after picking up works. (2) CPUMiniMonitor.lua - small floating top-N CPU window. Subscribes to the same shared sampler the full CPU page uses so the ticker stays cheap and cohesive. Draggable, position + visibility persisted via BazCoreDB.cpuMini. Mode toggle (Baz / All): Baz scope reads from the existing per-Suite sampler, All scope runs its own delta computation over every loaded addon via C_AddOns.GetNumAddOns + GetAddOnInfo + GetAddOnCPUUsage so third-party hitches surface too. Color-coded share (orange >=40%, gold >=20%, white otherwise) per row. Registered with LibBazWidget-1.0 so widget hosts can dock the monitor as a regular widget (status text shows total ms/sec). Show/Hide button on the CPU page (new cpuMiniToggle block at order 4) and /bazcpu mini slash. CPU page exposes new public API for sibling modules: BazCore:SubscribeCPU, GetCPUStateRef, CPUGetTrackedAddons, CPUFormatRate, CPUGetAddonDisplayName. (3) Popup.lua MakeFieldOpt now forwards field.live to range widgets, and Options/WidgetFactories range slider's OnValueChanged fires opt.set mid-drag when opt.live is true - existing consumers (Categories.Reorder etc.) keep the once-on-release commit by default. Used by BazBars flyout config form so its grid sliders update the live flyout preview frame-by-frame instead of only on slider release, bump to 101