Skip to content

Commit

Permalink
feat: 4041 - removed redundant and misplaced "user lists" (#4303)
Browse files Browse the repository at this point in the history
* feat: 4041 - removed redundant and misplaced "user lists"

Deleted files:
* `all_user_product_list_page.dart`
* `user_preferences_user_lists.dart`

Impacted file:
* `user_preferences_page.dart`: removed the access to "user lists", who was misplaced here and is now redundant with the latest "lists" tab

* feat: 4041 - with goldens screenshots
  • Loading branch information
monsieurtanuki authored Jul 14, 2023
1 parent bd38e61 commit 1cd22a6
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 176 deletions.
118 changes: 0 additions & 118 deletions packages/smooth_app/lib/pages/all_user_product_list_page.dart

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ import 'package:smooth_app/pages/preferences/user_preferences_dev_mode.dart';
import 'package:smooth_app/pages/preferences/user_preferences_faq.dart';
import 'package:smooth_app/pages/preferences/user_preferences_food.dart';
import 'package:smooth_app/pages/preferences/user_preferences_settings.dart';
import 'package:smooth_app/pages/preferences/user_preferences_user_lists.dart';
import 'package:smooth_app/pages/preferences/user_preferences_widgets.dart';
import 'package:smooth_app/themes/theme_provider.dart';
import 'package:smooth_app/widgets/smooth_app_bar.dart';
import 'package:smooth_app/widgets/smooth_scaffold.dart';

enum PreferencePageType {
ACCOUNT('account'),
LISTS('lists'),
FOOD('food'),
DEV_MODE('dev_mode'),
SETTINGS('settings'),
Expand Down Expand Up @@ -74,7 +72,6 @@ class _UserPreferencesPageState extends State<UserPreferencesPage>
if (widget.type == null) {
final List<PreferencePageType> items = <PreferencePageType>[
PreferencePageType.ACCOUNT,
PreferencePageType.LISTS,
PreferencePageType.FOOD,
PreferencePageType.SETTINGS,
PreferencePageType.CONTRIBUTE,
Expand Down Expand Up @@ -200,14 +197,6 @@ class _UserPreferencesPageState extends State<UserPreferencesPage>
appLocalizations: appLocalizations,
themeData: themeData,
);
case PreferencePageType.LISTS:
return UserPreferencesUserLists(
setState: setState,
context: context,
userPreferences: userPreferences,
appLocalizations: appLocalizations,
themeData: themeData,
);
case PreferencePageType.FOOD:
return UserPreferencesFood(
productPreferences: productPreferences,
Expand Down

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/smooth_app/test/users/goldens/login_page-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/smooth_app/test/users/goldens/login_page-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/smooth_app/test/users/goldens/signup_page-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/smooth_app/test/users/goldens/signup_page-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1cd22a6

Please sign in to comment.