Commit graph

8042 commits

Author SHA1 Message Date
ashilkn 6ec41684fa fix: remove size snapping of hero animation 2023-11-10 10:20:24 +05:30
ashilkn 9cc76d26d0 add hero animation for search section examples 2023-11-09 12:49:56 +05:30
ashilkn ba78a57db8 Move Albums section in search one section up 2023-11-09 12:22:16 +05:30
ashilkn de347476c1 add animation on 'view all' screen 2023-11-09 11:10:09 +05:30
ashilkn 3bc256e783 show title in search section's 'view all' screen when results are loading 2023-11-09 10:45:52 +05:30
ashilkn 2da8d64614 fix: home bottom nav bar showing wrong tab as selected sometimes 2023-11-09 07:04:41 +05:30
Crowdin Bot f800c17e53 New Crowdin translations by GitHub Action 2023-11-09 00:42:54 +00:00
Crowdin Bot 2deaf0c121 New Crowdin translations by GitHub Action 2023-11-08 12:18:20 +00:00
Neeraj Gupta aba7f5d4b5
Surface breakdown on storage bonus (#1481) 2023-11-08 16:32:22 +05:30
Vishnu Mohandas ca282385e4
Update intl_en.arb 2023-11-08 16:32:14 +05:30
ashilkn 9257a2afbf clip title of galleryAppBar + remove rename from clicking galleryAppBar 2023-11-08 14:24:52 +05:30
Neeraj Gupta f623912b03 Fix calculation for referral view 2023-11-08 13:59:17 +05:30
Neeraj Gupta ac14215eeb SubDowngrade: Check for add-on storage
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-08 13:17:24 +05:30
ashilkn d14b2ef9d8 update 'view all' screen of search sections when events the section listens to fires 2023-11-08 13:12:50 +05:30
Neeraj Gupta 1c5956fe52 Make widget stateless
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-08 13:12:18 +05:30
Neeraj Gupta b921416f4d Add breakup of add-on-storage 2023-11-08 12:06:11 +05:30
Neeraj Gupta 1aa4f7161e Hide View Add-on if only sign up bonus are present
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-07 20:44:39 +05:30
Neeraj Gupta c5a2b63ba9 Add View Add-on button if bonus is available
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-07 19:01:05 +05:30
Neeraj Gupta 8e3e617094 Parse and persist storage bonus
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-07 19:00:37 +05:30
ashilkn b4b4080149 resolve conflicts and merge main 2023-11-07 18:24:07 +05:30
ashilkn e5180034ff add support for searching sharer to see all items of sharer 2023-11-07 17:55:32 +05:30
Crowdin Bot 75bf1a69cc New Crowdin translations by GitHub Action 2023-11-07 12:18:32 +00:00
ashilkn 12051e8003 rename method 2023-11-07 17:41:16 +05:30
ashilkn 14d4f73d0d Remove unused code of recents 2023-11-07 17:19:59 +05:30
ashilkn f625313912 fix: new state not reflecting on UI of search tab when syncing is complete 2023-11-07 16:22:56 +05:30
ashilkn b39efa03c8 minor change 2023-11-07 13:17:32 +05:30
ashilkn 7b53b906b2 fix: bug in moments search section when there aren't results for at least one moments 2023-11-07 13:15:35 +05:30
ashilkn 3f1778460f show a 'date' example in 'moments' search section 2023-11-07 12:33:45 +05:30
ashilkn 5cf9c30b5f bug fix + handle possible errors with try catch 2023-11-07 10:31:43 +05:30
vishnukvmd 0affc76b82 Remove hint 2023-11-06 19:01:38 +05:30
Neeraj Gupta e5be75e600 Update copy 2023-11-06 17:47:31 +05:30
Neeraj Gupta 37192e0396 Add optional field for referral source 2023-11-06 17:33:33 +05:30
ashilkn 7021dfea73 bug fix + optimise code + use better variables 2023-11-06 16:53:35 +05:30
ashilkn 7c912c2d02 Fix bug in description section results 2023-11-06 16:40:52 +05:30
ashilkn a1717ee31d use functionality of 'preserve more' for 'add photos' icon on top right of home tab and remove 'preserve more' footer 2023-11-06 11:04:16 +05:30
ashilkn 80f3e7e879 delete old SearchWidget and rename SearchWidgetNew to SearchWidget 2023-11-06 10:50:05 +05:30
ashilkn dc595edc50 added more smartness on deciding which sub descriptions of all descriptions to show 2023-11-06 10:30:44 +05:30
ashilkn c9a53ac66c Give list of streams to listen to for each search section and listen and rebuild sections when it's events are fired 2023-11-05 19:08:34 +05:30
ashilkn 256742719e rename variable 2023-11-05 17:14:10 +05:30
ashilkn b414dee20e remove search icon from home tab and replace it with 'create album' icon 2023-11-04 13:38:14 +05:30
ashilkn b079713542 preserve query when switching between home tabs 2023-11-04 13:21:19 +05:30
ashilkn 9379798f4b remove unnecessary piece of code 2023-11-04 13:16:51 +05:30
ashilkn ff017f799d fix: search results not completely scrollable when keyboard is up 2023-11-04 09:58:23 +05:30
ashilkn 59086452f5 add background to elevate search bar and bottom nav bar in search tab 2023-11-04 09:09:59 +05:30
ashilkn 8492cbff57 minor change 2023-11-04 06:21:04 +05:30
ashilkn ee8f211b0c remove splash from 'close' button of search bar 2023-11-03 21:48:55 +05:30
ashilkn 98ef5189a9 Refactor + fix last commit in a better way 2023-11-03 21:37:24 +05:30
ashilkn 6bcac41238 fix: in no search result screen, query suggestions aren't coming up 2023-11-03 17:03:47 +05:30
ashilkn 9f33ee5e32 Refactor 2023-11-03 15:02:06 +05:30
ashilkn 2e0f29fedc unfocus search bar when 'close' is pressed on it, bringing the keybarod also down with it 2023-11-03 14:51:47 +05:30
ashilkn 522468580c Resolve conflicts and merge main 2023-11-03 14:34:56 +05:30
ashilkn 5741830875 move getting section example results logic to init state + refactor 2023-11-02 18:57:08 +05:30
ashilkn b066ab84c8 reload search tab once sync is complete 2023-11-02 18:29:59 +05:30
ashilkn 20c148e3bc make search bar animation longer 2023-11-02 18:19:07 +05:30
ashilkn 67f652ac9a disable recents 2023-11-02 14:17:16 +05:30
Neeraj Gupta baef66ddd0 Add support for fixing incorrect MP tag
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-02 12:15:26 +05:30
Neeraj Gupta cbeb2eb3cd Fix lockscreen bug 2023-11-02 12:04:06 +05:30
ashilkn 8244dd30ce fix error due to incorrect use of Expanded 2023-11-01 17:33:49 +05:30
ashilkn f11f5f7ef6 store name of search results in RecentSearches instead of name SearchResult objects 2023-11-01 16:48:03 +05:30
ashilkn b1772dff59 limit number of recents shown 2023-11-01 15:16:38 +05:30
ashilkn f4e05de231 use global const variable for limit of examples in search section 2023-11-01 15:00:48 +05:30
ashilkn 20e212bbed show recents in UI 2023-11-01 14:51:33 +05:30
ashilkn 58f049cbc0 created a modal for recent searches with ChangeNotifier 2023-11-01 12:13:15 +05:30
ashilkn 81175be27b rename widget and it's file 2023-11-01 08:42:42 +05:30
ashilkn b9692f8e3c empty states for each section 2023-11-01 08:30:18 +05:30
ashilkn d8907fdf17 show empty search tab state 2023-10-31 16:34:32 +05:30
ashilkn 22e3b0be0e use better variable names 2023-10-31 16:18:01 +05:30
ashilkn 71dc5e74d0 remove defunct animations 2023-10-31 15:44:58 +05:30
ashilkn afef0db1fd use IndexedStack to preserve state of all search sections screen when searching 2023-10-31 15:43:28 +05:30
Neeraj Gupta 925c640eee Fix: Order for LockScreen init
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-31 06:38:10 +05:30
ashilkn 28b1d736fe remove unused pieces of code 2023-10-30 16:26:31 +05:30
Neeraj Gupta 0c73d17347 Skip lifeCycle lockscreen if auth in last 5seconds
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 11:27:03 +05:30
Neeraj Gupta 2b09f044f5 Log the source of lockScreen trigger
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 11:26:08 +05:30
Neeraj Gupta 9b18e81c69
Login: Fixed two instance of start backup screen (#1455) 2023-10-27 10:52:50 +05:30
Neeraj Gupta d263bafe56 DebugMode: Add support to pick creds from env
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 09:55:51 +05:30
Neeraj Gupta f855c1b5c6 Fix: Dispose controller during dispose of homeWidget
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 09:31:50 +05:30
Neeraj Gupta c513957056 Format
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 09:21:04 +05:30
Neeraj Gupta 9b87b6c835 Fix: Avoid pushing duplicate HomeWidget during login
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-27 09:20:26 +05:30
ashilkn a06b8a644d go to all search sections screen when clearing query using the close button in search bar 2023-10-26 20:00:49 +05:30
Crowdin Bot 72e23ec2c8 New Crowdin translations by GitHub Action 2023-10-26 12:17:51 +00:00
ashilkn da1dce3984 add animation 2023-10-26 14:34:34 +05:30
ashilkn 1840ccaac8 only show 'No results found' on UI when no example queries can be found 2023-10-26 14:20:40 +05:30
ashilkn e1fc0d4ad1 remove search type with no suggestion queries from map 2023-10-26 14:10:11 +05:30
ashilkn b58f1c44f5 handle text overflow 2023-10-26 14:06:12 +05:30
ashilkn c263dc673b use better variable names 2023-10-26 13:58:45 +05:30
ashilkn 6a2e0f9a16 fix state issues 2023-10-26 13:50:13 +05:30
ashilkn 3b6294b64c Show query suggestions on UI when no result is found 2023-10-25 20:40:11 +05:30
ashilkn 92458d2e03 Create a map of searchType to suggested queries in NoResultWidget 2023-10-25 20:05:14 +05:30
Crowdin Bot d97f1b3000 New Crowdin translations by GitHub Action 2023-10-25 12:18:20 +00:00
ashilkn 759e149b1d redesign search results 2023-10-25 10:49:25 +05:30
ashilkn bf25016b6f add comment 2023-10-24 14:27:51 +05:30
ashilkn 8f80f47d91 show empty state if query is not null and no search results 2023-10-24 14:07:36 +05:30
ashilkn 83df8b5a4a show SearchSuggestionWidget if search results aren't empty and AllSearchSections otherwise in search tab 2023-10-24 12:57:59 +05:30
ashilkn aa5b87d45b update search results in InheritedSearchResults from new search bar 2023-10-24 12:50:14 +05:30
ashilkn aed6795824 fix error in search results state provider 2023-10-24 12:47:03 +05:30
ashilkn 0b872559ec chore: clean up 2023-10-24 12:19:33 +05:30
ashilkn 78544a63f8 Create inherited widget to store state of search results 2023-10-24 12:18:42 +05:30
ashilkn a2f263fcb2 chore: dispose _pageController and remove unused variable 2023-10-24 07:36:27 +05:30
ashilkn 85c08c52a1 fix: show search bar when going to search tab by swiping 2023-10-24 07:33:45 +05:30
ashilkn f1db4b27ee Change copy of the last delete confirmation dialog when deleting account 2023-10-23 18:31:02 +05:30
ashilkn aef482d21d Revert changes to copies 2023-10-23 18:08:42 +05:30
ashilkn fb5691797f Revert "extract strings"
This reverts commit d812c6d23a.
2023-10-23 18:04:20 +05:30
ashilkn d812c6d23a extract strings 2023-10-22 12:39:46 +05:30
ashilkn b596318c83 Warn auth and photos share the same account on delete account page + minor layout changes 2023-10-22 12:01:53 +05:30
ashilkn 84bc55af61 create new notification note widget 2023-10-22 12:00:09 +05:30
ashilkn da7b67cf47 add cross_file to dependencies to fix build error 2023-10-20 09:25:15 +05:30
ashilkn 947216dcff add a buffer to wait for animation of new search tab to complete before using renderBox data 2023-10-20 07:58:58 +05:30
ashilkn 520b83ad12 Remove unnecessary use of ValueNotifer and ValueListenableBuilder in new search tab 2023-10-20 07:37:46 +05:30
ashilkn 3574280dec pref improvement 2023-10-20 06:38:59 +05:30
ashilkn 228f1f672a Move and stick search bar to the top of keyboard when it comes up 2023-10-19 20:24:45 +05:30
Neeraj Gupta 361ad64cd6 Fix export logs for droid 2023-10-19 15:42:56 +05:30
ashilkn 1056ea79c9 UI changes to search bar and it's background 2023-10-19 11:36:28 +05:30
Neeraj Gupta 00f7151a6f Switch back to mediakit for grapheneOS 2023-10-19 09:31:38 +05:30
ashilkn 5345850b1a animate search tab to just above home bottom nav bar when swiping to search tab 2023-10-18 18:35:54 +05:30
ashilkn c05aa19c8b added go to map widget to location search section 2023-10-18 13:14:36 +05:30
ashilkn 0bca3aa981 minor UI change 2023-10-18 13:11:21 +05:30
ashilkn 96c4ec9f59 Refactor widgets to match figma design 2023-10-18 11:12:57 +05:30
ashilkn 8d7e7b4a0c fix bug in creating a new album from SearchSectionCTATile in 'view all' of Album search section 2023-10-18 08:03:00 +05:30
ashilkn 0e22b40c9b random improvements 2023-10-18 07:39:23 +05:30
ashilkn 3171a7cd7c make CTA icon and tile of album search section functional 2023-10-18 07:38:03 +05:30
ashilkn 6aef78a9a8 show CTA tile in search section result's 'view all' 2023-10-17 12:37:46 +05:30
ashilkn d1a9404305 Show NotificationTipWidget in PickCenterPoint when adding a new location tag from search section 2023-10-17 11:35:33 +05:30
ashilkn c48153c72a created notificationTipWidget 2023-10-17 11:34:11 +05:30
ashilkn 4a84836dd9 Make 'add new' in location search section functional 2023-10-17 10:17:03 +05:30
ashilkn 86a67b37c1 Refactor showPickCenterPointSheet to return just the center point of the file chosen instead of the whole file 2023-10-17 09:48:15 +05:30
ashilkn ce5665f0dd Refactor showPickCenterPointSheet to accept name of location tag instead of the entire locationTagEntity object 2023-10-17 09:19:36 +05:30
ashilkn 19cf283b87 fix bug in fileTypes and Extension search section's limit on results to be shown 2023-10-17 06:32:51 +05:30
ashilkn e3464466e8 fix onTap of each albumSearchResult in 'view all' of album search section 2023-10-17 06:10:20 +05:30
ashilkn b37385172c fix bug in view all of album search section 2023-10-17 06:05:28 +05:30
ashilkn 95efb0a8c9 UI changes to search result widget 2023-10-16 19:36:14 +05:30
ashilkn 25d5256c2a Make view all for search section functional 2023-10-16 19:35:47 +05:30
ashilkn 1058962a93 create widget(page) for showing all search results of a specific search section 2023-10-16 19:34:31 +05:30
ashilkn 835102e0bf modify SearchResultWidget 2023-10-16 16:45:28 +05:30
ashilkn a33eff40a8 fix bug in description search section result 2023-10-16 16:40:00 +05:30
ashilkn 40cc0ed70f Show people search section examples (people as in people who have shared items) 2023-10-16 16:37:36 +05:30
ashilkn f7b32ec9bb fix incorrect use of limit in fileDescriptionSearch used in search section 2023-10-14 17:25:31 +05:30
ashilkn 0d378b838a do case insensitive matching of descriptions in search section 2023-10-14 16:57:17 +05:30
ashilkn cef2d08917 fix: use set instead of list to avoid showing duplicate files in fileType search section results 2023-10-14 16:39:18 +05:30
ashilkn 821159d57e fix incorrect use of limit in getAllFileTypesAndExtensionsResults() 2023-10-13 17:18:45 +05:30
ashilkn 0a0a07eb87 Change copy 2023-10-13 16:00:36 +05:30
ashilkn 933aa24e33 Show a random holiday in moments search example section 2023-10-13 13:04:16 +05:30
ashilkn 0ee892d7ce Show random month + random year in moments search example section 2023-10-13 12:53:31 +05:30
ashilkn 13ec5ab8c3 Show first random month that has items in 'moments' search example section 2023-10-13 12:25:45 +05:30
ashilkn 8945d33b5b Reorder 2023-10-12 18:44:48 +05:30
ashilkn d2958b3bec Remove descriptions that end with a connect word 2023-10-12 18:15:18 +05:30
ashilkn bc64668390 Add comment 2023-10-12 18:02:06 +05:30
ashilkn 93dd535226 Remove descriptions that have connect words as all of it's words 2023-10-12 17:59:20 +05:30
ashilkn 9d31007fc7 add functionality to limit the number of search results returned from description search. Randomized the results from a decent pool of results too 2023-10-12 16:06:43 +05:30
ashilkn 97dd621d67 fix bug in getAllFileTypesAndExtensionsResults 2023-10-12 15:32:17 +05:30
ashilkn cde9d0aacc Show photo description search results in search section. Get all possible substrings from all descriptions and search 2023-10-12 13:46:37 +05:30
Neeraj Gupta e3ba796fbd Handle err while printing directory stat 2023-10-12 12:11:50 +05:30
Neeraj Gupta 655c06beb8
Log stats for app directory (#1438) 2023-10-12 10:13:13 +05:30
Neeraj Gupta c0e2f0d26c Rename 2023-10-12 10:02:41 +05:30
Neeraj Gupta 09f8cb3bdb Log directory stats if dirSize is > 10MB
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-12 09:58:11 +05:30
Neeraj Gupta f8bfd31784 Add method to pretty print directoryState
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-12 09:48:16 +05:30
Neeraj Gupta e77f537233 Extend DirectoryStat to capture more info
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-12 08:58:38 +05:30
Neeraj Gupta df885921b7 Update copy
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-10-12 08:29:13 +05:30
ashilkn 03aee7e0f3 Merge main 2023-10-11 17:24:50 +05:30
ashilkn 2a6ec2528d fix: live photo indicator getting cut at the bottom 2023-10-11 17:16:25 +05:30
ashilkn 8164a25fa9 Fix alignment of fav icon 2023-10-11 16:04:11 +05:30
ashilkn 5c2638e711 Indendation changes 2023-10-11 16:02:54 +05:30
Naveenchand 0ca646932d
Update file_app_bar.dart
Updated with requested change
2023-10-10 12:44:05 +05:30
Naveenchand 99a59faf6a Updated with suggested change 2023-10-10 07:02:53 +00:00
ashilkn 82104c5174 fix: onTap not working for file type and extension results in search section 2023-10-10 12:13:22 +05:30
ashilkn 8b201b3455 fix: exclude files that do not have an extension from coming up in the File types and extensions search section 2023-10-10 11:09:46 +05:30
ashilkn 2ac00481ef fix: return all results when limit is null in getAllFileTypesAndExtensionsResults 2023-10-10 10:34:25 +05:30
ashilkn 45a4a8cc51 Show fileTypes and extensions examples in search section 2023-10-09 19:52:37 +05:30
ashilkn fe7896b85a Use better variable names 2023-10-09 18:17:44 +05:30
ashilkn b42d845ce3 Show album examples in search section + refactor 2023-10-09 12:42:51 +05:30
Naveenchand 402a3f74c0 - Fixed Misaligned icon in file_app_bar.dart file by wrapping it inside IconButton Widget 2023-10-08 04:52:28 +00:00
ashilkn eb38e4cfda Remove unnecessary expanded 2023-10-08 06:24:55 +05:30
ashilkn 88ee27ceef Add on tap for location SearchExample widgets that take it to screens showing all files in that location 2023-10-07 19:33:11 +05:30
ashilkn c03cb9f9c5 Fixing alignment of SearchSectionCTA widget with other SearchExample widgets 2023-10-07 18:33:09 +05:30
ashilkn 7c8234f6b0 Made SearchExample widget adaptive to different font sizes 2023-10-07 18:27:00 +05:30
ashilkn 262f7b52b8 Use BouncingScrollPhysics for all scrollable widgets for better UI and consistancy 2023-10-07 18:22:53 +05:30
ashilkn a8cea17592 Changes to layout 2023-10-07 17:29:49 +05:30
ashilkn 1941d6d6fa Improve SearchSectionCTAIcon widget and add it at the end of each search section's scrollable 2023-10-07 13:52:56 +05:30
ashilkn 94b0256fc5 Create SearchExample widget and use it on the serach tab passing it location tag search results for testing 2023-10-07 13:11:15 +05:30
ashilkn 62924e2d40 Use a separate widget to enclose all search sections 2023-10-06 18:05:11 +05:30
ashilkn 84554929d2 Create new method in search service to get all location tags 2023-10-06 18:01:36 +05:30
ashilkn 7529a8ee22 Merge branch 'main' into search_screens 2023-10-06 12:58:17 +05:30
ashilkn bfed936dfc update comment 2023-10-05 19:07:42 +05:30
ashilkn f44013349f fix(gallery): groups in gallery show old state when scrolling back to them after updation 2023-10-05 18:53:43 +05:30
Neeraj Gupta c5113974f8 Fix check for OS variant in droid 2023-10-04 16:29:59 +05:30
ashilkn eac9eee29c use contains() to check platform os from string 2023-10-04 12:11:52 +05:30
ashilkn 0b391a704a fix(video-player): use video_player instead of media_kit for videos if os is grapheneOS or divestOS 2023-10-04 11:52:28 +05:30
ashilkn ddda4ecd6f upgrade to device_info_plus 2023-10-04 11:49:06 +05:30
ashilkn 6486bfdb45 Undo a change 2023-10-04 09:53:28 +05:30
ashilkn 044e82b96f Indentation changes 2023-10-04 09:48:27 +05:30
ashilkn 0f70196e1c fix(video-player): Video auto plays in bg when app is put in bg after downloading starts 2023-10-04 09:46:48 +05:30
Neeraj Gupta 538ffda4ed Fix bug in unfavoriting file 2023-09-29 09:35:21 +05:30
ashilkn 0a7e2478e4 Merge branch 'main' into search_screens 2023-09-29 09:09:27 +05:30
ashilkn be52f31db8 Center align seekbar 2023-09-29 06:42:27 +05:30
ashilkn 01a6d107aa Delete unused model 2023-09-28 18:27:54 +05:30
ashilkn 8982185265 Move button_widget.dart to it's correct dictionary 2023-09-28 18:21:52 +05:30
ashilkn 2829418c36 Reorder search sections 2023-09-28 17:47:29 +05:30
ashilkn 96c8267239 Merge branch 'main' into search_screens 2023-09-28 15:40:55 +05:30
ashilkn 2f1d274b2b fix(video): dispose listener and valueNotifer 2023-09-28 12:43:48 +05:30
ashilkn 6ae479a654 feat(video-playback): increase tap area of seekbar 2023-09-28 12:12:08 +05:30
ashilkn fd9f46035b fix lint errors and build errors 2023-09-28 10:07:55 +05:30