-
Couldn't load subscription status.
- Fork 0
Releases: flutter-news-app-full-source-code/flutter-news-app-web-dashboard-full-source-code
v1.2.0
9704188 Enhanced Source Management & Robust Environment Configuration
This release introduces a key enhancement to our content management capabilities by allowing administrators to associate a logo with each news source. In parallel, we have significantly refactored the application's underlying configuration management to be environment-aware, leading to safer and more reliable deployments across development and production stages.
image🖼️ Richer Source Identification
To improve content branding and visual recognition, we have expanded the data model for news sources.
- 🔗 Administrators can now add a 'Logo URL' when creating or editing a source, allowing for richer visual representation in consumer applications. #107
⚙️ Foundational Stability & Deployment
The application's deployment and configuration process has been overhauled to ensure greater stability and flexibility.
- 🛠️ The application now uses environment-aware configurations, loading settings like the API URL at compile-time to prevent misconfigurations in production builds. #106
- 📦 Core project dependencies have been updated to their latest versions to ensure continued stability and access to the latest features. #107
Assets 2
v1.1.0
59b4e65 Enhanced User Role Configuration & Improved UI Consistency
This release introduces greater administrative control by allowing the configuration of feature limits based on user roles. Additionally, a comprehensive terminology update improves clarity throughout the dashboard, creating a more intuitive experience for users and streamlining future development.
⚙️ Granular User Role Configuration
To provide more flexible management of user capabilities, this update introduces the ability to set specific limits on the number of saved feed filters for different user roles.
- 🔧 Administrators can now define custom limits for saved feed filters for guest, standard, and premium users via a new form in the feed configuration tab. #100
Assets 2
26-09-2025
9d582f7 Unified Content Management, Drafting System & UI Overhaul
This is a major architectural release for the dashboard, introducing a comprehensive content drafting system and a ground-up refactoring of the content and local ad management sections. The changes centralize state management, introduce powerful filtering capabilities, and significantly improve the overall user experience and UI consistency.
image📝 Content Drafting & Unified Management
A full drafting system has been implemented for headlines, topics, and sources. The entire content management architecture has been consolidated to support this new workflow and streamline state.
- Drafting System: Users can now save content as a draft before publishing. Dedicated pages have been added to manage, edit, publish, or delete drafts. [#80]
- Consolidated Content BLoC: The separate BLoCs for draft, archived, and active content have been removed and their logic consolidated into a single, robust
ContentManagementBloc. [#91] - Dedicated Filter BLoCs: New, dedicated BLoCs (
HeadlinesFilterBloc,TopicsFilterBloc, etc.) now manage the state of filtering criteria, decoupling filter logic from the main content BLoC. [#91] - Advanced Filter Dialog: A new
FilterDialoghas been implemented, providing a comprehensive interface for users to filter content by search query, status, sources, topics, and more. [#91] - Centralized Undo/Deletion: The
PendingDeletionsServicehas been integrated directly into the central BLoCs for content and local ads, providing a consistent and robust optimistic "undo" experience for all deletions. [#79, #87]
📢 Local Ads Management Overhaul
The local ads management section has been completely redesigned for a more organized, scalable, and feature-rich user experience.
- Modular Ad Type Pages: The previous single table has been replaced with dedicated pages for Native, Banner, Interstitial, and Video ad types, providing a more organized interface. [#93]
- Save as Draft for Ads: The ad creation workflow now supports saving ads as a draft or publishing them directly. [#93]
- Ad Filtering: A new
FilterLocalAdsBlocand a dedicated filter dialog have been introduced, allowing users to search and filter local ads by title/URL and status. [#93] - Simplified Ad Status: The ability for users to manually set a
contentStatusduring ad creation/update has been removed. New ads are now alwaysactiveby default, simplifying the UI and BLoC logic. [#88]
🎨 UI/UX & Ad Configuration Refinements
Significant changes have been made to improve the application's UI consistency, navigation, and the flexibility of ad configuration.
- AppShell Refactor: The main app shell was refactored to remove the
AppBarand integrate navigation actions (Settings, Sign Out) directly into theAdaptiveScaffold's navigation rail for a more modern UI. [#92] - New
AboutIconWidget: A new reusable widget has been introduced to display contextual information about a page or section in a dialog, improving user guidance. [#92] - Role-Based Ad Configuration: Ad settings are now explicitly configurable per user role (Guest, Standard, Premium). The previously hardcoded ad-free experience for premium users has been removed, making their ad settings fully configurable. [#85]
- Streamlined Tables: The redundant "status" column has been removed from all main content management tables, and action buttons in archive views have been consolidated into a
PopupMenuButtonto prevent UI overflow. [#89, #90]
🛠️ Project Health & Maintenance
- Dependency Pinning: All git-based dependencies in
pubspec.yamlhave been pinned to specific commit hashes to ensure consistent and reproducible builds. [#86] - README Overhaul: The main
README.mdfile was completely restructured with collapsible sections to better organize and showcase the dashboard's features. [#78]
Assets 2
08-09-2025
📢 Local Ad Management, Config UI Overhaul & Performance Optimizations
This is a major release for the web dashboard, introducing a comprehensive system for managing local ads, a ground-up refactoring of the application configuration UI for better modularity, and significant architectural changes to improve user experience and performance.
📢 Local Ad Management System
A complete system for managing self-hosted advertisements has been integrated into the dashboard. This allows administrators to directly control and deploy various types of ads without relying on external ad networks.
- Added a full suite of UI pages and forms for creating, editing, archiving, and restoring local ads, supporting native, banner, interstitial, and video ad types. [#74]
- Integrated new data clients and repositories for
LocalAdentities to ensure seamless data handling. [#74] - Expanded localization with numerous new strings for local ad management and generalized existing ad-related terminology. [#74, #76]
⚙️ App Configuration & Content Management Refactor
The core sections for managing application settings and content have been significantly re-architected to improve usability, maintainability, and user experience.
- Modular Configuration UI: The monolithic App Configuration page has been broken down into dedicated, tab-based components (
Feed,Advertisements,General), making the settings easier to navigate and manage. [#72, #73] - Centralized Selection Component: Replaced disparate dropdowns across content management forms with a new, generic
SearchableSelectionInputwidget, providing a consistent UI with search and pagination for selecting items like topics, sources, and countries. [#69] - Decoupled BLoC Logic: Refactored the Create/Edit BLoCs to be leaner by decoupling them from the responsibility of fetching and managing lists of related entities, which is now handled by the new generic selection components. [#69]
- Reactive Data Updates: The
ContentManagementBlocnow listens toentityUpdatedstreams from data repositories for more automatic and efficient UI updates, removing the need for explicit event dispatches. [#69] - Optimized Data Fetching: Added conditional checks to prevent redundant API calls for headlines, topics, and sources when switching tabs if the data is already loaded. [#71]
- Granular Ad Settings: The ad configuration UI was further refactored to introduce a global ad enable/disable switch and provide more granular control, such as selecting a specific
BannerAdShapefor article ads. [#75, #77]
🎨 UI/UX & Theming Improvements
Several changes were made to improve visual consistency and clarity throughout the dashboard.
- "Dashboard" to "Overview" Renaming: Systematically renamed the "dashboard" feature to "overview" across UI elements, localization files, BLoCs, and file structures for better clarity. [#66]
- Consistent Web Theming: Wrapped the main router content in a
Scaffoldto apply a consistent, theme-adaptive background color outside of the central content area, improving the visual presentation on wider screens. [#67] - Localization Refinements: Updated UI text to be more concise and accurate, such as clarifying that content management pertains to the "mobile application". [#68, #70]
Assets 2
12-08-2025
🚀 Configuration UI Overhaul & Core Model Updates
This release focuses on significantly improving the usability of the dashboard's configuration and settings pages. We've introduced a major UI overhaul to reduce clutter and fix common workflow annoyances. Additionally, we've updated core data models and logic to make the system more robust and flexible for future enhancements.
✨ A Modernized Configuration Experience
The App Configuration and Settings pages have been redesigned to be more intuitive and less overwhelming, especially for complex setups.
Our Goal: To improve navigation and reduce visual clutter, allowing administrators to focus on one section at a time without getting lost on a long page.
- Collapsible Sections: All major configuration areas are now wrapped in collapsible
ExpansionTilewidgets. You can now expand only the section you need to edit, keeping the rest of the page tidy. - Intuitive Text Editing: We've fixed a common Flutter UI issue where the cursor would jump to the beginning of a text field during an update. The cursor now correctly stays at the end of the text, providing a much smoother editing experience.
- Dynamic Decorator Management: The "Feed Decorators" section is now more intelligent. It dynamically displays all available decorator types, even if they aren't configured yet, making it easier to manage all options from a single place.
🛠️ Foundational Upgrades & Refactoring
We've made several important changes under the hood to align with recent API updates and improve maintainability.
- Introducing "Feed Decorators": The old "Account Actions" system has been refactored into a more flexible "Feed Decorators" system. This provides a clearer and more powerful way to configure how content is presented in the user's feed.
- New
LanguageModel: The dashboard no longer treats language as a simple text string. It now utilizes a properLanguageobject, ensuring more robust and consistent handling of language-specific settings. - Centralized App Constants: Common values, like the maximum app width, have been moved into a central
AppConstantsclass. This improves code organization and ensures consistency across the application.
🐛 Other Fixes & Improvements
- Remote Config Fix: Corrected a bug where timestamps (
createdAtandupdatedAt) were not being handled properly when updating a remote configuration. - Expanded Localization: Added new translation keys to support the new "Feed Decorators" system and to provide localized names for user roles and enums.
- Dependency Updates: Several packages have been updated to their latest versions, including
go_router, to ensure the project remains secure and up-to-date.
Assets 2
03-08-2025
bb79b70 🚀 Release: Archiving, Data Loading, and UI Enhancements
This release introduces significant backend and data handling improvements to the dashboard. The changes focus on ensuring data integrity through a new archiving system, intelligently working around UI component limitations for data loading, and refining the overall user experience.
🗑️ Content Archiving for Data Integrity
We've implemented a content archiving workflow to act as a soft-delete mechanism. This was a necessary architectural change driven by how our document-based backend operates.
Technical Rationale: Directly deleting a document (like a 'source') could break data integrity, as other documents (like 'headlines') might still reference it. Archiving preserves these essential links while effectively removing the content from active use.
- New Workflow: Instead of being deleted, content items are now moved to an 'archived' state. New pages have been added to view and manage this archived content.
- Controlled Deletion: To maintain data integrity, only the primary container item—a headline—can be permanently deleted, and only from within the archive page itself.
- Undo Safety Net: A 5-second "Undo" option now appears after a headline is permanently deleted from the archive, providing a buffer to prevent accidental data loss.
⚡ Refactoring Data Loading for UI Consistency
This release changes how we load data into dropdown menus (e.g., country and language lists). This was a deliberate engineering tradeoff to maintain a consistent UI across the app.
- The Challenge: The standard
DropdownButtonFormFieldwidget we use for UI consistency does not support scroll detection, making it impossible to load more data as a user scrolls (on-demand pagination). - Our Solution: We now pre-fetch the required data. When a form is opened, a
ThrottledFetchingServiceintelligently loads the complete list of items in the background. This process is designed to be efficient and not block the UI. - The User Experience: While the data is being loaded, the dropdown is temporarily disabled and shows a "Loading full list..." message. Once the fetch is complete, the dropdown becomes active with the full list of options.
🛠️ Other Notable Improvements
- Authentication Polish:
- A 60-second cooldown has been added to the "Send Code" button to prevent abuse.
- The verification code entry now uses a cleaner
Pinputwidget for a better visual experience.
- Reactive Dashboard: The main dashboard summary now listens for content changes and updates its statistics automatically, eliminating the need for manual refreshes.
- Consistent Data Sorting: Fixed a bug to ensure all content lists are now correctly sorted by their
updatedAttimestamp, always showing the most recently modified items first. - Active Content Filtering: Data fetches for content management now correctly filter out archived items, ensuring only active content is shown in lists and forms.
Assets 2
23-07-2025
b9f5f1b 🚀 Foundational Refactoring & Rebranding
This release introduces a breaking, project-wide refactoring to standardize our internal package structure and update the project's public-facing brand. The ht_ prefix has been removed from all internal packages to improve clarity and maintainability.
This is a comprehensive change that touches nearly every file, re-establishing the project's identity and creating a cleaner, more conventional codebase for future development.
✨ Key Changes & Enhancements
Package Renaming & Standardization
- Internal Packages Renamed: All internal packages, previously prefixed with
ht_(e.g.,ht_auth_repository), have been renamed to remove the prefix (e.g.,auth_repository). This required a complete update of allimportstatements and class references. - Standardized Error Handling: As part of this effort, the custom
HtHttpExceptionhas been replaced with the more standardHttpExceptiontype across the application.
Branding & Documentation Updates
- Project Rebranded: The project's public-facing brand has been officially updated from "Headlines Toolkit" to "Flutter News App Dashboard".
- Documentation & Metadata Updated: This new branding is reflected across the
README.md, the web pagetitle, and themanifest.jsonapplication name.
🔧 Tooling & Maintenance
- Dependabot Configuration: The Dependabot configuration has been updated to explicitly list the newly renamed internal packages, ensuring our dependency management tools continue to work correctly.
Assets 2
21-07-2025
96c3f6d 🚀 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.
Assets 2
14-07-2025
174c678 ✨ UI Overhaul & Foundational Refinements
This release introduces a complete overhaul of the App Configuration screen, making it significantly more organized and user-friendly. Alongside this visible change, we've executed a major refactoring of our error handling and localization systems, resulting in a more robust, maintainable, and stable application.
🎨 UI Overhaul: Tab-Based App Configuration
The App Configuration page has been completely redesigned, moving from a single long list to a clean, tab-based interface. This makes it much easier and faster for administrators to find and manage specific settings.
- Categorized Settings: Configurations are now logically grouped under new 'Feed', 'Advertisements', and 'General' tabs.
- Improved Modularity: The previous 'Operational Status' section has been split into more focused 'Maintenance Mode' and 'Force App Update' sections for better clarity.
🛡️ Robust Error Handling & Stability
The application's error handling system has been fundamentally refactored to be more structured, informative, and user-friendly.
- Exception-Driven Errors: We've replaced simple string-based error messages with a structured, exception-driven approach (
HtHttpException). This provides richer information for both debugging and user feedback. - Localized, User-Friendly Messages: All user-facing error messages are now context-aware and localized, providing clear, helpful feedback instead of generic error text. A central
FailureStateWidgetensures this experience is consistent across the entire app.
🌍 Enhanced Localization & Code Maintainability
A major effort was undertaken to improve our internationalization infrastructure and overall code quality.
- Centralized UI Text: Numerous hardcoded UI strings (labels, descriptions, prompts) have been migrated into our localization files, making the app easier to translate and maintain.
- Dynamic Localization: The system now supports dynamic localization, allowing UI text to adapt based on user context, such as their role (Guest, Standard, etc.).
- Improved Maintainability: To reduce errors and improve readability, hardcoded repository IDs have been replaced with named constants, and redundant code comments have been removed.
Assets 2
13-07-2025
🚀 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.