Commit graph

478 commits

Author SHA1 Message Date
ashilkn afa0309f39 Resolved merge conflicts 2023-02-23 18:13:15 +05:30
ashilkn 9d161fe239 Bug fix: Option to obscure text coming up in every TextInputwidget 2023-02-23 16:48:20 +05:30
Neeraj Gupta 8ef01866c2
Merge pull request #884 from ente-io/referral_success
Referral Changes
2023-02-23 15:54:08 +05:30
ashilkn 435db317cc Changed header height of archive page 2023-02-23 13:32:13 +05:30
Neeraj Gupta 399952d4bf
rename 2023-02-23 13:06:21 +05:30
Neeraj Gupta 3d1630e7a1
Merge branch 'main' into fix_archived_albums 2023-02-23 07:07:28 +05:30
Neeraj Gupta cd3a71e56e
Shrink horizontal album widget when empty 2023-02-23 07:05:22 +05:30
Neeraj Gupta a48812c7e8
Add horizontal divider 2023-02-23 07:00:16 +05:30
Neeraj Gupta e0b1c2c463
Fix bug in state refresh 2023-02-23 06:52:08 +05:30
Neeraj Gupta 86e35e5cfc
Refactor:create widget for horizonal album listing 2023-02-23 06:45:29 +05:30
ashilkn cefd9eb052 Added linear gradient for golden banner 2023-02-22 20:55:55 +05:30
ashilkn c03a34fa21 Create new golden color 2023-02-22 18:20:42 +05:30
ashilkn 3db345350f New golden banner 2023-02-22 16:37:54 +05:30
ashilkn 7062c2acbd Merge branch 'main' into empty_state 2023-02-20 14:18:03 +05:30
ashilkn 35bcfbe201 Added link of componnt in figma 2023-02-20 14:17:10 +05:30
Neeraj Gupta 35654a716c
Refactor notification widget 2023-02-17 14:18:46 +05:30
ashilkn b382a70077 Handle text overflow 2023-02-14 15:18:28 +05:30
ashilkn 733b36387f Made EmptyStateItem component 2023-02-14 14:30:02 +05:30
ashilkn dc0dcffbef Code refactoring 2023-02-13 16:25:20 +05:30
ashilkn 508fd909f5 Password input can be made visible or not in the TextInputWidget 2023-02-13 16:09:24 +05:30
ashilkn 6137dafa08 Fixed disposing for valueNotifier 2023-02-12 11:19:55 +05:30
ashilkn ea70d88eab Show error if execution fails after manually closing dialog 2023-02-10 16:02:24 +05:30
ashilkn 6d3a637922 Modified dialogs and uses of them to work with ButtonWidget 2023-02-10 12:52:16 +05:30
ashilkn 112b80db8a Resolved merge conflicts 2023-02-09 18:59:43 +05:30
ashilkn dd49b7913d Modified uses of ActionSheets to work with ButtonWidget 2023-02-09 18:48:01 +05:30
ashilkn ee3d152083 Modified ButtonWidget to return exception when exception is thrown 2023-02-09 18:36:23 +05:30
ashilkn ef79387b9d Always show success state on renaming album & file 2023-02-09 10:26:06 +05:30
ashilkn 7bbb53b16e Added comments + formatting 2023-02-09 07:19:43 +05:30
ashilkn 4485bcab07 Dispose controllers & notifiers 2023-02-09 07:01:27 +05:30
ashilkn bcadb168cb Now for dialogs using TextInputWidget, the dialog will return an exception when popped when one is thrown from TextInputWidget 2023-02-09 06:25:44 +05:30
ashilkn 9a63900f46 Used new TextInputDialog for naming an album on creating one 2023-02-08 18:41:04 +05:30
ashilkn d9b28b43b2 Moved commonly used user defined function types to a file 2023-02-08 17:57:36 +05:30
ashilkn de03b1dd44 Moved ExecutionState enum to a separate file 2023-02-08 17:39:57 +05:30
ashilkn 9691bf9b66 Capitalize file ext + sumbit on 'done' in keyboard 2023-02-08 17:22:42 +05:30
ashilkn c42b9c3263 Added code for only showing loading state for TextInputWidget 2023-02-08 17:06:04 +05:30
ashilkn c03a5ee194 Changed code for setting execution states + other minor fixes 2023-02-08 15:20:51 +05:30
ashilkn e19076a46a Minor layout and state fixes 2023-02-08 12:54:35 +05:30
ashilkn ee834ac244 Merge branch 'main' into text_input_dialog 2023-02-08 12:31:39 +05:30
ashilkn d9333610ac Show execution states of TextInputWidget on UI 2023-02-08 12:30:56 +05:30
ashilkn 1bc3bde3d1 Added debouncer and code for execution states in TextInputWidget 2023-02-08 11:26:09 +05:30
ashilkn 5208ff3e13 Moved execution of onSubmit from ButtonWidget associated with TextInputWidget to within TextInputWidget 2023-02-08 11:13:46 +05:30
ashilkn e4d4e1d3d7 Rename file: Removed old progress dialogs 2023-02-07 16:46:13 +05:30
ashilkn 3a218a656b Set cursor position to the end of textField on initial focus 2023-02-07 16:20:55 +05:30
ashilkn c32abe66be Made auto focus and max length configurable in TextInputWidget 2023-02-07 14:37:19 +05:30
ashilkn 335c464180 Made alignment of message and initial value of TextInputWidget configurable 2023-02-07 14:01:49 +05:30
ashilkn 64b479dbf4 Created TextInputWidget and used it in TextInputDialog 2023-02-07 12:40:03 +05:30
ashilkn d5dc0a5858 Made hintText configurable in TextInputDialog 2023-02-07 11:16:49 +05:30
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