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

Commit c2111ae

Browse files
authored
Merge pull request #91 from flutter-news-app-full-source-code/feat/content-management-filter-and-UI-overhaul
Feat/content management filter and UI overhaul
2 parents 97776e6 + 8ed93f0 commit c2111ae

File tree

67 files changed

+3869
-4131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3869
-4131
lines changed

‎analysis_options.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ analyzer:
22
errors:
33
avoid_bool_literals_in_conditional_expressions: ignore
44
avoid_catches_without_on_clauses: ignore
5+
avoid_positional_boolean_parameters: ignore
56
avoid_print: ignore
67
avoid_redundant_argument_values: ignore
78
deprecated_member_use: ignore

‎lib/app/view/app.dart‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import 'package:flutter_news_app_web_dashboard_full_source_code/app/config/app_e
1212
import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/bloc/app_configuration_bloc.dart';
1313
import 'package:flutter_news_app_web_dashboard_full_source_code/authentication/bloc/authentication_bloc.dart';
1414
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/content_management_bloc.dart';
15+
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/headlines_filter/headlines_filter_bloc.dart';
16+
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/sources_filter/sources_filter_bloc.dart';
17+
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/topics_filter/topics_filter_bloc.dart';
1518
import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart';
1619
import 'package:flutter_news_app_web_dashboard_full_source_code/overview/bloc/overview_bloc.dart';
1720
import 'package:flutter_news_app_web_dashboard_full_source_code/router/router.dart';
@@ -119,11 +122,24 @@ class App extends StatelessWidget {
119122
.read<DataRepository<RemoteConfig>>(),
120123
),
121124
),
125+
BlocProvider(
126+
create: (context) => HeadlinesFilterBloc(),
127+
),
128+
BlocProvider(
129+
create: (context) => TopicsFilterBloc(),
130+
),
131+
BlocProvider(
132+
create: (context) => SourcesFilterBloc(),
133+
),
122134
BlocProvider(
123135
create: (context) => ContentManagementBloc(
124136
headlinesRepository: context.read<DataRepository<Headline>>(),
125137
topicsRepository: context.read<DataRepository<Topic>>(),
126138
sourcesRepository: context.read<DataRepository<Source>>(),
139+
headlinesFilterBloc: context.read<HeadlinesFilterBloc>(),
140+
topicsFilterBloc: context.read<TopicsFilterBloc>(),
141+
sourcesFilterBloc: context.read<SourcesFilterBloc>(),
142+
pendingDeletionsService: context.read<PendingDeletionsService>(),
127143
),
128144
),
129145
BlocProvider(

‎lib/content_management/bloc/archived_headlines/archived_headlines_bloc.dart‎

Lines changed: 0 additions & 261 deletions
This file was deleted.

‎lib/content_management/bloc/archived_headlines/archived_headlines_event.dart‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /