-
Notifications
You must be signed in to change notification settings - Fork 0
Implementing a robust drafting feature for headline content management #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fulleni
merged 88 commits into
main
from
Implementing-a-Robust-Drafting-Feature-for-Headline-Content-Management
Sep 22, 2025
Merged
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
4cdabcb
feat(l10n): add Arabic and English translations for draft management ...
fulleni 5e754b2
feat(router): add draft headlines route and page
fulleni 6ca7758
feat(content_management): add draft headlines management state fields
fulleni 00185bf
feat(content_management): add drafts tab and implement load draft hea...
fulleni 21bac98
feat(content_management): add draft saving and publishing functionali...
fulleni dce3f6b
feat(content_management): add events for saving and publishing headlines
fulleni d949270
feat(content_management): add save as draft and publish functionality
fulleni 14dc5e0
feat(content_management): add events for saving and publishing headlines
fulleni 06a2c4a
feat(content_management): enhance headline editing functionality
fulleni 16908d9
feat(content_management): add draft headlines functionality
fulleni 95e55a1
feat(content_management): enhance create headline functionality
fulleni ac06267
feat(content_management): add draft headlines page
fulleni c329225
feat(content_management): implement DraftHeadlinesState for BLoC
fulleni 992141d
feat(content_management): add draft headlines events
fulleni 8ab8747
feat(content_management): implement DraftHeadlinesBloc
fulleni 06d0bdf
fix(shared): ensure initial selected item is included in selection page
fulleni 5be6b1f
feat(searchable_selection_input): add includeInactiveSelectedItem option
fulleni 6f6d2b3
feat(SelectionPageArguments): add includeInactiveSelectedItem parameter
fulleni 16318d5
fix(content_management): remove outdated comments and clean up code
fulleni 2c05ab3
feat(l10n): add Arabic and English translations for content drafts
fulleni 405c0ce
refactor(content_management): remove draft headlines feature
fulleni 8a24842
refactor(content_management): remove draft-related properties from Co...
fulleni eb26a64
refactor(content_management): relocate draft items to the main page
fulleni 7b759a8
refactor(content_management): reimplement DraftHeadlinesPage as a Sta...
fulleni 8afce44
feat(content_management): add draft sources page placeholder
fulleni 8002118
feat(content_management): add draft topics page placeholder
fulleni 50e799d
feat(router): add routes for draft topics and sources
fulleni 76fad1d
feat(router): add routes for draft sources and topics
fulleni 3b49f58
refactor(content_management): remove contentStatus from CreateHeadlin...
fulleni a9099c1
refactor(content_management): remove unused events
fulleni 29c8113
refactor(create-headline): remove unused code and improve draft savin...
fulleni 3ab6b3d
refactor(create-source): remove unused contentStatus field
fulleni a352ccd
refactor(content_management): add create source draft and publish events
fulleni 09fd5ac
feat(content_management): implement save as draft and publish source
fulleni 51f5ac5
feat(content_management): implement save as draft and publish topic f...
fulleni e2c2981
refactor(content_management): replace status change event with publis...
fulleni fe9db62
refactor(content_management): remove unused contentStatus from Create...
fulleni ed6853f
refactor(content_management): remove unused event handlers and update...
fulleni 57dc1af
refactor(content_management): remove unused events
fulleni 598bbdd
refactor(content_management): remove contentStatus from EditHeadlineS...
fulleni 1b7e67f
refactor(content_management): separate save as draft and publish func...
fulleni 06a93c6
refactor(content_management): update edit source events
fulleni 85b59be
refactor(content_management): remove unused contentStatus field
fulleni a2d2c57
refactor(content_management): update EditTopicBloc for topic draft sa...
fulleni 08f6ab7
refactor(content_management): update edit topic events
fulleni 29913ac
refactor(content_management): simplify EditTopicState
fulleni e002928
refactor(content_management): remove unused import
fulleni d59e333
refactor(content_management): replace status input with save options ...
fulleni 16e129e
feat(content_management): implement save options and form validation ...
fulleni f89ba90
refactor(content_management): improve create topic flow
fulleni c9e8035
refactor(content_management): replace status input with save options ...
fulleni 8413fe9
refactor(content_management): improve save functionality and remove s...
fulleni ce20f47
refactor(content_management): improve topic save functionality
fulleni 95617e2
feat(l10n): add translations for save dialog
fulleni 17fef27
refactor(searchable_selection_input): pass includeInactiveSelectedIte...
fulleni 8a72807
fix(shared): apply default active status filter in searchable selection
fulleni 9c19aa2
feat(l10n): add Arabic and English translations for draft topic and s...
fulleni a656310
feat(content_management): implement DraftSourcesState for BLoC
fulleni b2a8fad
feat(content_management): add draft sources events
fulleni a905f81
feat(content_management): implement DraftSourcesBloc for source draft...
fulleni d947ac1
feat(content_management): implement DraftTopicsState for BLoC
fulleni 19e0a67
feat(content_management): add draft topics bloc events
fulleni d2b935a
feat(bloc): implement DraftTopicsBloc for topic management
fulleni 4c1623d
refactor(content_management): remove unnecessary comments
fulleni 8248921
feat(content_management): implement draft sources page
fulleni c7ec00a
feat(content_management): implement draft topics page functionality
fulleni 1a48a18
refactor(content_management): remove form validity checks
fulleni 53bfac6
refactor(content_management): remove form validity checks
fulleni 71d58f1
refactor(content_management): remove form validity checks before savi...
fulleni 104fc6b
refactor(content_management): remove form validity check
fulleni 9a491f0
refactor(content_management): remove form validity checks before savi...
fulleni 724565c
refactor(content_management): remove form validity checks before savi...
fulleni fa2f2d9
refactor(content_management): remove unused dialog and improve save b...
fulleni 51de49c
refactor(create-source): remove unused dialog and simplify save butto...
fulleni 548b768
refactor(content_management): remove unused dialog and simplify save ...
fulleni aed6b9b
refactor(content_management): simplify headline editing and remove pr...
fulleni 3a8bd24
refactor(content_management): simplify source editing save functionality
fulleni fccfaa0
refactor(content_management): simplify edit topic save functionality
fulleni 7342b6c
refactor(bloc_observer): simplify state change logging
fulleni 590cdd3
docs(README): update content management descriptions
fulleni b592ea6
style(content_management): update action button icons
fulleni a61b70e
refactor(content_management): improve list handling in DraftHeadlines...
fulleni b515a80
fix(content_management): optimize source publishing process
fulleni 8a7503c
perf(content_management): optimize topic list handling
fulleni bb2a71e
fix(content_management): handle null values in DraftHeadlinesState
fulleni 56870d5
fix(content_management): handle null values in DraftSourcesState
fulleni c2da7f8
fix(content_management): preserve snackbar data across state changes
fulleni c515c91
refactor(content_management): replace FailureStateWidget with SnackBa...
fulleni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(content_management): add draft sources page placeholder
- Create a new stateless widget for displaying draft sources - Add basic layout with app bar and centered text - Implement localization using context.l10n
- Loading branch information
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
lib/content_management/view/draft_sources_page.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import 'package:flutter/material.dart'; | ||
| import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart'; | ||
|
|
||
| /// {@template draft_sources_page} | ||
| /// A placeholder page for displaying draft sources. | ||
| /// {@endtemplate} | ||
| class DraftSourcesPage extends StatelessWidget { | ||
| /// {@macro draft_sources_page} | ||
| const DraftSourcesPage({super.key}); | ||
|
|
||
| @override | ||
| Widget build(BuildContext context) { | ||
| final l10n = context.l10n; | ||
| return Scaffold( | ||
| appBar: AppBar( | ||
| title: Text(l10n.draftSources), | ||
| ), | ||
| body: Center( | ||
| child: Text(l10n.draftSources), | ||
| ), | ||
| ); | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.