Commit graph

446 commits

Author SHA1 Message Date
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
ashilkn 2d63a4e48e made BlurMenuItemWidget component 2022-11-28 18:29:33 +05:30
ashilkn 30ec182f0e switch icon on bottomActionBar on expansion & collapse 2022-11-28 15:57:22 +05:30
ashilkn a6f588c790 made a basic version of BottomActionBarWidget 2022-11-28 13:28:38 +05:30
Neeraj Gupta e421841f55
Handle done and cancel button 2022-11-27 09:55:10 +05:30
Neeraj Gupta b918039c7c
Add basic widgets for buttons on top of keyboard 2022-11-27 07:14:12 +05:30
Neeraj Gupta 6f386640d2
Merge branch 'master' into collaboration_view 2022-11-24 12:02:47 +05:30
ashilkn 25195e369c make toggleValue nullable 2022-11-23 11:23:37 +05:30
Neeraj Gupta ef306d5925
Minor fix 2022-11-23 08:59:17 +05:30
Neeraj Gupta 9885cd9636
Minor fix 2022-11-23 07:33:13 +05:30
Neeraj Gupta 3546b5ef33
MenuItem: Allow passing custom leadingIcon 2022-11-22 09:30:12 +05:30
Neeraj Gupta ef6ab0b54c
minor ui fixes 2022-11-21 16:09:14 +05:30
Neeraj Gupta 694a23126c
Highlight expired links as warning 2022-11-21 14:50:51 +05:30
Neeraj Gupta 9aa3b222a9
UI: Redesign manage links page 2022-11-20 15:44:45 +05:30
Neeraj Gupta 443762c129
Add componenet for MenuSectionTitle 2022-11-20 10:01:45 +05:30
ashilkn bb66f60829 remove listeners properly 2022-11-18 18:27:39 +05:30
ashilkn 64591cf02c handled cases where toggle's onChanged returns an error 2022-11-16 19:10:15 +05:30
ashilkn abe868cbf8 remove use of future in value of ToggleSwitchWidget 2022-11-16 16:36:45 +05:30
ashilkn 8d32ce3dea use better typedef names 2022-11-16 09:20:33 +05:30
ashilkn 4555f5d79f use completer to fix bug on 2FA status change 2022-11-15 19:12:26 +05:30
ashilkn 02479a9955 add initial value property in ToggleSwitchWidget for setting the initial value of toggle 2022-11-15 15:46:15 +05:30
ashilkn bf0971f8ce made futures acceptable as value in ToggleSwitchWidget 2022-11-15 14:41:35 +05:30
ashilkn 6891dd4289 minor change to divider component 2022-11-08 15:31:47 +05:30
ashilkn 8e33c0fff9 change background color of file info 2022-11-08 14:57:39 +05:30
ashilkn a89fa3c11e corrected blurStroke colors 2022-11-08 14:50:30 +05:30
ashilkn 56c8bc1718 renamed InfoItemTextWidget to FileCaptionWidget and moved it out of components subfolder 2022-11-05 09:25:17 +05:30
ashilkn 921afb9a15 save caption on dismissing bottom sheet 2022-11-04 17:17:48 +05:30
ashilkn 358efb20b8 change caption on submit ('done' on keyboard) 2022-11-04 16:19:47 +05:30
ashilkn 9a16d0e822 UI interactions fixes + save on close & 'done' handlers 2022-11-04 14:53:04 +05:30
ashilkn c6f68ad5cb removed divider that comes after text field in file info 2022-11-04 11:12:54 +05:30
ashilkn 7f184681d2 added custom text counter for textField InfoItemWidget 2022-11-04 10:59:12 +05:30
ashilkn 3c1d68cd8d add textfield for caption in file info by creating InfoItemWidget 2022-11-03 16:25:39 +05:30
ashilkn b098208b38 misc changes in TitleBarWidget 2022-11-02 21:36:08 +05:30
ashilkn aba878a1fd used enum for IconButton types 2022-11-02 19:49:39 +05:30
ashilkn 9e39a75466 removed commented out code 2022-11-02 13:17:07 +05:30
ashilkn 0ef5a1c486 made divider component 2022-11-02 13:09:36 +05:30
ashilkn a748ab5eff changed padding of IconButtonWidget and layout changes where it is used 2022-11-01 18:08:09 +05:30
ashilkn 75de63e134 layout changes to ExpandableMenuItemWidget 2022-11-01 17:39:07 +05:30
ashilkn 8fb752f578 layout changes to MenuItemWidget and CaptionedTextWidget 2022-11-01 17:02:29 +05:30
ashilkn 3e715a6f3d minor size change for toggle switch 2022-11-01 16:27:48 +05:30
ashilkn 70cf65cc6b minor padding and size changes 2022-11-01 11:58:54 +05:30
ashilkn dd78c28444 avoid popping menuItem when state icon is visible and text is long 2022-11-01 09:49:39 +05:30
ashilkn 1b245a5021 show toggle feedback on short unsuccessful onchanged 2022-11-01 08:24:25 +05:30
ashilkn 8e1278c7e4 added debouncer to toggle status 2022-11-01 07:44:29 +05:30
ashilkn 01d5ed6be2 show check mark if toggle is successful 2022-10-31 18:40:01 +05:30
ashilkn 7f064b7a98 show EnteLoadingWidget when changes are being made internally on toggling switch 2022-10-29 18:42:35 +05:30
ashilkn e7c0b5fad6 minor layout change for ToggleSwitch 2022-10-29 16:12:34 +05:30
ashilkn a75bee5267 toggle ToggleSwitch before what in turn changes internally is changed 2022-10-29 15:24:50 +05:30
ashilkn c24bddd11b contain rebuilds upon changing ToggleSwitchWidget inside itself 2022-10-28 20:01:12 +05:30
ashilkn c766d30662 fallback to menuItemColor if pressedColor is null on pressed state on MenuItemWidget 2022-10-28 11:11:52 +05:30
ashilkn 9854994992 add option to disable gesture detector for MenuItemWidget 2022-10-28 11:09:11 +05:30
ashilkn 3956ef37ca created MenuSectionDescription component 2022-10-28 10:58:09 +05:30
ashilkn e5d2f8114d add option to remove top and/or bottom border radius of MenuItemWidget 2022-10-28 10:46:00 +05:30
ashilkn 4669d063fd added option to add custom colors to IconButtonWidget 2022-10-27 19:31:43 +05:30
ashilkn bd0c7624f0 used IconButtonWidget in TitleBarWidget 2022-10-27 19:29:02 +05:30
ashilkn 718bd09e29 used IconButtonWidget on NotificationWarningWidget 2022-10-27 19:19:30 +05:30
ashilkn ffd4d5f1fb used IconButtonWidget on HomeHeaderWidget 2022-10-27 18:21:48 +05:30
ashilkn 48b56d5dd7 bug fix 2022-10-27 17:36:56 +05:30
ashilkn 8275053999 added option to disable gestureDetector for iconButton 2022-10-27 17:06:10 +05:30
ashilkn bdf532ff09 show nothing if icon type is not specified in iconButton 2022-10-27 16:55:40 +05:30
ashilkn be1430d963 shorten animation duration of iconbutton 2022-10-27 16:37:39 +05:30
ashilkn c793e42f16 add pressed state for iconButton 2022-10-27 16:16:02 +05:30
ashilkn db31aedb2e made IconButton component 2022-10-27 12:44:52 +05:30
ashilkn bec4a99548 added option to disable flexible space 2022-10-27 11:50:38 +05:30
ashilkn 93c0c5940a used better identifier names 2022-10-27 11:15:57 +05:30
ashilkn aab989bc7e added white space on top of flexibleSpace's content to fill the space of toolbar 2022-10-26 20:04:24 +05:30
ashilkn 1364ef3e04 added visual density rule to follow for action widgets passed to TitleBarWidget 2022-10-26 18:51:23 +05:30
ashilkn cb810266bf handled text overflow for text in title bar 2022-10-26 12:21:54 +05:30
ashilkn 8e52ec9c53 add logic in TitleBarWidget when title is H3 without leading back button 2022-10-26 12:03:56 +05:30
ashilkn ff53ff79f7 added properties for titles and captions on TitleBarWidget 2022-10-26 11:18:43 +05:30
ashilkn 3ef9429169 made TitleBarTitle component 2022-10-26 11:12:01 +05:30
ashilkn b3881b30c4 added actionIcons property to TitleBarWidget 2022-10-25 19:27:05 +05:30
ashilkn 9ce6ed4125 made a basic version of TitleBarWidget 2022-10-25 14:33:11 +05:30
ashilkn e15157c3ac used a better variable name 2022-10-22 11:56:47 +05:30
ashilkn d666cd8381 fixed UI bug on theme change 2022-10-22 11:43:35 +05:30
ashilkn e750d4b804 added onCancel on menuItem for bug fix 2022-10-21 19:30:17 +05:30
ashilkn 82237bfd3e on pressed state for menuItem widget 2022-10-21 19:07:57 +05:30
Neeraj Gupta 4921c3e013
Merge pull request #587 from ente-io/verify_key_changes
Change copy for recovery key verification
2022-10-20 15:30:44 +05:30
Neeraj Gupta a0aa5cf387
Change copy for recovery key verification 2022-10-20 15:25:11 +05:30
Neeraj Gupta c31ca0bd41
Refactor sectionTitle and define brand textStyle instead of widget 2022-10-19 20:57:40 +05:30
Neeraj Gupta 70a3193471
Fix potential typo 2022-10-19 13:47:34 +05:30
Neeraj Gupta 0e42cf0b24
Fix build for older dart version 2022-10-19 13:45:31 +05:30
vishnukvmd 97a1f4ec2d Update background color for settings item on light mode 2022-10-15 17:23:12 +05:30
ashilkn 5c6401778d reduce the elevation of expanded menuItem 2022-10-15 17:01:34 +05:30
ashilkn bc5377d748 fire openedSettings event on opening settings from hamburger icon 2022-10-14 16:39:48 +05:30
ashilkn 6e2226380a change bg color of expandable menu item on expansion 2022-10-13 17:55:21 +05:30
ashilkn 5ddf29aae1 add 4pts extra padding for home header on devices with no notch 2022-10-13 16:51:26 +05:30
ashilkn 697d2b9750 add settings to drawer and open on clicking hamburger icon 2022-10-12 10:56:49 +05:30
ashilkn cc8e035ac9 minor changes 2022-10-12 09:21:29 +05:30
ashilkn d4c12fdfd1 Fade animation between center widgets of HomeHeaderWidget 2022-10-11 18:40:47 +05:30
ashilkn d95a60a40a made HomeHeaderWidget component 2022-10-11 11:08:16 +05:30
ashilkn 53413c0b14 made BrandTitle component 2022-10-11 08:30:57 +05:30
ashilkn 08f81bab17 partially implement auto scroll on expand 2022-10-10 17:54:09 +05:30
ashilkn 623be0d1aa add missing bottom spacing for account section in settings 2022-10-10 17:11:39 +05:30
ashilkn c79bb728d9 added animation to trailing icon of menuItemWidget 2022-10-07 13:34:27 +05:30
ashilkn 0e983806a5 removed bottom border radius of MenuItemWidget when expanded 2022-10-07 12:09:39 +05:30
ashilkn 89ef58c2b1 misc. changes 2022-10-07 10:26:29 +05:30
ashilkn 5af7d40180 use ToggleSwitchWidget for switches 2022-10-05 21:27:41 +05:30
ashilkn fa46328b34 minor changes 2022-10-05 19:44:28 +05:30
ashilkn a86e045243 changed to a better variable name 2022-10-05 19:27:32 +05:30
ashilkn 659068e2db add background color + border radius for expanded menu item 2022-10-05 17:33:12 +05:30
ashilkn a788268b8e made component for expandable menu items 2022-10-05 17:18:56 +05:30
ashilkn 47c8a430d4 used MenuItemWidget for Support's selectionOptions 2022-10-05 11:07:09 +05:30
ashilkn 322be5864d scaled down size of trailing switch in menu item 2022-10-05 10:55:46 +05:30
ashilkn 766a99ee46 added option to make text bold in CaptionedTextWidget + removed boilerplate code 2022-10-04 19:18:21 +05:30
ashilkn 0eee71ec0e used MenuItemWidget for Backup's selectionOptions 2022-10-04 18:45:51 +05:30
ashilkn bba0dc2740 onTap not working fix 2022-10-04 15:37:55 +05:30
ashilkn e550c1ca6d made expand more icon disappear upon expanding the menu item header 2022-10-03 20:02:39 +05:30
ashilkn 386ad8d601 added 'label' and 'message' to toggle switch 2022-10-03 16:21:23 +05:30
ashilkn 417b29c721 added border radius property to menu item 2022-10-03 12:49:12 +05:30
ashilkn 38a5256d88 added option to align captionedText when leading icon is not present and the menu item is nested 2022-10-03 11:56:02 +05:30
ashilkn 27add0ea7c removing+refactoring code 2022-09-29 17:51:31 +05:30
ashilkn a26037e7c0 add isHeaderExpansion property to decide to or not to add gesture detector to it 2022-09-29 07:38:02 +05:30
ashilkn ab0912ace0 rename to correct variable name 2022-09-29 07:10:27 +05:30
ashilkn 784131e407 remove default leading icon 2022-09-28 19:08:26 +05:30
ashilkn c339c79424 rename variable 2022-09-28 18:28:07 +05:30
ashilkn 92edfeb9d0 add option to change 1st captioned text color 2022-09-28 18:09:34 +05:30
ashilkn eac6c6e65c moved CaptionedTextWidget to seperate file 2022-09-28 17:54:21 +05:30
ashilkn 14bf9e9f86 rename LeadingWidget to CaptionedTextWidget and moved leading icon to MenuItemWidget 2022-09-28 17:52:16 +05:30
ashilkn 9e1c9a21ac added comments 2022-09-28 17:40:49 +05:30
ashilkn 1d51f0646d leading icon and it's color can be changed + renaming incorrect variable names 2022-09-28 17:38:04 +05:30
ashilkn 7308ffe870 added wrap to text content + refactoring 2022-09-28 17:21:52 +05:30
ashilkn b000ce4728 made toggel switch component 2022-09-28 16:37:12 +05:30
ashilkn 440111ec47 changes to trailing icon of menu_item 2022-09-28 14:07:31 +05:30
ashilkn e1dae4733d applied new changes from figma 2022-09-28 12:54:22 +05:30
ashilkn 7756ac81a0 add leading icon to menu_item component 2022-09-28 11:05:17 +05:30
ashilkn 26e921237b made 70% of the menu_item component 2022-09-28 10:30:43 +05:30
Neeraj Gupta aa6bda9222
refactoring 2022-09-23 15:15:34 +05:30
Neeraj Gupta 1aeb49d7f7
minor refactoring 2022-09-23 15:07:07 +05:30
Neeraj Gupta b3b756fc14
Fix UI for verify recovery key notification 2022-09-23 11:34:05 +05:30
Neeraj Gupta 2309688415
[FigmaComponents] Define base colors and effects 2022-09-21 14:41:34 +05:30
Neeraj Gupta 6b24997d93
[ui-components] make warning notification widget 2022-09-20 11:32:18 +05:30