Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #218 UI Redesign - Mobile - My Files #239

Open
wants to merge 34 commits into
base: ui_redesign
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a9b879f
fix: sharing intent problem on android
Sardar1208 Sep 11, 2022
5bf1dae
Merge pull request #191 from atsign-foundation/fix/sharing_intent
sachins-geekyants Sep 26, 2022
67b8d99
build: release 1.0.8.49
sachins-geekyants Sep 26, 2022
2cf2e01
Merge pull request #210 from atsign-foundation/release_1.0.8.49
sachins-geekyants Sep 27, 2022
a98cf4b
chore: made width constant for adding contacts
Pritam-deb Sep 27, 2022
bc44b94
chore: adjusted the height of add contact
Pritam-deb Sep 27, 2022
faf501d
Merge pull request #223 from atsign-foundation/fix/add_unknown_contact
nitesh2599 Sep 29, 2022
f20ac77
made changes to custom appbar.
Ayush783 Sep 30, 2022
8aeb818
working on contact screen
Ayush783 Sep 30, 2022
17998d5
changed route for contact
Ayush783 Sep 30, 2022
7a2a578
chore: changed the icons of other file types
Pritam-deb Oct 6, 2022
ceb098c
chore: used it in common widgets
Pritam-deb Oct 6, 2022
722503c
fix: changed the resolution of icons
Pritam-deb Oct 7, 2022
f0dde07
Merge pull request #233 from atsign-foundation/new-icons-others
nitesh2599 Oct 10, 2022
c9d1ab4
changed font family
Ayush783 Oct 10, 2022
e5734a4
added assets
Ayush783 Oct 10, 2022
dc94715
modified app bar
Ayush783 Oct 10, 2022
152527e
added required colors
Ayush783 Oct 10, 2022
624691b
added image constants
Ayush783 Oct 10, 2022
01afaa9
added custom divider widget
Ayush783 Oct 10, 2022
6f09fea
added required text styles
Ayush783 Oct 10, 2022
61a495e
added my files toolbox widget
Ayush783 Oct 10, 2022
7f31b03
added new text strings
Ayush783 Oct 10, 2022
01989c4
added file type dropdown selector widget
Ayush783 Oct 10, 2022
848d388
added first letter placeholder widget
Ayush783 Oct 10, 2022
cb3bae1
added file listview widget
Ayush783 Oct 10, 2022
c7bc55f
updated my files screen
Ayush783 Oct 10, 2022
de9e0a9
routes changes reverted
Ayush783 Oct 10, 2022
3847d3d
fixed overflow for small screen
Ayush783 Oct 10, 2022
c2868fa
final changes made
Ayush783 Oct 10, 2022
f99c6d7
Merge branch 'trunk' of https://github.com/atsign-foundation/atmosphe…
Ayush783 Oct 10, 2022
c132170
Merge branch 'ui_redesign' of https://github.com/atsign-foundation/at…
Ayush783 Oct 14, 2022
ea7ed99
minor change
Ayush783 Oct 14, 2022
84bf319
fixed ui issues
Ayush783 Oct 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:launchMode="singleTask"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand Down
Binary file added assets/fonts/Montserrat-Regular.ttf
Binary file not shown.
Binary file added assets/images/app_bg.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 added assets/images/archive_icon.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 added assets/images/arrow_down.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 added assets/images/blockedNew.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 added assets/images/groupNew.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 added assets/images/html_logo.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 added assets/images/other_type_icon.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 added assets/images/png_logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ppt_logo.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 added assets/images/psd_logo.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 added assets/images/refresh.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 added assets/images/search.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 added assets/images/svg_icon.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 added assets/images/trustedSender.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<string>13.0</string>
</dict>
</plist>
10 changes: 2 additions & 8 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ PODS:
- Flutter
- flutter_local_notifications (0.0.1):
- Flutter
- flutter_qr_reader (0.0.1):
- Flutter
- fluttertoast (0.0.2):
- Flutter
- Toast
Expand Down Expand Up @@ -123,7 +121,6 @@ DEPENDENCIES:
- flutter_image_compress (from `.symlinks/plugins/flutter_image_compress/ios`)
- flutter_keychain (from `.symlinks/plugins/flutter_keychain/ios`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_qr_reader (from `.symlinks/plugins/flutter_qr_reader/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- open_file (from `.symlinks/plugins/open_file/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
Expand Down Expand Up @@ -175,8 +172,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_keychain/ios"
flutter_local_notifications:
:path: ".symlinks/plugins/flutter_local_notifications/ios"
flutter_qr_reader:
:path: ".symlinks/plugins/flutter_qr_reader/ios"
fluttertoast:
:path: ".symlinks/plugins/fluttertoast/ios"
open_file:
Expand Down Expand Up @@ -215,11 +210,10 @@ SPEC CHECKSUMS:
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
emoji_picker_flutter: df19dac03a2b39ac667dc8d1da939ef3a9e21347
file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_image_compress: 5a5e9aee05b6553048b8df1c3bc456d0afaac433
flutter_keychain: 01aabf894ffe8b01adfda1d9df21c210c1b4b452
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_qr_reader: d930dde3b2cfe2b3d0bb7d66e5ff3e514300a5e5
fluttertoast: 16fbe6039d06a763f3533670197d01fc73459037
libwebp: 98a37e597e40bfdb4c911fc98f2c53d0b12d05fc
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
Expand All @@ -241,6 +235,6 @@ SPEC CHECKSUMS:
video_thumbnail: c4e2a3c539e247d4de13cd545344fd2d26ffafd1
webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f

PODFILE CHECKSUM: db8a7794fb1b0bee1e3803fed876c7cf9577099b
PODFILE CHECKSUM: db1b3d34103b9bca35e1d0bca266af8024bec0bc

COCOAPODS: 1.11.3
12 changes: 6 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "Share Extension/Info.plist";
Expand Down Expand Up @@ -448,7 +448,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "Share Extension/Info.plist";
Expand Down Expand Up @@ -478,7 +478,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "Share Extension/Info.plist";
Expand Down Expand Up @@ -560,7 +560,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -708,7 +708,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -747,7 +747,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = 5XUSS6C2DF;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down
32 changes: 21 additions & 11 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import 'package:atsign_atmosphere_pro/view_models/file_transfer_provider.dart';
import 'package:atsign_atmosphere_pro/view_models/history_provider.dart';
import 'dart:io';
import 'routes/routes.dart';
import 'utils/colors.dart';

class MyApp extends StatefulWidget {
MyApp({Key? key}) : super(key: key);
Expand Down Expand Up @@ -79,17 +80,26 @@ class _MyAppState extends State<MyApp> {
initialRoute: initialRoute,
navigatorKey: NavService.navKey,
theme: ThemeData(
fontFamily: 'Inter',
scaffoldBackgroundColor: Colors.white,
primaryColor: Color.fromARGB(255, 240, 94, 62),
appBarTheme: AppBarTheme(
color: Colors.white,
elevation: 0,
iconTheme: IconThemeData(color: Colors.black),
),
buttonBarTheme: ButtonBarThemeData(
alignment: MainAxisAlignment.center,
)),
fontFamily: 'Inter',
scaffoldBackgroundColor: Colors.white,
primaryColor: Color.fromARGB(255, 240, 94, 62),
appBarTheme: AppBarTheme(
color: Colors.white,
elevation: 0,
iconTheme: IconThemeData(color: Colors.black),
),
buttonBarTheme: ButtonBarThemeData(
alignment: MainAxisAlignment.center,
),
scrollbarTheme: ScrollbarThemeData(
minThumbLength: 330,
radius: Radius.circular(11),
thumbColor: MaterialStateProperty.all(ColorConstants.mildGrey),
trackColor: MaterialStateProperty.all(ColorConstants.textBoxBg),
mainAxisMargin: 18,
trackBorderColor: MaterialStateProperty.all(Colors.transparent),
),
),
routes: routes,
),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,13 @@ class _DesktopReceivedFilesListTileState
? ImageConstants.exelLogo
: FileTypes.TEXT_TYPES.contains(extension)
? ImageConstants.txtLogo
: ImageConstants.unknownLogo,
: FileTypes.ARCHIVE_TYPES
.contains(extension)
? ImageConstants.archiveLogo
: FileTypes.WEB_IMAGE_TYPES
.contains(extension)
? ImageConstants.svgLogo
: ImageConstants.otherFileLogo,
fit: BoxFit.cover,
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,13 @@ class _DesktopSentFilesListTileState extends State<DesktopSentFilesListTile> {
? ImageConstants.exelLogo
: FileTypes.TEXT_TYPES.contains(extension)
? ImageConstants.txtLogo
: ImageConstants.unknownLogo,
: FileTypes.ARCHIVE_TYPES
.contains(extension)
? ImageConstants.archiveLogo
: FileTypes.WEB_IMAGE_TYPES
.contains(extension)
? ImageConstants.svgLogo
: ImageConstants.otherFileLogo,
fit: BoxFit.cover,
),
),
Expand Down
17 changes: 12 additions & 5 deletions lib/screens/common_widgets/add_contact.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class _AddContactState extends State<AddContact> {
)
],
),
content: ConstrainedBox(
content: Container(
width: 495,
constraints: BoxConstraints(
maxHeight: (widget.name != null) ? 190.toHeight : 150.toHeight,
),
Expand Down Expand Up @@ -106,15 +107,18 @@ class _AddContactState extends State<AddContact> {
height: 10.toHeight,
),
isContactAdding
? Center(
child: CircularProgressIndicator(),
? Container(
padding: EdgeInsets.all(32),
child: Center(
child: CircularProgressIndicator(),
),
)
: Container(
alignment: Alignment.center,
child: SizedBox(
width: (Platform.isAndroid || Platform.isIOS)
? SizeConfig().screenWidth
: 150.toWidth,
: 150,
child: CustomButton(
buttonText: 'Yes',
fontColor: Colors.white,
Expand Down Expand Up @@ -144,7 +148,7 @@ class _AddContactState extends State<AddContact> {
child: SizedBox(
width: (Platform.isAndroid || Platform.isIOS)
? SizeConfig().screenWidth
: 150.toWidth,
: 150,
child: CustomButton(
buttonColor: Colors.white,
buttonText: 'No',
Expand All @@ -153,6 +157,9 @@ class _AddContactState extends State<AddContact> {
},
)),
),
SizedBox(
height: 10.toHeight,
),
],
),
);
Expand Down
Loading