Commit graph

481 commits

Author SHA1 Message Date
ashilkn c48108a2da Made a working TextInputDialog 2023-02-07 10:43:22 +05:30
ashilkn ba1d7bf2b0 Made a non functional version of TextInputWidget 2023-02-07 08:44:11 +05:30
ashilkn 747c013292 Fixed bug which comes when theme changes dynamically on MenuItem 2023-02-03 17:21:58 +05:30
ashilkn 76f3a97c76 Disable gesutres when MenuItem is in success or inProgress state 2023-02-03 17:17:17 +05:30
Neeraj Gupta 77eeaa4c06
Merge branch 'main' into fix_radius 2023-02-02 09:09:37 +05:30
Neeraj Gupta a11a86895a
Use 8 as border radius for multiple meneItems list 2023-02-02 07:56:41 +05:30
Neeraj Gupta 00bf2c4c6d
Fix radius for menuItem border 2023-02-01 19:49:16 +05:30
ashilkn 5d833bd944 Don't show owner avatar on albumListItem on CreateCollectionSheet 2023-02-01 18:57:27 +05:30
ashilkn 57f689abb1 Added a comment 2023-02-01 18:37:35 +05:30
ashilkn 87e42715c5 Made showing success state even if execution time < debounce time configurable 2023-02-01 13:56:39 +05:30
ashilkn bd3908f3e1 Made surfacing execution states configurable in MenuItemWidget 2023-02-01 12:49:50 +05:30
ashilkn c27fb74f22 Give TrailingIcon key to fix bug with theme change menuitem 2023-02-01 12:22:39 +05:30
ashilkn dad5f8075e Made showing the success state configurable in MenuItemWidget 2023-02-01 07:40:44 +05:30
ashilkn bc3f0ed464 Loading and success states for MenuItemWidget 2023-02-01 07:12:26 +05:30
ashilkn 2d9d8ca102 Refactored MenuItemWidget 2023-01-31 17:51:57 +05:30
ashilkn 199bd8fd08 minor layout and copy change 2023-01-30 15:18:24 +05:30
Neeraj Gupta f586102e96
Show album owner avatar in shared collection 2023-01-28 08:50:19 +05:30
Ashil cc23be733c
Merge pull request #817 from ente-io/redesign-add-to-album
Redesign add/move to album
2023-01-27 10:41:06 +05:30
ashilkn f122075073 Minor changes 2023-01-27 10:31:30 +05:30
Neeraj Gupta 6e6c2fb075
Merge pull request #821 from ente-io/custom_title_widget
Update delete album copy
2023-01-26 11:17:30 +05:30
Neeraj Gupta 78c1ce8aa0
Update delete album copy 2023-01-26 10:53:50 +05:30
Neeraj Gupta d369052b4d
Add support for custom bodyWidget in action content 2023-01-26 10:36:18 +05:30
ashilkn 0bf0b53a78 Made 'item' of AlbumListItemWidget non-nullable 2023-01-25 18:17:28 +05:30
ashilkn 587ab02c43 Created separate components for NewAlbumListItem and AlbumListItem 2023-01-25 18:00:04 +05:30
ashilkn dacd1bfab5 Avoid instantiating Logger on every build 2023-01-25 16:37:47 +05:30
ashilkn adfc8108d5 Bug fix: Navigator stack getting completely popped on dismiss/cancel of dialogs on success state 2023-01-25 14:27:49 +05:30
ashilkn 2bcfc37de3 Merge branch 'main' into redesign-add-to-album 2023-01-25 10:40:52 +05:30
ashilkn 2acb810a5a Added option to configure if NoThumbnailWidget should have a border or not 2023-01-24 12:50:43 +05:30
ashilkn dede6b9b24 Throw error if item is not passed in AlbumListItem if isNew false 2023-01-22 17:43:49 +05:30
ashilkn 97805cebb9 Improved implementation of border of AlbumListItem + minor layout change in CreateCollecitonSheet 2023-01-21 09:25:28 +05:30
ashilkn 35a0f5b206 Imporve stroke of AlbumListItemWidget 2023-01-20 13:11:05 +05:30
ashilkn ed9c745cc2 Added new album varient in AlbumListItemWidget 2023-01-20 12:51:34 +05:30
ashilkn 278fec90c4 Gave stroke inside of AlbumlistItemWidget by using the border of another container stacked on top 2023-01-20 10:58:10 +05:30
ashilkn 2d0ef80a3a Made AlbumListItem component 2023-01-19 18:36:20 +05:30
ashilkn 34186ebf70 Created a new component for the bottom part of TitleBarWidget 2023-01-19 13:56:42 +05:30
Neeraj Gupta 98a22c34a5
Merge branch 'main' into uncategorized 2023-01-18 12:46:16 +05:30
Ashil eec922c925
Merge pull request #810 from ente-io/button-pressed-states
Button pressed states
2023-01-17 18:47:20 +05:30
ashilkn d0bb311a56 New changes to pressed states of buttons 2023-01-17 14:44:18 +05:30
ashilkn bb98675b6c Changed the text theme of title in dialogs to largeBold 2023-01-17 11:55:02 +05:30
ashilkn 80255480cb Changed pressed state in Neutral and tertiary buttons + some other changes 2023-01-16 16:51:32 +05:30
ashilkn e35905268e Removed hack for stroke 2023-01-16 16:20:47 +05:30
ashilkn 56058c3762 Changed pressed state of secondary button 2023-01-16 15:16:17 +05:30
ashilkn d97812efca Used a hack to give stroke inside for tertiary critical button 2023-01-16 15:11:06 +05:30
ashilkn f96ba49fe1 Changed pressed state of primary and critical buttons 2023-01-16 14:42:36 +05:30
ashilkn 2d24c8a581 Fix: Pressed state not working on buttonWidget 2023-01-16 14:16:46 +05:30
Neeraj Gupta a3173b71af
Merge branch 'main' into uncategorized 2023-01-12 09:18:55 +05:30
ashilkn 621a54eb08 Fix typo 2023-01-10 11:52:25 +05:30
ashilkn d42d024d30 Close dialog after 1 second in success state 2023-01-09 17:34:06 +05:30
Neeraj Gupta 6bcadeda0e
Merge branch 'main' into uncategorized 2023-01-09 15:50:50 +05:30
ashilkn effea1cf47 Fixed button theme state issue on theme change 2023-01-09 13:06:50 +05:30
Manav 3c046f8d98 Increase trailing margin for the theme picker selection checkmark
Before this, the checkmark aligned to the dropdown indicators. This increases
the spacing (to match that of the leading text) to indicate that the checkmark
is part of the content.

