Skip to content

Commit

Permalink
feat:Deprecate the Event task/project feature (#2364)
Browse files Browse the repository at this point in the history
* removed all code related to task feature

* fix failing test

* fix failing test

* fix failing test

* Squashed commit of the following:

commit 69e6513
Author: Shaik Azad <[email protected]>
Date:   Sun Feb 11 20:17:19 2024 +0530

    Created Session Management. (#2362)

    * feat: efficient session management

    * chore: run check ignore

    * Revert "chore: run check ignore"

    This reverts commit be7e49f.

    * chore fix: run check ignore

    * feat: added new package fake_async

    * chore: fixed codecov drop

    * Update README.md

    * Deprecate Google Maps Integration (#2363)

    * Post comments were invisible in Individual Post Page with Image (#2350)

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Bump syncfusion_flutter_datepicker from 24.1.47 to 24.2.3 (#2365)

    Bumps [syncfusion_flutter_datepicker](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.47 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_datepicker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * Bump syncfusion_flutter_calendar from 24.1.45 to 24.2.3 (#2367)

    Bumps [syncfusion_flutter_calendar](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.45 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_calendar
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * fixed requested changes

    * pulled latest upstream

    ---------

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: Peter Harrison <[email protected]>
    Co-authored-by: Parag Gupta <[email protected]>
    Co-authored-by: Shivam Gupta <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1110aef
Author: Crystian I <[email protected]>
Date:   Tue Feb 6 21:38:27 2024 -0500

    Update pull-request-target.yml

commit 10d58db
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 02:40:39 2024 -0800

    Bump syncfusion_flutter_calendar from 24.1.45 to 24.2.3 (#2367)

    Bumps [syncfusion_flutter_calendar](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.45 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_calendar
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 7bfbaef
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 02:04:46 2024 -0800

    Bump syncfusion_flutter_datepicker from 24.1.47 to 24.2.3 (#2365)

    Bumps [syncfusion_flutter_datepicker](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.47 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_datepicker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 38682c8
Author: Shivam Gupta <[email protected]>
Date:   Sun Feb 4 01:16:07 2024 +0530

    Post comments were invisible in Individual Post Page with Image (#2350)

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

* fix  conflict

* Squashed commit of the following:

commit 69e6513
Author: Shaik Azad <[email protected]>
Date:   Sun Feb 11 20:17:19 2024 +0530

    Created Session Management. (#2362)

    * feat: efficient session management

    * chore: run check ignore

    * Revert "chore: run check ignore"

    This reverts commit be7e49f.

    * chore fix: run check ignore

    * feat: added new package fake_async

    * chore: fixed codecov drop

    * Update README.md

    * Deprecate Google Maps Integration (#2363)

    * Post comments were invisible in Individual Post Page with Image (#2350)

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Bump syncfusion_flutter_datepicker from 24.1.47 to 24.2.3 (#2365)

    Bumps [syncfusion_flutter_datepicker](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.47 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_datepicker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * Bump syncfusion_flutter_calendar from 24.1.45 to 24.2.3 (#2367)

    Bumps [syncfusion_flutter_calendar](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.45 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_calendar
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * fixed requested changes

    * pulled latest upstream

    ---------

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: Peter Harrison <[email protected]>
    Co-authored-by: Parag Gupta <[email protected]>
    Co-authored-by: Shivam Gupta <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1110aef
Author: Crystian I <[email protected]>
Date:   Tue Feb 6 21:38:27 2024 -0500

    Update pull-request-target.yml

commit 10d58db
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 02:40:39 2024 -0800

    Bump syncfusion_flutter_calendar from 24.1.45 to 24.2.3 (#2367)

    Bumps [syncfusion_flutter_calendar](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.45 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_calendar
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 7bfbaef
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 02:04:46 2024 -0800

    Bump syncfusion_flutter_datepicker from 24.1.47 to 24.2.3 (#2365)

    Bumps [syncfusion_flutter_datepicker](https://github.com/syncfusion/flutter-widgets/tree/master/packages) from 24.1.47 to 24.2.3.
    - [Release notes](https://github.com/syncfusion/flutter-widgets/releases)
    - [Commits](https://github.com/syncfusion/flutter-widgets/commits/HEAD/packages)

    ---
    updated-dependencies:
    - dependency-name: syncfusion_flutter_datepicker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 38682c8
Author: Shivam Gupta <[email protected]>
Date:   Sun Feb 4 01:16:07 2024 +0530

    Post comments were invisible in Individual Post Page with Image (#2350)

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

    * Fixed Comment

* fix  failing test
  • Loading branch information
AVtheking authored Feb 11, 2024
1 parent 69e6513 commit acc0473
Show file tree
Hide file tree
Showing 38 changed files with 40 additions and 2,483 deletions.
2 changes: 0 additions & 2 deletions lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "Melden Sie den Beitrag dem Admin",
"Do you really want to delete the post?": "Möchten Sie den Beitrag wirklich löschen?",
"Liked": "Gefällt",
"Add Task Title": "Aufgabentitel hinzufügen",
"Describe the task": "Beschreiben Sie die Aufgabe",
"Looks like there aren't any events.": "Es scheint keine Veranstaltungen zu geben.",
"You have not created any event.": "Sie haben keine Veranstaltung erstellt.",
"No registered events are present": "Keine registrierten Veranstaltungen vorhanden",
Expand Down
2 changes: 0 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "Report the post to the Admin",
"Do you really want to delete the post?": "Do you really want to delete the post?",
"Liked": "Liked",
"Add Task Title": "Add Task Title",
"Describe the task": "Describe the task",
"Looks like there aren't any events.": "Looks like there aren't any events.",
"You have not created any event.": "You have not created any event.",
"No registered events are present": "No registered events are present",
Expand Down
2 changes: 0 additions & 2 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "Reportar la publicación al Administrador",
"Do you really want to delete the post?": "¿Realmente quieres eliminar la publicación?",
"Liked": "Gustado",
"Add Task Title": "Añadir título de tarea",
"Describe the task": "Describir la tarea",
"Looks like there aren't any events.": "Parece que no hay eventos.",
"You have not created any event.": "No has creado ningún evento.",
"No registered events are present": "No hay eventos registrados",
Expand Down
2 changes: 0 additions & 2 deletions lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "Signaler le post à l'Admin",
"Do you really want to delete the post?": "Voulez-vous vraiment supprimer le post?",
"Liked": "Aimé",
"Add Task Title": "Ajouter un titre de tâche",
"Describe the task": "Décrire la tâche",
"Looks like there aren't any events.": "On dirait qu'il n'y a pas d'événements.",
"You have not created any event.": "Vous n'avez créé aucun événement.",
"No registered events are present": "Aucun événement enregistré n'est présent",
Expand Down
2 changes: 0 additions & 2 deletions lang/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "पोस्ट को एडमिन को रिपोर्ट करें",
"Do you really want to delete the post?": "क्या आप वाकई पोस्ट को हटाना चाहते हैं?",
"Liked": "पसंद किया",
"Add Task Title": "टास्क का शीर्षक जोड़ें",
"Describe the task": "कार्य का वर्णन करें",
"Looks like there aren't any events.": "लगता है कि कोई इवेंट नहीं हैं।",
"You have not created any event.": "आपने कोई इवेंट नहीं बनाया है।",
"No registered events are present": "कोई पंजीकृत इवेंट मौजूद नहीं हैं",
Expand Down
2 changes: 0 additions & 2 deletions lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "投稿を管理者に報告する",
"Do you really want to delete the post?": "本当に投稿を削除しますか?",
"Liked": "いいね",
"Add Task Title": "タスクのタイトルを追加",
"Describe the task": "タスクを説明する",
"Looks like there aren't any events.": "イベントがないようです。",
"You have not created any event.": "あなたはどんなイベントも作成していません。",
"No registered events are present": "登録されたイベントは存在しません",
Expand Down
2 changes: 0 additions & 2 deletions lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "Reportar a postagem ao Administrador",
"Do you really want to delete the post?": "Você realmente quer deletar a postagem?",
"Liked": "Curtido",
"Add Task Title": "Adicionar título da tarefa",
"Describe the task": "Descrever a tarefa",
"Looks like there aren't any events.": "Parece que não há eventos.",
"You have not created any event.": "Você não criou nenhum evento.",
"No registered events are present": "Não há eventos registrados",
Expand Down
2 changes: 0 additions & 2 deletions lang/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
"Report the post to the Admin": "向管理员举报帖子",
"Do you really want to delete the post?": "您真的想要删除这个帖子吗?",
"Liked": "喜欢",
"Add Task Title": "添加任务标题",
"Describe the task": "描述任务",
"Looks like there aren't any events.": "看起来没有任何活动。",
"You have not created any event.": "您还没有创建任何活动。",
"No registered events are present": "没有注册的活动",
Expand Down
6 changes: 0 additions & 6 deletions lib/locator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import 'package:talawa/services/org_service.dart';
import 'package:talawa/services/post_service.dart';
import 'package:talawa/services/session_manager.dart';
import 'package:talawa/services/size_config.dart';
import 'package:talawa/services/task_service.dart';
import 'package:talawa/services/third_party_service/multi_media_pick_service.dart';
import 'package:talawa/services/user_config.dart';
import 'package:talawa/utils/queries.dart';
Expand All @@ -30,8 +29,6 @@ import 'package:talawa/view_model/after_auth_view_models/feed_view_models/organi
import 'package:talawa/view_model/after_auth_view_models/profile_view_models/edit_profile_view_model.dart';
import 'package:talawa/view_model/after_auth_view_models/profile_view_models/profile_page_view_model.dart';
import 'package:talawa/view_model/after_auth_view_models/settings_view_models/app_setting_view_model.dart';
import 'package:talawa/view_model/after_auth_view_models/task_view_models/create_task_view_model.dart';
import 'package:talawa/view_model/after_auth_view_models/task_view_models/explore_tasks_view_model.dart';
import 'package:talawa/view_model/lang_view_model.dart';
import 'package:talawa/view_model/main_screen_view_model.dart';
import 'package:talawa/view_model/pre_auth_view_models/login_view_model.dart';
Expand Down Expand Up @@ -104,7 +101,6 @@ void setupLocator() {
//Services
locator.registerLazySingleton(() => PostService());
locator.registerLazySingleton(() => EventService());
locator.registerLazySingleton(() => TaskService());
locator.registerLazySingleton(() => CommentService());
locator.registerLazySingleton(() => OrganizationService());
locator.registerLazySingleton(() => MultiMediaPickerService());
Expand Down Expand Up @@ -134,8 +130,6 @@ void setupLocator() {
locator.registerFactory(() => SignupDetailsViewModel());
locator.registerFactory(() => WaitingViewModel());
locator.registerFactory(() => ExploreEventsViewModel());
locator.registerFactory(() => ExploreTasksViewModel());
locator.registerFactory(() => CreateTaskViewModel());
locator.registerFactory(() => MainScreenViewModel());
locator.registerFactory(() => ProfilePageViewModel());
locator.registerFactory(() => EditProfilePageViewModel());
Expand Down
45 changes: 0 additions & 45 deletions lib/models/task/task_model.dart

This file was deleted.

36 changes: 1 addition & 35 deletions lib/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import 'package:talawa/models/events/event_model.dart';
import 'package:talawa/models/mainscreen_navigation_args.dart';
import 'package:talawa/models/organization/org_info.dart';
import 'package:talawa/models/post/post_model.dart';
import 'package:talawa/models/task/task_model.dart';
import 'package:talawa/splash_screen.dart';
import 'package:talawa/view_model/after_auth_view_models/chat_view_models/direct_chat_view_model.dart';
import 'package:talawa/views/after_auth_screens/add_post_page.dart';
Expand All @@ -26,10 +25,6 @@ import 'package:talawa/views/after_auth_screens/join_org_after_auth/access_reque
import 'package:talawa/views/after_auth_screens/join_org_after_auth/join_organisation_after_auth.dart';
import 'package:talawa/views/after_auth_screens/profile/edit_profile_page.dart';
import 'package:talawa/views/after_auth_screens/profile/profile_page.dart';
import 'package:talawa/views/after_auth_screens/tasks/create_task_page.dart';
import 'package:talawa/views/after_auth_screens/tasks/edit_task_page.dart';
import 'package:talawa/views/after_auth_screens/tasks/event_tasks_page.dart';
import 'package:talawa/views/after_auth_screens/tasks/user_tasks_page.dart';
import 'package:talawa/views/demo_screens/explore_events_demo.dart';
import 'package:talawa/views/demo_screens/organization_feed_demo.dart';
import 'package:talawa/views/demo_screens/profile_page_demo.dart';
Expand Down Expand Up @@ -280,36 +275,7 @@ Route<dynamic> generateRoute(RouteSettings settings) {
key: const Key('Calendar'),
),
);
case Routes.eventTasks:
final eventId = settings.arguments! as String;
return MaterialPageRoute(
builder: (context) => EventTasksPage(
eventId: eventId,
key: const Key('EventTasks'),
),
);
case Routes.userTasks:
return MaterialPageRoute(
builder: (context) => const UserTasksPage(
key: Key('UserTasks'),
),
);
case Routes.addTask:
final eventId = settings.arguments! as String;
return MaterialPageRoute(
builder: (context) => CreateTaskPage(
key: const Key('AddTask'),
eventId: eventId,
),
);
case Routes.editTask:
final task = settings.arguments! as Task;
return MaterialPageRoute(
builder: (context) => EditTaskPage(
key: const Key('EditTask'),
task: task,
),
);

case Routes.selectContact:
return MaterialPageRoute(
builder: (context) => const SelectContact(key: Key('selectContact')),
Expand Down
166 changes: 0 additions & 166 deletions lib/services/task_service.dart

This file was deleted.

Loading

0 comments on commit acc0473

Please sign in to comment.