Skip to content

Commit

Permalink
Suggest books in overflow menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lockieRichter committed Mar 14, 2024
1 parent 6143de0 commit 9087361
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 112 deletions.
225 changes: 117 additions & 108 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,115 +1,115 @@
PODS:
- AppAuth (1.6.2):
- AppAuth/Core (= 1.6.2)
- AppAuth/ExternalUserAgent (= 1.6.2)
- AppAuth/Core (1.6.2)
- AppAuth/ExternalUserAgent (1.6.2):
- AppAuth (1.7.3):
- AppAuth/Core (= 1.7.3)
- AppAuth/ExternalUserAgent (= 1.7.3)
- AppAuth/Core (1.7.3)
- AppAuth/ExternalUserAgent (1.7.3):
- AppAuth/Core
- Firebase/Analytics (10.20.0):
- Firebase/Analytics (10.22.0):
- Firebase/Core
- Firebase/Auth (10.20.0):
- Firebase/Auth (10.22.0):
- Firebase/CoreOnly
- FirebaseAuth (~> 10.20.0)
- Firebase/Core (10.20.0):
- FirebaseAuth (~> 10.22.0)
- Firebase/Core (10.22.0):
- Firebase/CoreOnly
- FirebaseAnalytics (~> 10.20.0)
- Firebase/CoreOnly (10.20.0):
- FirebaseCore (= 10.20.0)
- Firebase/Crashlytics (10.20.0):
- FirebaseAnalytics (~> 10.22.0)
- Firebase/CoreOnly (10.22.0):
- FirebaseCore (= 10.22.0)
- Firebase/Crashlytics (10.22.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 10.20.0)
- Firebase/Database (10.20.0):
- FirebaseCrashlytics (~> 10.22.0)
- Firebase/Database (10.22.0):
- Firebase/CoreOnly
- FirebaseDatabase (~> 10.20.0)
- Firebase/Storage (10.20.0):
- FirebaseDatabase (~> 10.22.0)
- Firebase/Storage (10.22.0):
- Firebase/CoreOnly
- FirebaseStorage (~> 10.20.0)
- firebase_analytics (10.8.5):
- Firebase/Analytics (= 10.20.0)
- FirebaseStorage (~> 10.22.0)
- firebase_analytics (10.8.10):
- Firebase/Analytics (= 10.22.0)
- firebase_core
- Flutter
- firebase_auth (4.17.4):
- Firebase/Auth (= 10.20.0)
- firebase_auth (4.17.9):
- Firebase/Auth (= 10.22.0)
- firebase_core
- Flutter
- firebase_core (2.25.4):
- Firebase/CoreOnly (= 10.20.0)
- firebase_core (2.27.1):
- Firebase/CoreOnly (= 10.22.0)
- Flutter
- firebase_crashlytics (3.4.14):
- Firebase/Crashlytics (= 10.20.0)
- firebase_crashlytics (3.4.19):
- Firebase/Crashlytics (= 10.22.0)
- firebase_core
- Flutter
- firebase_database (10.4.5):
- Firebase/Database (= 10.20.0)
- firebase_database (10.4.10):
- Firebase/Database (= 10.22.0)
- firebase_core
- Flutter
- firebase_storage (11.6.5):
- Firebase/Storage (= 10.20.0)
- firebase_storage (11.6.10):
- Firebase/Storage (= 10.22.0)
- firebase_core
- Flutter
- FirebaseAnalytics (10.20.0):
- FirebaseAnalytics/AdIdSupport (= 10.20.0)
- FirebaseAnalytics (10.22.0):
- FirebaseAnalytics/AdIdSupport (= 10.22.0)
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseAnalytics/AdIdSupport (10.20.0):
- nanopb (< 2.30911.0, >= 2.30908.0)
- FirebaseAnalytics/AdIdSupport (10.22.0):
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleAppMeasurement (= 10.20.0)
- GoogleAppMeasurement (= 10.22.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseAppCheckInterop (10.20.0)
- FirebaseAuth (10.20.0):
- nanopb (< 2.30911.0, >= 2.30908.0)
- FirebaseAppCheckInterop (10.22.0)
- FirebaseAuth (10.22.0):
- FirebaseAppCheckInterop (~> 10.17)
- FirebaseCore (~> 10.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/Environment (~> 7.8)
- GTMSessionFetcher/Core (< 4.0, >= 2.1)
- RecaptchaInterop (~> 100.0)
- FirebaseAuthInterop (10.20.0)
- FirebaseCore (10.20.0):
- FirebaseAuthInterop (10.22.0)
- FirebaseCore (10.22.0):
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.12)
- GoogleUtilities/Logger (~> 7.12)
- FirebaseCoreExtension (10.20.0):
- FirebaseCoreExtension (10.22.0):
- FirebaseCore (~> 10.0)
- FirebaseCoreInternal (10.20.0):
- FirebaseCoreInternal (10.22.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseCrashlytics (10.20.0):
- FirebaseCrashlytics (10.22.0):
- FirebaseCore (~> 10.5)
- FirebaseInstallations (~> 10.0)
- FirebaseSessions (~> 10.5)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.8)
- nanopb (< 2.30910.0, >= 2.30908.0)
- nanopb (< 2.30911.0, >= 2.30908.0)
- PromisesObjC (~> 2.1)
- FirebaseDatabase (10.20.0):
- FirebaseDatabase (10.22.0):
- FirebaseAppCheckInterop (~> 10.17)
- FirebaseCore (~> 10.0)
- FirebaseSharedSwift (~> 10.0)
- leveldb-library (~> 1.22)
- FirebaseInstallations (10.20.0):
- FirebaseInstallations (10.22.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
- PromisesObjC (~> 2.1)
- FirebaseSessions (10.20.0):
- FirebaseSessions (10.22.0):
- FirebaseCore (~> 10.5)
- FirebaseCoreExtension (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.10)
- nanopb (< 2.30910.0, >= 2.30908.0)
- nanopb (< 2.30911.0, >= 2.30908.0)
- PromisesSwift (~> 2.1)
- FirebaseSharedSwift (10.20.0)
- FirebaseStorage (10.20.0):
- FirebaseSharedSwift (10.22.0)
- FirebaseStorage (10.22.0):
- FirebaseAppCheckInterop (~> 10.0)
- FirebaseAuthInterop (~> 10.0)
- FirebaseCore (~> 10.0)
Expand All @@ -122,69 +122,78 @@ PODS:
- Flutter
- FlutterMacOS
- GoogleSignIn (~> 7.0)
- GoogleAppMeasurement (10.20.0):
- GoogleAppMeasurement/AdIdSupport (= 10.20.0)
- GoogleAppMeasurement (10.22.0):
- GoogleAppMeasurement/AdIdSupport (= 10.22.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (10.20.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.20.0)
- nanopb (< 2.30911.0, >= 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (10.22.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.22.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (10.20.0):
- nanopb (< 2.30911.0, >= 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (10.22.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleDataTransport (9.3.0):
- nanopb (< 2.30911.0, >= 2.30908.0)
- GoogleDataTransport (9.4.1):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- nanopb (< 2.30911.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleSignIn (7.0.0):
- AppAuth (~> 1.5)
- GTMAppAuth (< 3.0, >= 1.3)
- GTMSessionFetcher/Core (< 4.0, >= 1.1)
- GoogleUtilities/AppDelegateSwizzler (7.12.0):
- GoogleUtilities/AppDelegateSwizzler (7.13.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.12.0):
- GoogleUtilities/Privacy
- GoogleUtilities/Environment (7.13.0):
- GoogleUtilities/Privacy
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.12.0):
- GoogleUtilities/Logger (7.13.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.12.0):
- GoogleUtilities/Privacy
- GoogleUtilities/MethodSwizzler (7.13.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.12.0):
- GoogleUtilities/Privacy
- GoogleUtilities/Network (7.13.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Privacy
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.12.0)"
- GoogleUtilities/Reachability (7.12.0):
- "GoogleUtilities/NSData+zlib (7.13.0)":
- GoogleUtilities/Privacy
- GoogleUtilities/Privacy (7.13.0)
- GoogleUtilities/Reachability (7.13.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.12.0):
- GoogleUtilities/Privacy
- GoogleUtilities/UserDefaults (7.13.0):
- GoogleUtilities/Logger
- GoogleUtilities/Privacy
- GTMAppAuth (2.0.0):
- AppAuth/Core (~> 1.6)
- GTMSessionFetcher/Core (< 4.0, >= 1.5)
- GTMSessionFetcher/Core (3.3.1)
- leveldb-library (1.22.3)
- nanopb (2.30909.1):
- nanopb/decode (= 2.30909.1)
- nanopb/encode (= 2.30909.1)
- nanopb/decode (2.30909.1)
- nanopb/encode (2.30909.1)
- leveldb-library (1.22.4)
- nanopb (2.30910.0):
- nanopb/decode (= 2.30910.0)
- nanopb/encode (= 2.30910.0)
- nanopb/decode (2.30910.0)
- nanopb/encode (2.30910.0)
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- PromisesObjC (2.3.1)
- PromisesSwift (2.3.1):
- PromisesObjC (= 2.3.1)
- PromisesObjC (2.4.0)
- PromisesSwift (2.4.0):
- PromisesObjC (= 2.4.0)
- RecaptchaInterop (100.0.0)
- share_plus (0.0.1):
- Flutter
Expand Down Expand Up @@ -273,47 +282,47 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570
Firebase: 10c8cb12fb7ad2ae0c09ffc86cd9c1ab392a0031
firebase_analytics: 2e82fd84ce13f8321aa7b99336d6ee0e6cc7b984
firebase_auth: 29a10d4129d53aa690c10dbd838ed1a059ef0c9b
firebase_core: a46c312d8bae4defa3d009b2aa7b5b413aeb394e
firebase_crashlytics: 3d12285fcbd865d576b9965bd4090cd8b68e11fd
firebase_database: e6b72eeda8dadd6e3965d86b86c997d35e43d4e2
firebase_storage: 5007be227e54a46f260b6040a23b4fdc8ca1c5c5
FirebaseAnalytics: a2731bf3670747ce8f65368b118d18aa8e368246
FirebaseAppCheckInterop: e81bdb1cdb82f8e0cef353ba5018a8402682032c
FirebaseAuth: 9c5c400d2c3055d8ae3a0284944c86fa95d48dac
FirebaseAuthInterop: 6142981334978f7942ff0e8a6f8966c3b3c8ff37
FirebaseCore: 28045c1560a2600d284b9c45a904fe322dc890b6
FirebaseCoreExtension: 0659f035b88c5a7a15a9763c48c2e6ca8c0a2977
FirebaseCoreInternal: efeeb171ac02d623bdaefe121539939821e10811
FirebaseCrashlytics: 81530595edb6d99f1918f723a6c33766a24a4c86
FirebaseDatabase: 7e838abb62ac2e1a1c792cbeb51df3c4b6607f54
FirebaseInstallations: 558b1da7d65afeb996fd5c814332f013234ece4e
FirebaseSessions: 2f348975f6d1c139231c180e12194161da2e0cd6
FirebaseSharedSwift: 2fbf73618288b7a36b2014b957745dcdd781389e
FirebaseStorage: 8505bae8ac6662474b5b50e07759fb2765c15746
AppAuth: a13994980c1ec792f7e2e665acd4d4aa6be43240
Firebase: 797fd7297b7e1be954432743a0b3f90038e45a71
firebase_analytics: 773f04fad34c0a4e442deb5bcfb6ffc8102b9221
firebase_auth: 610184b4f624545f81e0416bca60642b6818f27f
firebase_core: d6dfb4cb86a9ebd92464bb8736075fe967211c97
firebase_crashlytics: 0be8c89a6b91fd964a7a8fe574109fd528d310bb
firebase_database: a35e59e02a5de034b719c5da7037876c7c46bbdc
firebase_storage: 4d91299aefc706729b17bd17c3a1e874a53722df
FirebaseAnalytics: 8d0ff929c63b7f72260f332b86ccf569776b75d3
FirebaseAppCheckInterop: 58db3e9494751399cf3e7b7e3e705cff71099153
FirebaseAuth: bbe4c68f958504ba9e54aee181adbdf5b664fbc6
FirebaseAuthInterop: fa6a29d88cf7d5649cf6f4284918a8b7627e98a9
FirebaseCore: 0326ec9b05fbed8f8716cddbf0e36894a13837f7
FirebaseCoreExtension: 6394c00b887d0bebadbc7049c464aa0cbddc5d41
FirebaseCoreInternal: bca337352024b18424a61e478460547d46c4c753
FirebaseCrashlytics: e568d68ce89117c80cddb04073ab9018725fbb8c
FirebaseDatabase: fee604b3bee8800a1bdc834757d13813cfde1c90
FirebaseInstallations: 763814908793c0da14c18b3dcffdec71e29ed55e
FirebaseSessions: cd97fb07674f3906619c871eefbd260a1546c9d3
FirebaseSharedSwift: 48076404e6e52372290d15a07d2ed1d2f1754023
FirebaseStorage: bc7bddc743548a89cfb896843a77cf4bdde2c231
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_barcode_scanner: 7a1144744c28dc0c57a8de7218ffe5ec59a9e4bf
google_sign_in_ios: 1bfaf6607b44cd1b24c4d4bc39719870440f9ce1
GoogleAppMeasurement: bb3c564c3efb933136af0e94899e0a46167466a8
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
google_sign_in_ios: 989eea5abe94af62050782714daf920be883d4a2
GoogleAppMeasurement: ccefe3eac9b0aa27f96066809fb1a7fe4b462626
GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
GoogleSignIn: b232380cf495a429b8095d3178a8d5855b42e842
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34
GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152
GTMAppAuth: 99fb010047ba3973b7026e45393f51f27ab965ae
GTMSessionFetcher: 8a1b34ad97ebe6f909fb8b9b77fba99943007556
leveldb-library: e74c27d8fbd22854db7cb467968a0b8aa1db7126
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
leveldb-library: 06a69cc7582d64b29424a63e085e683cc188230a
nanopb: 438bc412db1928dac798aa6fd75726007be04262
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851
RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586

PODFILE CHECKSUM: 7adbc9d59f05e1b01f554ea99b6c79e97f2214a2

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion lib/src/ui/book/desktop_book_action_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class DesktopBookActionMenu extends StatelessWidget {
// Do not provide Share action for desktop UI.
break;
case BookAction.recommend:
// TODO: Handle this case.
// _showSuggestBookDialog();
break;
case BookAction.edit:
// TODO: Handle this case.
Expand Down
16 changes: 13 additions & 3 deletions lib/src/ui/book/mobile_book_action_menu.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:dantex/src/data/book/entity/book.dart';
import 'package:dantex/src/data/book/entity/book_state.dart';
import 'package:dantex/src/ui/core/dante_components.dart';
import 'package:dantex/src/ui/core/platform_components.dart';
import 'package:dantex/src/util/share_helper.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -61,9 +62,11 @@ class MobileBookActionMenu extends StatelessWidget {
title: 'book-actions.suggest'.tr(),
icon: Icons.whatshot_outlined,
color: Theme.of(context).colorScheme.secondary,
onClick: () {
// TODO Suggest book in ticket: TODO
},
onClick: () async => showDanteDialog(
context,
title: 'TODO',
content: _RecommendBookDialog(),
),
),
_buildBookAction(
title: 'book-actions.edit'.tr(),
Expand Down Expand Up @@ -113,3 +116,10 @@ class MobileBookActionMenu extends StatelessWidget {
);
}
}

class _RecommendBookDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const Text('TODO');
}
}

0 comments on commit 9087361

Please sign in to comment.