Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
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 Sep 22, 2025
5e754b2
feat(router): add draft headlines route and page
fulleni Sep 22, 2025
6ca7758
feat(content_management): add draft headlines management state fields
fulleni Sep 22, 2025
00185bf
feat(content_management): add drafts tab and implement load draft hea...
fulleni Sep 22, 2025
21bac98
feat(content_management): add draft saving and publishing functionali...
fulleni Sep 22, 2025
dce3f6b
feat(content_management): add events for saving and publishing headlines
fulleni Sep 22, 2025
d949270
feat(content_management): add save as draft and publish functionality
fulleni Sep 22, 2025
14dc5e0
feat(content_management): add events for saving and publishing headlines
fulleni Sep 22, 2025
06a2c4a
feat(content_management): enhance headline editing functionality
fulleni Sep 22, 2025
16908d9
feat(content_management): add draft headlines functionality
fulleni Sep 22, 2025
95e55a1
feat(content_management): enhance create headline functionality
fulleni Sep 22, 2025
ac06267
feat(content_management): add draft headlines page
fulleni Sep 22, 2025
c329225
feat(content_management): implement DraftHeadlinesState for BLoC
fulleni Sep 22, 2025
992141d
feat(content_management): add draft headlines events
fulleni Sep 22, 2025
8ab8747
feat(content_management): implement DraftHeadlinesBloc
fulleni Sep 22, 2025
06d0bdf
fix(shared): ensure initial selected item is included in selection page
fulleni Sep 22, 2025
5be6b1f
feat(searchable_selection_input): add includeInactiveSelectedItem option
fulleni Sep 22, 2025
6f6d2b3
feat(SelectionPageArguments): add includeInactiveSelectedItem parameter
fulleni Sep 22, 2025
16318d5
fix(content_management): remove outdated comments and clean up code
fulleni Sep 22, 2025
2c05ab3
feat(l10n): add Arabic and English translations for content drafts
fulleni Sep 22, 2025
405c0ce
refactor(content_management): remove draft headlines feature
fulleni Sep 22, 2025
8a24842
refactor(content_management): remove draft-related properties from Co...
fulleni Sep 22, 2025
eb26a64
refactor(content_management): relocate draft items to the main page
fulleni Sep 22, 2025
7b759a8
refactor(content_management): reimplement DraftHeadlinesPage as a Sta...
fulleni Sep 22, 2025
8afce44
feat(content_management): add draft sources page placeholder
fulleni Sep 22, 2025
8002118
feat(content_management): add draft topics page placeholder
fulleni Sep 22, 2025
50e799d
feat(router): add routes for draft topics and sources
fulleni Sep 22, 2025
76fad1d
feat(router): add routes for draft sources and topics
fulleni Sep 22, 2025
3b49f58
refactor(content_management): remove contentStatus from CreateHeadlin...
fulleni Sep 22, 2025
a9099c1
refactor(content_management): remove unused events
fulleni Sep 22, 2025
29c8113
refactor(create-headline): remove unused code and improve draft savin...
fulleni Sep 22, 2025
3ab6b3d
refactor(create-source): remove unused contentStatus field
fulleni Sep 22, 2025
a352ccd
refactor(content_management): add create source draft and publish events
fulleni Sep 22, 2025
09fd5ac
feat(content_management): implement save as draft and publish source
fulleni Sep 22, 2025
51f5ac5
feat(content_management): implement save as draft and publish topic f...
fulleni Sep 22, 2025
e2c2981
refactor(content_management): replace status change event with publis...
fulleni Sep 22, 2025
fe9db62
refactor(content_management): remove unused contentStatus from Create...
fulleni Sep 22, 2025
ed6853f
refactor(content_management): remove unused event handlers and update...
fulleni Sep 22, 2025
57dc1af
refactor(content_management): remove unused events
fulleni Sep 22, 2025
598bbdd
refactor(content_management): remove contentStatus from EditHeadlineS...
fulleni Sep 22, 2025
1b7e67f
refactor(content_management): separate save as draft and publish func...
fulleni Sep 22, 2025
06a93c6
refactor(content_management): update edit source events
fulleni Sep 22, 2025
85b59be
refactor(content_management): remove unused contentStatus field
fulleni Sep 22, 2025
a2d2c57
refactor(content_management): update EditTopicBloc for topic draft sa...
fulleni Sep 22, 2025
08f6ab7
refactor(content_management): update edit topic events
fulleni Sep 22, 2025
29913ac
refactor(content_management): simplify EditTopicState
fulleni Sep 22, 2025
e002928
refactor(content_management): remove unused import
fulleni Sep 22, 2025
d59e333
refactor(content_management): replace status input with save options ...
fulleni Sep 22, 2025
16e129e
feat(content_management): implement save options and form validation ...
fulleni Sep 22, 2025
f89ba90
refactor(content_management): improve create topic flow
fulleni Sep 22, 2025
c9e8035
refactor(content_management): replace status input with save options ...
fulleni Sep 22, 2025
8413fe9
refactor(content_management): improve save functionality and remove s...
fulleni Sep 22, 2025
ce20f47
refactor(content_management): improve topic save functionality
fulleni Sep 22, 2025
95617e2
feat(l10n): add translations for save dialog
fulleni Sep 22, 2025
17fef27
refactor(searchable_selection_input): pass includeInactiveSelectedIte...
fulleni Sep 22, 2025
8a72807
fix(shared): apply default active status filter in searchable selection
fulleni Sep 22, 2025
9c19aa2
feat(l10n): add Arabic and English translations for draft topic and s...
fulleni Sep 22, 2025
a656310
feat(content_management): implement DraftSourcesState for BLoC
fulleni Sep 22, 2025
b2a8fad
feat(content_management): add draft sources events
fulleni Sep 22, 2025
a905f81
feat(content_management): implement DraftSourcesBloc for source draft...
fulleni Sep 22, 2025
d947ac1
feat(content_management): implement DraftTopicsState for BLoC
fulleni Sep 22, 2025
19e0a67
feat(content_management): add draft topics bloc events
fulleni Sep 22, 2025
d2b935a
feat(bloc): implement DraftTopicsBloc for topic management
fulleni Sep 22, 2025
4c1623d
refactor(content_management): remove unnecessary comments
fulleni Sep 22, 2025
8248921
feat(content_management): implement draft sources page
fulleni Sep 22, 2025
c7ec00a
feat(content_management): implement draft topics page functionality
fulleni Sep 22, 2025
1a48a18
refactor(content_management): remove form validity checks
fulleni Sep 22, 2025
53bfac6
refactor(content_management): remove form validity checks
fulleni Sep 22, 2025
71d58f1
refactor(content_management): remove form validity checks before savi...
fulleni Sep 22, 2025
104fc6b
refactor(content_management): remove form validity check
fulleni Sep 22, 2025
9a491f0
refactor(content_management): remove form validity checks before savi...
fulleni Sep 22, 2025
724565c
refactor(content_management): remove form validity checks before savi...
fulleni Sep 22, 2025
fa2f2d9
refactor(content_management): remove unused dialog and improve save b...
fulleni Sep 22, 2025
51de49c
refactor(create-source): remove unused dialog and simplify save butto...
fulleni Sep 22, 2025
548b768
refactor(content_management): remove unused dialog and simplify save ...
fulleni Sep 22, 2025
aed6b9b
refactor(content_management): simplify headline editing and remove pr...
fulleni Sep 22, 2025
3a8bd24
refactor(content_management): simplify source editing save functionality
fulleni Sep 22, 2025
fccfaa0
refactor(content_management): simplify edit topic save functionality
fulleni Sep 22, 2025
7342b6c
refactor(bloc_observer): simplify state change logging
fulleni Sep 22, 2025
590cdd3
docs(README): update content management descriptions
fulleni Sep 22, 2025
b592ea6
style(content_management): update action button icons
fulleni Sep 22, 2025
a61b70e
refactor(content_management): improve list handling in DraftHeadlines...
fulleni Sep 22, 2025
b515a80
fix(content_management): optimize source publishing process
fulleni Sep 22, 2025
8a7503c
perf(content_management): optimize topic list handling
fulleni Sep 22, 2025
bb2a71e
fix(content_management): handle null values in DraftHeadlinesState
fulleni Sep 22, 2025
56870d5
fix(content_management): handle null values in DraftSourcesState
fulleni Sep 22, 2025
c2da7f8
fix(content_management): preserve snackbar data across state changes
fulleni Sep 22, 2025
c515c91
refactor(content_management): replace FailureStateWidget with SnackBa...
fulleni Sep 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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
fulleni committed Sep 22, 2025
commit 8afce4468ce49b2c294f1bc23aeb564d1f6fdbe1
23 changes: 23 additions & 0 deletions lib/content_management/view/draft_sources_page.dart
View file Open in desktop
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),
),
);
}
}

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /