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
FailureStateWidget
andLoadingStateWidget
, have been moved into theht_ui_kit
package. - Centralized Localization Access: The method for accessing localized strings has been standardized. The application now uses the
AppLocalizationsX(context).l10n
extension provided by the UI kit, ensuring consistency. - Simplified Project Structure: The local
lib/shared
directory 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
timeago
messages and thekIsWeb
parameter for the HTTP client, has been removed as this is now handled by the shared libraries.