mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-18 02:35:23 -04:00
459b825daa
The previous 'Add Models' card had two collapsible folds (Local + API) inside it and 'Added Models' had two inline subsections. Both folded states added a click-to-expand step that wasn't earning its keep — users coming to Settings to add a model don't want a fold, they want the form. Reshape: four flat admin-cards in the Services panel, each with its own h2 title matching the rest of Settings: Add Local Model (was Add Models → Local fold) Add API (was Add Models → API fold) Added Local Models (was Added Models → Local subsection) Added API Endpoints (was Added Models → API subsection) The collapsible JS hook in admin.js already guards on 'if (!head) return' so removing the .adm-section-toggle headers turns it into a clean no-op — no breakage. All input/list IDs preserved (adm-epLocalUrl, adm-epList-local, adm-epList-api, etc.) so the rest of admin.js continues to work unchanged. Probe / Clear-offline live on the Local card and act on both lists together (existing behavior).