ui : add the models manager
The Issue & Context
Previously, managing machine learning models on the server involved disparate or minimal interfaces without unified controls for loading, favoriting, downloading, or filtering models.
Root Cause Analysis
The lack of an integrated UI and data layer made it difficult for users to efficiently view model details, manage downloads, and switch models, especially across different devices and server configurations.
Solution Strategy & Architectural Pattern
Introduced a new 'Manage models' dialog featuring sortable tables, expandable rows, search and filters, and detailed model configuration panes. Added a shared data store for model state persisted in localStorage and reworked the model selector UI for consistency across desktop and mobile. Enhanced mobile experience with drawers and floating action bars, and implemented caching and request deduplication for Hugging Face Hub metadata.
Key Takeaway for Contributors
Centralizing model management with a rich, responsive UI and a unified state layer greatly improves usability and control, supporting diverse workflows and devices while optimizing network usage.