Sibling PR on auth: https://github.com/ente-io/auth/pull/31
2023-01-08 16:45:00 +05:30
Neeraj Gupta bb498bce53
Merge pull request #789 from ente-io/bump_verison_405
Remove title from delete action sheet & bump version 0.7.6
2023-01-08 14:12:43 +05:30
Neeraj Gupta cdf8604d80
ActionSheet: Reduce padding for text container 2023-01-08 14:05:17 +05:30
ashilkn fae64a322b Replaced 'Email your logs' dialog with the new one 2023-01-07 17:37:13 +05:30
ashilkn 79e354942e Added option to show success conformation on ButtonWidget when onTap executes immedeately 2023-01-07 16:56:31 +05:30
ashilkn 72ebeba3ba Merge branch 'main' into reset-ignored-files 2023-01-06 17:24:04 +05:30
Neeraj Gupta 09e9bfac84
formatting changes 2023-01-06 14:03:46 +05:30
Neeraj Gupta 7ef4a34607
Add default value for actionSheetType 2023-01-06 14:00:35 +05:30
Neeraj Gupta 0cc7a91af5
Merge branch 'main' into uncategorized 2023-01-06 13:34:30 +05:30
Neeraj Gupta 0d1d3bc803
Fix: Add cancel option for file delete prompts 2023-01-06 12:35:33 +05:30
ashilkn 6b5f2a5fec Add pressed state for menuItem by default if onTap or onDoubleTap is passed 2023-01-06 11:45:17 +05:30
Neeraj Gupta 106aa638e1
ActionSheet: Support for body highlight 2023-01-06 11:14:25 +05:30
Neeraj Gupta 005413f633
ButtonWidget: Reduce pop delay for inAlert button 2023-01-05 16:44:05 +05:30
Neeraj Gupta 5f8ef8a3d9
Tweak UI for delete empty album progress 2023-01-04 13:14:02 +05:30
Neeraj Gupta 628967e999
Merge branch 'db_and_services' of github.com:ente-io/photos-app into db_and_services 2023-01-03 20:25:12 +05:30
Neeraj Gupta 5f4b67b93e
Merge branch 'main' into db_and_services 2023-01-03 20:24:42 +05:30
Neeraj Gupta c2d2caa05b
Fix typos and dispose valueNotifier 2023-01-03 14:30:10 +05:30
Neeraj Gupta bfe09f5436
Minor refactoring 2023-01-03 14:03:26 +05:30
Neeraj Gupta dff1e29526
ButtonWidget: Support for showing progressStatus 2023-01-03 12:54:35 +05:30
Manav ab43dd54db Reduce colors for icons too 2023-01-01 00:03:12 +05:30
Manav 0c0aaaa76e Wrap in a stateful widget to allow updates 2022-12-31 23:55:45 +05:30
Neeraj Gupta f3d8a13337
Apply lint suggestions 2022-12-30 21:12:03 +05:30
Neeraj Gupta d6ad004354
NullSafety: Apply dart migrate suggestions + compilation fixes 2022-12-30 17:40:17 +05:30
ashilkn 0301f2a797 Moved all dialog util functions to dialog_util.dart 2022-12-30 08:03:03 +05:30
ashilkn 4bca8a66b8 Created a method which returns a choice dialog widget of type DialogWidget 2022-12-29 19:04:11 +05:30
ashilkn 37ab518aba Minor changes 2022-12-29 10:03:18 +05:30
ashilkn b23f8f06fe Replaced errorDialogs with new errorDialogs 2022-12-29 09:59:01 +05:30
ashilkn acd8cdf29b Made dialog and action sheet's dismissible property configurable 2022-12-28 19:14:28 +05:30
ashilkn 6d0c117f8f Remove unused code + enabled drag to dismiss action sheet 2022-12-28 16:57:00 +05:30
ashilkn 4aaf3573b7 Made dialogs dismissable 2022-12-28 14:43:45 +05:30
ashilkn 82276958d7 Made actionSheet dismissable 2022-12-28 14:24:11 +05:30
ashilkn 66200c2930 Minor correction in a comment 2022-12-27 14:12:05 +05:30
ashilkn 50970a6875 Made success state of button as short as possible if it doesn't have to be surfaced on UI 2022-12-27 14:00:24 +05:30
ashilkn 4ea6a9a22b Used better variable names and comments 2022-12-27 13:37:10 +05:30
ashilkn 348644a9ce Added option to disable execution states in ButtonWidget 2022-12-27 12:42:18 +05:30
ashilkn 7f126810fb Replaced feedback dialog with the new one 2022-12-26 19:14:48 +05:30
ashilkn f6bb04b25f Show success state for 2 seconds for buttons inside an alert 2022-12-26 17:49:38 +05:30
ashilkn fe7a1ce556 Merge branch 'main' into replace-dialogs 2022-12-26 16:40:25 +05:30
ashilkn e0fe29bf98 Replaced generic error dialog with new one + some minor changes 2022-12-26 16:39:29 +05:30
ashilkn 4e1b73f28a Made a new generic error dialog 2022-12-26 16:04:58 +05:30
ashilkn 5daada33a9 Created a wrapper around showDialogWidet() for showing choiceDialogs 2022-12-26 15:14:04 +05:30
ashilkn fc3cbc67cd Set default button size of button component to large 2022-12-26 14:43:40 +05:30
Neeraj Gupta a1a7a01af9
Merge pull request #720 from ente-io/create_link
Support for creating link for selected files
2022-12-26 11:14:18 +05:30
Neeraj Gupta 717063bd12
Merge pull request #729 from ente-io/fix-button-border
Fix button border
2022-12-24 15:19:31 +05:30
Neeraj Gupta e62c01118e
Show new action sheet on link creation 2022-12-22 16:01:10 +05:30
Neeraj Gupta 8f3279f9f8
Merge branch 'main' into cache_info 2022-12-22 14:45:38 +05:30
Neeraj Gupta 20514e238d
Merge branch 'main' into cache_info 2022-12-22 10:18:06 +05:30
ashilkn 75c0fee536 Revert "Used StrokeAlign.outside for button's stroke which matchs figma"
This reverts commit d693868b6c.
2022-12-22 10:12:05 +05:30
ashilkn d693868b6c Used StrokeAlign.outside for button's stroke which matchs figma 2022-12-21 13:58:39 +05:30
ashilkn c9a2ddf1c0 Corrected whitespace between buttons in dialog component 2022-12-21 12:29:06 +05:30
ashilkn ec9a2d606b Fixed border issue on button component 2022-12-21 12:16:51 +05:30
ashilkn 59b22f1d1e Add horizontal padding to dialog if mobile is small 2022-12-21 10:30:07 +05:30
ashilkn db9f0c1a23 Made Dialog component without it's TextInput varient 2022-12-20 17:15:10 +05:30
ashilkn 9176c45c88 Make alert dismiss even if onTap is null of the ButtonWidget used in it 2022-12-20 16:41:02 +05:30
Neeraj Gupta aed55f5770
Merge pull request #695 from ente-io/collaboration_view
Prettify Sharing + Collect Files 
2022-12-19 15:34:56 +05:30
Neeraj Gupta c17a538a98
Merge pull request #715 from ente-io/font_size_bug
Font size bug
2022-12-19 11:28:02 +05:30
ashilkn e1e3e9cd81 Increased tappable area for cancel in bottomActionSheet 2022-12-19 11:11:15 +05:30
Neeraj Gupta 7fabc6bd0f
Color changes 2022-12-17 10:48:33 +05:30
Neeraj Gupta 31d3f0830d
ButtonType: Add option to override iconColor 2022-12-17 10:16:27 +05:30
ashilkn e9e62e379c Fixed UI bug on expanded menu of bottomAcitonBar on higher system font sizes 2022-12-16 18:15:36 +05:30
ashilkn a6fc65a6eb Use only List<ButtonWidget> for button property in ActionSheetWidget 2022-12-16 16:43:34 +05:30
ashilkn 6c2b6f8eed bug fix 2022-12-16 16:34:51 +05:30
ashilkn 2ee6e26e48 Merge branch 'collaboration_view' into action-sheet-add-on 2022-12-16 16:17:52 +05:30
ashilkn 60b69beed9 Minor changes 2022-12-16 16:08:49 +05:30
Neeraj Gupta e19cbeb129
Merge pull request #711 from ente-io/bottom_bar_blur
Bottom bar blur
2022-12-16 15:58:21 +05:30
vishnukvmd f82ead149f Fix icon color for the bottom bar 2022-12-16 15:57:09 +05:30
vishnukvmd f6740cd840 Reduce blur of the bottom bar 2022-12-16 15:56:01 +05:30
Neeraj Gupta b06fc72614
Copy fix 2022-12-16 15:22:42 +05:30
vishnukvmd 044878e336 Render action bar conditionally for collaborators 2022-12-16 13:37:23 +05:30
ashilkn 73415ff9a0 Dismiss ActionSheet properly after action is complete 2022-12-16 13:18:57 +05:30
ashilkn 78e1c05d93 Handled error states in button when used in action sheet 2022-12-16 12:56:24 +05:30
ashilkn a370781c94 Minor changes 2022-12-16 12:13:25 +05:30
ashilkn 6c16c9dbbc Check if mounted before calling setState 2022-12-16 12:06:37 +05:30
ashilkn de50b052a8 Return info about button tapped in action sheet 2022-12-16 12:00:01 +05:30
Neeraj Gupta 29d39488eb
UI Fixes 2022-12-15 22:23:06 +05:30
Neeraj Gupta dbe5747104
Add support for disabled state 2022-12-15 21:54:39 +05:30
Neeraj Gupta 683a1c66aa
Merge branch 'redesign-with-components' into collaboration_view 2022-12-15 20:16:00 +05:30
ashilkn 692fa4e33c Added a comment 2022-12-15 16:40:34 +05:30
Neeraj Gupta 439c7241d4
Add hooks for more file actions 2022-12-15 15:32:46 +05:30
ashilkn d59863670c Give Color/Style to Small ButtonSize 2022-12-15 14:52:39 +05:30
ashilkn a930c887a7 Give all buttons execution states 2022-12-15 11:26:32 +05:30
ashilkn 5b356d12aa Apply new changes for LargeButton 2022-12-15 10:59:19 +05:30
Neeraj Gupta 8ec8944fbd
FileSelection: Show various actions based on gallery type 2022-12-14 23:05:08 +05:30
Neeraj Gupta 69a9a0f996
ActionBar: Show split between selected and yours 2022-12-14 22:18:24 +05:30
Neeraj Gupta 1aadc08fdf
Merge branch 'redesign-with-components' into collaboration_view 2022-12-14 15:13:54 +05:30
ashilkn 6281247764 Changes to maintain same button width during execution state in small button 2022-12-14 13:25:28 +05:30
ashilkn c9b8392663 Changed width of button to take size of it's child for SmallButton 2022-12-14 11:31:54 +05:30
ashilkn f0854683f8 Renamed names with 'LargeButton' to 'Button' or 'CustomButton
'
2022-12-14 11:05:18 +05:30
ashilkn 3b079d1ae1 Constant border color when pressed for Critical buttonType 2022-12-14 10:29:45 +05:30
ashilkn b4aab74254 Fixed app fetching userDetails multiple times when opening settings by swiping 2022-12-13 17:58:44 +05:30
ashilkn 84630b3c7c Restricted width of AcitonSheet 2022-12-12 17:59:02 +05:30
ashilkn fa4c08c699 Made 'Icon Only'(name from Figma) type of ActionSheet 2022-12-12 16:42:17 +05:30
ashilkn ee58f97c90 Merge branch 'redesign-with-components' into delete-bottom-sheet 2022-12-12 15:38:29 +05:30
ashilkn 19bb45cf3c Merge branch 'master' into redesign-with-components 2022-12-12 15:37:40 +05:30
ashilkn 81ef4eab20 Misc. changes 2022-12-12 15:18:07 +05:30
ashilkn d847430b12 Added animation between execution states of LargeButton 2022-12-12 14:53:45 +05:30
ashilkn 14ab128ace Minor fix 2022-12-12 14:36:28 +05:30
ashilkn c32d661c1c Enable execution states for only Primary, Secondary & Neutral LargeButtons 2022-12-12 14:33:35 +05:30
ashilkn ce9c8f72ee Added colors for loading icon and check icon 2022-12-12 11:32:06 +05:30
ashilkn 5c9bf7dc4b Used 20pts version of EnteLoadingIcon in loading state of button 2022-12-12 10:45:19 +05:30
Neeraj Gupta 8891b0ce58
Merge branch 'master' into collaboration_view 2022-12-11 19:18:23 +05:30
Neeraj Gupta 705b4bb39f
Add enable collect flag behind feature flag 2022-12-11 18:36:57 +05:30
ashilkn ffe90d24ec bug fix 2022-12-10 13:13:55 +05:30
ashilkn 287bc8813e Added 'Loading' and 'Successful' states for LargeButton 2022-12-10 12:30:42 +05:30
ashilkn 1de746f44c Disabled state for LargeButton 2022-12-10 10:25:17 +05:30
ashilkn 1f85f745b6 Add onPressed UI state for LargeButton 2022-12-09 21:16:05 +05:30
ashilkn ebb855f484 code refactoring 2022-12-09 19:30:58 +05:30
ashilkn eb5b1f69a0 Merge branch 'redesign-with-components' into delete-bottom-sheet 2022-12-09 13:34:42 +05:30
ashilkn e244bc1e76 Merge branch 'master' into redesign-with-components 2022-12-09 13:27:18 +05:30
ashilkn a481d77d71 Refactored code by using enhanced enums 2022-12-09 12:25:32 +05:30
ashilkn e4ccba0467 declare ButtonType enum outside LargeButton's file 2022-12-09 09:23:23 +05:30
ashilkn e4e4eeb194 rename file 2022-12-09 09:15:06 +05:30
ashilkn 03748a212a Handled case where labelText or icon is missing from LargeButton 2022-12-08 19:00:43 +05:30
ashilkn 25f62e08e6 Handled text overflow in LargeButton 2022-12-08 18:36:48 +05:30
ashilkn 415fabeeb6 Added some comments 2022-12-08 17:03:46 +05:30
ashilkn 9e37436df4 Added flag 'isInActionBar' to LargeButton for setting the theme of button to always dark theme 2022-12-08 16:25:46 +05:30
ashilkn 51ad609a7b misc. changes in ActionSheet 2022-12-08 15:06:02 +05:30
Neeraj Gupta b71c214c58
Merge branch 'master' into collaboration_view 2022-12-08 14:06:00 +05:30
ashilkn 8112d4eef7 Added title & body properties to ActionSheet & ContentContainer 2022-12-08 13:34:53 +05:30
ashilkn 9460390f30 Renamed DeleteItemsWidget to ActionSheetWidget 2022-12-08 12:41:36 +05:30
ashilkn 4218fbeccc Made addSeparators method to add separators to a list of widgets 2022-12-08 11:39:14 +05:30
ashilkn 8f36cf0a29 Added icon and labelText properties to LargeButtonWidget 2022-12-07 20:49:54 +05:30
ashilkn d3730aafc6 Wrote logic to find different colors and styles of each type of button in LargeButton 2022-12-07 20:38:54 +05:30
ashilkn a56e36a263 Made a basic version of LargeButton component 2022-12-07 15:33:53 +05:30
vishnukvmd 6b3dac1b69 Update CaptionedTextWidget 2022-12-07 09:06:41 +05:30
vishnukvmd 334e27da56 Rename variable 2022-12-06 23:33:39 +05:30
ashilkn 7a39b8ba56 Created a basic version of DeleteItemsWidget 2022-12-06 20:38:04 +05:30
ashilkn 86a61e935a use constant for max width 2022-12-06 13:41:37 +05:30
ashilkn 8085c9d571 add crossFade for expandedMenu 2022-12-06 13:30:01 +05:30
ashilkn 00fdde0bf3 add option to sepecify smaller or larger bottom padding for BottomActionBar 2022-12-06 11:50:23 +05:30
ashilkn 428eb78f0d restrict width of content inside BottomActionBar 2022-12-06 11:45:23 +05:30
ashilkn 580a6e42a9 minor changes 2022-12-05 20:50:21 +05:30
ashilkn 48a5bfae23 change bottom padding of BottomActionWidget with context 2022-12-05 20:49:18 +05:30
ashilkn 171ecb8805 Used a nested List of BlurMenuItemWidget as items instead of passing groupingOrder to ExpandedMenuWidget 2022-12-05 18:18:56 +05:30
ashilkn d2daa0bf21 refactored code 2022-12-05 16:38:21 +05:30
ashilkn 6202e5a5e9 add text overflow BlurMenuItem's label 2022-12-05 15:50:33 +05:30
ashilkn 06718f766c add functionality to share icon in BottomActionBar 2022-12-05 13:46:26 +05:30
ashilkn 0c592fa509 add functionality for delete on BottomActionBar 2022-12-05 13:36:47 +05:30
ashilkn 472c618ed0 created ExpandedMenuWidget to be used in BottomActionBar's expansion 2022-12-05 11:27:37 +05:30
ashilkn 716d6c395a use different expandableTheme for bottomActionBar's expansionPanel 2022-12-01 11:40:20 +05:30
ashilkn d68a789f8a remove passing of context as argument unwantedly 2022-12-01 11:39:06 +05:30
ashilkn a4446f6fa4 Merge branch 'master' into bottom-action-bar 2022-12-01 08:55:24 +05:30
ashilkn d83cbebadd sync selected file count on bottom action bar 2022-12-01 08:27:14 +05:30
ashilkn 0a0d39d4a0 remove unwanted code 2022-11-30 12:43:00 +05:30
ashilkn 5dcc92fadb BottomActionBar : unselect all & close BottomActionBar on cancel 2022-11-30 12:29:26 +05:30
ashilkn 392b548622 added color and blur to BottomActionBarWidget 2022-11-29 20:21:38 +05:30
ashilkn 9b0693de44 animate opening and closing of BottomActionBarWidgat 2022-11-29 20:03:40 +05:30
ashilkn f69975d2a6 show bottom action bar on selecting files 2022-11-29 16:11:26 +05:30
ashilkn 701ebe5e3f pass text instead of textWidget + dynamic font change for action bar text 2022-11-28 19:30:16 +05:30
ashilkn b120e06791 collapse expansion on 'cancel' 2022-11-28 19:06:56 +05:30