13-07-2025
Pre-release
Pre-release
🚀 Major Architectural Refactor & Content Management Overhaul
This release introduces a significant architectural refactor of the application, aligning the data models and state management with recent backend updates. We have renamed core data models (Category -> Topic), overhauled the AuthenticationBloc for better consistency, and introduced dedicated UIs for managing content types.
These changes establish a more robust, maintainable, and consistent foundation for the application, while also enhancing content management capabilities.
✨ Key Features & Enhancements
Architectural & Core Model Updates
- Core Model Renaming: The
Categorydata model has been renamed toTopicthroughout the entire application, including repositories, BLoCs, and UI components. Similarly,AppConfigis nowRemoteConfigto better reflect its purpose. - Centralized App Configuration: Application status and update settings are now cohesively managed within the
RemoteConfigmodel, providing a more streamlined approach to configuration.
Enhanced Content Management
- Dedicated Topic Management: The app now features dedicated pages and business logic (BLoCs) for creating and editing
Topicentities, providing a structured UI for managing content categories. - Richer Headline Data: The
Headlinemodel has been enhanced with new fields, includingexcerpt(which replaces the previousdescriptionfield) andeventCountry.
🔧 State Management & Technical Refinements
- Refactored Authentication State: The
AuthenticationBlochas been significantly refactored. Its numerous states have been consolidated into a singleAuthenticationStateclass, managed by anAuthenticationStatusenum, which simplifies state transitions and improves code maintainability. - Updated Role Management: The
AppBlochas been updated to align with the newDashboardUserRoleandAppUserRoleenums from the backend, ensuring user permissions are handled correctly. - Structured Logging: The
loggingpackage has been integrated across key BLoCs, replacingprintstatements with structured and more informative logging. - Improved Data Querying: Data fetching operations now consistently use
PaginationOptionsandSortOptionobjects for clearer and more flexible API queries. - Dependency Updates: Several internal
ht-*package dependencies have been updated, and new packages likelogginganduuidhave been added to support new features.