Changeset 0.10.5 (#61)

This commit is contained in:
2026-02-25 00:18:03 +00:00
parent e5ee78c498
commit d2ec55b16d
16 changed files with 1643 additions and 801 deletions

View File

@@ -29,6 +29,8 @@ v0.10.3 Frontend Refactor (no features, code health)
v0.10.4 Model Type Pipeline + Role Fixes
v0.10.5 UI Primitives + Extension Surfaces
┌───────┴──────────────┐
│ │
v0.11.0 Extension v0.12.0 File Handling
@@ -501,6 +503,28 @@ filter models by type instead of showing everything.
---
## v0.10.5 — UI Primitives + Extension Surfaces ✅
Consolidate duplicated UI patterns into shared primitives with extension-ready
interfaces. Pre-extension infrastructure: the primitives we build now become
the `ctx.*` extension API surface in v0.11.0 with no rewrite needed.
- [x] `Providers` registry — single source of truth for types, labels, endpoints
- [x] `Roles` registry — names, type filters, hints
- [x] `renderCapBadges()` — consolidates 3 badge builders (compact + detailed modes)
- [x] `renderProviderForm()` — replaces 3 form implementations, dual-mode create/edit
- [x] `renderProviderList()` — replaces 3 list renderers, event delegation
- [x] `renderRoleConfig()` — replaces 2 role UIs + 4 handlers
- [x] `renderUsageDashboard()` — replaces 3 usage renderers (compact + full)
- [x] Admin provider form gets endpoint auto-fill (was missing)
- [x] Team provider form consolidated from 2 separate forms to 1 dual-mode
- [x] Removed ~360 lines of duplicated code + ~40 lines of static HTML
- [x] `showConfirm()` — styled confirm dialog replacing all 16 native `confirm()` calls
- [x] `.popup-menu` shared CSS + `createPopupMenu()` primitive for consistent menus
- [x] Sidebar collapse icon always visible (dimmed), brightens on hover
---
## v0.11.0 — Extension Foundation (Browser Tier)
The platform play. See [EXTENSIONS.md](EXTENSIONS.md) for full spec.