Skip to content

Commit

Permalink
remove useless words in file names and organize them properly
Browse files Browse the repository at this point in the history
  • Loading branch information
user5522 committed Jul 15, 2024
1 parent 2123946 commit 8c923ae
Show file tree
Hide file tree
Showing 36 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions lib/components/settings/timetable_features.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/settings/screens/timetable_management_screen.dart';
import 'package:timetable/components/settings/screens/timetable_management.dart';
import 'package:timetable/provider/settings.dart';
import 'package:timetable/components/settings/screens/timetable_period_screen.dart';
import 'package:timetable/components/settings/screens/timetable_period.dart';

/// All the settings for changing some timetable features.
class TimetableFeaturesOptions extends ConsumerWidget {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_config_screens/colors_screen.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_screens/colors.dart';
import 'package:timetable/components/widgets/list_item_group.dart';

/// Color configuration part of the Subject creation screen.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_config_screens/color_picker_screen.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_config_screens/preset_colors_screen.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_screens/color_picker.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_screens/preset_colors.dart';
import 'package:timetable/constants/colors.dart';

/// Colors configuration screen, basically groups [ColorPickerScreen] and [PresetColorsScreen].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/subject_management/subject_configs/day_config.dart';
import 'package:timetable/components/subject_management/subject_configs/rotation_week_config.dart';
import 'package:timetable/components/subject_management/subject_configs/time_config.dart';
import 'package:timetable/components/subject_management/subject_configs/timetable_config.dart';
import 'package:timetable/components/subject_management/subject_configs/day.dart';
import 'package:timetable/components/subject_management/subject_configs/rotation_week.dart';
import 'package:timetable/components/subject_management/subject_configs/time.dart';
import 'package:timetable/components/subject_management/subject_configs/timetable.dart';
import 'package:timetable/components/widgets/list_item_group.dart';
import 'package:timetable/constants/days.dart';
import 'package:timetable/constants/rotation_weeks.dart';
Expand Down
6 changes: 3 additions & 3 deletions lib/components/subject_management/subject_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/subject_management/subject_configs/colors_config.dart';
import 'package:timetable/components/subject_management/subject_configs/color.dart';
import 'package:timetable/components/subject_management/subject_configs/day_time_week_tb_config.dart';
import 'package:timetable/components/subject_management/subject_configs/label_location_config.dart';
import 'package:timetable/components/subject_management/subject_configs/note_tile.dart';
import 'package:timetable/components/subject_management/subject_configs/label_location.dart';
import 'package:timetable/components/subject_management/subject_configs/note.dart';
import 'package:timetable/constants/days.dart';
import 'package:timetable/constants/rotation_weeks.dart';
import 'package:timetable/db/database.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/subject_management/subject_screen.dart';
import 'package:timetable/components/widgets/day_view_subject_builder.dart';
import 'package:timetable/components/widgets/day_view/day_view_subject_builder.dart';
import 'package:timetable/constants/custom_times.dart';
import 'package:timetable/constants/days.dart';
import 'package:timetable/constants/error_emoticons.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/widgets/grid.dart';
import 'package:timetable/components/widgets/grid_view_overlapping_subjects_builder.dart';
import 'package:timetable/components/widgets/grid_view/grid.dart';
import 'package:timetable/components/widgets/grid_view/grid_view_overlapping_subjects_builder.dart';
import 'package:timetable/components/widgets/time_column.dart';
import 'package:timetable/constants/custom_times.dart';
import 'package:timetable/constants/grid_properties.dart';
Expand All @@ -10,9 +10,9 @@ import 'package:timetable/constants/rotation_weeks.dart';
import 'package:timetable/db/database.dart';
import 'package:timetable/helpers/timetables.dart';
import 'package:timetable/provider/overlapping_subjects.dart';
import 'package:timetable/components/widgets/grid_view_subject_builder.dart';
import 'package:timetable/components/widgets/grid_view_subject_container_builder.dart';
import 'package:timetable/components/widgets/tile.dart';
import 'package:timetable/components/widgets/grid_view/grid_view_subject_builder.dart';
import 'package:timetable/components/widgets/grid_view/grid_view_subject_container_builder.dart';
import 'package:timetable/components/widgets/grid_view/tile.dart';
import 'package:timetable/helpers/rotation_weeks.dart';
import 'package:timetable/provider/settings.dart';
import 'package:timetable/provider/timetables.dart';
Expand Down
4 changes: 2 additions & 2 deletions lib/components/widgets/bottom_navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/provider/settings.dart';
import 'package:timetable/provider/subjects.dart';
import 'package:timetable/screens/settings_screen.dart';
import 'package:timetable/screens/timetable_screen.dart';
import 'package:timetable/screens/settings.dart';
import 'package:timetable/screens/timetable.dart';

/// The app's bottom navigation bar.
class BottomNavigation extends HookConsumerWidget {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:timetable/components/widgets/subject_data_bottom_sheet.dart';
import 'package:timetable/components/widgets/bottom_sheets/subject_data_bottom_sheet.dart';
import 'package:timetable/constants/days.dart';

/// Bottom Sheet Modal Widget used to select a subject's day.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:timetable/components/widgets/subject_data_bottom_sheet.dart';
import 'package:timetable/components/widgets/bottom_sheets/subject_data_bottom_sheet.dart';
import 'package:timetable/constants/rotation_weeks.dart';
import 'package:timetable/helpers/rotation_weeks.dart';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/widgets/subject_data_bottom_sheet.dart';
import 'package:timetable/components/widgets/bottom_sheets/subject_data_bottom_sheet.dart';
import 'package:timetable/db/database.dart';
import 'package:timetable/provider/timetables.dart';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:timetable/components/widgets/tile.dart';
import 'package:timetable/components/widgets/grid_view/tile.dart';

/// Grid for the grid view of the Timetable screen.
class Grid extends StatelessWidget {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/db/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import 'package:flutter/material.dart' as material;
import 'package:timetable/db/connection/native.dart';
import 'package:timetable/constants/rotation_weeks.dart';
import 'package:timetable/constants/days.dart';
import 'package:timetable/db/converters/color_converter.dart';
import 'package:timetable/db/converters/time_of_day_converter.dart';
import 'package:timetable/db/converters/color.dart';
import 'package:timetable/db/converters/time_of_day.dart';
import 'package:timetable/db/models/timetable.dart';
import 'package:timetable/db/models/subject.dart';

Expand Down
4 changes: 2 additions & 2 deletions lib/db/models/subject.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:drift/drift.dart';
import 'package:timetable/constants/days.dart';
import 'package:timetable/constants/rotation_weeks.dart';
import 'package:timetable/db/converters/color_converter.dart';
import 'package:timetable/db/converters/time_of_day_converter.dart';
import 'package:timetable/db/converters/color.dart';
import 'package:timetable/db/converters/time_of_day.dart';
import 'package:timetable/db/database.dart';

class Subject extends Table {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:timetable/components/timetable_views/day_view.dart';
import 'package:timetable/components/timetable_views/grid_view.dart';
import 'package:timetable/components/widgets/days_bar.dart';
import 'package:timetable/components/widgets/grid_day_views_toggle.dart';
import 'package:timetable/components/timetable_views/day.dart';
import 'package:timetable/components/timetable_views/grid.dart';
import 'package:timetable/components/widgets/day_view/days_bar.dart';
import 'package:timetable/components/widgets/grid_view/grid_day_views_toggle.dart';
import 'package:timetable/components/widgets/navigation_bar_toggle.dart';
import 'package:timetable/components/widgets/rotation_week_toggle.dart';
import 'package:timetable/components/widgets/timetable_toggle.dart';
Expand Down

0 comments on commit 8c923ae

Please sign in to comment.