21-07-2025
🚀 Architectural Refactor: Adopting the Shared UI Kit
This release marks a substantial architectural refactoring of the dashboard application, focused on centralizing our user interface components and standardizing the look and feel.
We have migrated all common UI widgets, themes, and utilities from the local lib/shared directory into our new, shared ht_ui_kit package. This change significantly reduces code duplication, ensures a consistent visual experience across our suite of apps, and improves the long-term maintainability of the codebase.
✨ Key Changes & Enhancements
- Shared UI Kit Integration: All common UI components, including spacing definitions, themes, and shared widgets like
FailureStateWidgetandLoadingStateWidget, have been moved into theht_ui_kitpackage. - Centralized Localization Access: The method for accessing localized strings has been standardized. The application now uses the
AppLocalizationsX(context).l10nextension provided by the UI kit, ensuring consistency. - Simplified Project Structure: The local
lib/shareddirectory and its contents have been removed, resulting in a cleaner, more streamlined project structure with less redundant code to maintain locally. - Dependency & Code Cleanup: Dependencies have been updated to align with the new shared packages. Obsolete logic, such as local
timeagomessages and thekIsWebparameter for the HTTP client, has been removed as this is now handled by the shared libraries.