Commit graph

315 commits

Author SHA1 Message Date
Vishnu Mohandas 99b150477c Add option to share a result from face search 2020-07-15 22:57:41 +05:30
Vishnu Mohandas c07a103450 Reduce coupling between gallery and the app bar 2020-07-15 22:47:53 +05:30
Vishnu Mohandas 89d4feffed Eagerly load next set of results 2020-07-15 13:56:31 +05:30
Vishnu Mohandas bde40929be Preserve the listview's scroll position on extra data load 2020-07-15 13:38:10 +05:30
Vishnu Mohandas f77f14eb79 Add pagination to the face search API 2020-07-14 17:45:55 +05:30
Vishnu Mohandas e7a1e93e90 Add hero animation to the remote folder gallery 2020-07-14 03:04:42 +05:30
Vishnu Mohandas 2d14356792 Add hero animation to the device folder gallery page 2020-07-14 03:03:43 +05:30
Vishnu Mohandas b9ccd2cfb9 Add a transition animation for folders 2020-07-13 04:49:37 +05:30
Vishnu Mohandas 5214d194df Use a sync loader within the Gallery whenever possible 2020-07-13 03:47:44 +05:30
Vishnu Mohandas 5364344d04 Minor refactor 2020-07-13 03:15:50 +05:30
Vishnu Mohandas e89ee6c7f8 Add log statements to track the annoying bug that's causing gallery to not refresh itself 2020-07-10 23:48:21 +05:30
Vishnu Mohandas b01bad8090 Remove direct file access for thumbnails 2020-07-09 02:40:14 +05:30
Vishnu Mohandas ddb25a1536 Remove the notion of direct access URLs for files 2020-07-09 02:21:36 +05:30
Vishnu Mohandas 15966ce95f Update API to download a file 2020-07-09 01:16:04 +05:30
Vishnu Mohandas ccc635c663 Fix issue with showing toast 2020-07-08 21:09:49 +05:30
Vishnu Mohandas 8f1e4297aa Add progress dialog while fetching data to share files 2020-07-08 03:34:08 +05:30
Vishnu Mohandas 4d6b9074aa Remove unused imports 2020-07-08 03:26:56 +05:30
Vishnu Mohandas b7e898e95f Load the original file URL when the file is not available for streaming yet 2020-07-08 03:24:11 +05:30
Vishnu Mohandas 8f0b606713 Add a util for displaying toasts 2020-07-08 03:16:14 +05:30
Vishnu Mohandas c75551db99 Stream videos instead of downloading them raw 2020-07-08 03:07:13 +05:30
Vishnu Mohandas 8c031a87fd Add modificationTime as an attribute of a file 2020-07-07 00:39:47 +05:30
Vishnu Mohandas 849cedbf5f Update style of buffered color in the video control 2020-06-29 16:52:13 +05:30
Vishnu Mohandas 4a90dde9a3 Ensure that the controller is disposed only if initialized 2020-06-24 06:19:12 +05:30
Vishnu Mohandas 36467b6673 Fix cache-issues due to hash collisions 2020-06-24 01:43:45 +05:30
Vishnu Mohandas 45611be9b2 Ensure that thumbnail does not replace the hidef image 2020-06-24 01:42:43 +05:30
Vishnu Mohandas 060cc2b41b Fix the aspect ratio of video thumbnails 2020-06-24 00:44:18 +05:30
Vishnu Mohandas 22bb3138ef Remove unused widget 2020-06-24 00:38:17 +05:30
Vishnu Mohandas 46ea30c4fd Fix the hero tag in videos 2020-06-24 00:34:28 +05:30
Vishnu Mohandas cd32098360 Fix the hero animation for remote images 2020-06-24 00:27:22 +05:30
Vishnu Mohandas 56783b97d3 Add fade-in animation to thumbnails 2020-06-24 00:20:10 +05:30
Vishnu Mohandas d7c18069ce Reuse the cached thumbnail if available within the detail view 2020-06-23 23:24:18 +05:30
Vishnu Mohandas 90ff5247de Cache thumbnails to disk 2020-06-23 23:11:27 +05:30
Vishnu Mohandas 71fd7277b1 Update loading widget style 2020-06-23 23:09:45 +05:30
Vishnu Mohandas d042d0dc2e Add hero animation to videos 2020-06-23 20:35:48 +05:30
Vishnu Mohandas 42a1471c58 Add thumbnail image to the video loading screen 2020-06-23 20:29:51 +05:30
Vishnu Mohandas 2f4b4c3280 Do not preload videos 2020-06-23 20:29:27 +05:30
Vishnu Mohandas 3660aadd3d Ensure that on delete a refresh is triggered 2020-06-21 23:19:50 +05:30
Vishnu Mohandas 985fd2f38a Auto play video only when loaded directly 2020-06-21 23:14:21 +05:30
Vishnu Mohandas e040de1d55 Add option to delete a file within the detail page 2020-06-21 18:46:27 +05:30
Vishnu Mohandas c4dfc72aac Add a separate folder for videos 2020-06-21 05:35:15 +05:30
Vishnu Mohandas 8b6685c3e2 Update video controls 2020-06-21 05:21:10 +05:30
Vishnu Mohandas 93ed21a444 Fix overflowing issue 2020-06-21 04:25:39 +05:30
Vishnu Mohandas 12e5fa1450 Fix full screen behavior for videos 2020-06-21 04:17:09 +05:30
Vishnu Mohandas 40c2218285 Hide app bar on the detail page 2020-06-21 03:07:44 +05:30
Vishnu Mohandas 33da12c857 Center align loading text 2020-06-21 02:46:39 +05:30
Vishnu Mohandas 1965c30dfa Fix overscrolling text on device folder page 2020-06-21 00:25:46 +05:30
Vishnu Mohandas 32000499b5 Set background color of detail page to black 2020-06-20 15:36:55 +05:30
Vishnu Mohandas 5bda9a0457 Add a play icon to video thumbnails 2020-06-20 15:33:45 +05:30
Vishnu Mohandas 12ba36a0d4 Rename file 2020-06-20 04:36:07 +05:30
Vishnu Mohandas a5aaf91460 Extend support for videos 2020-06-20 04:33:26 +05:30
Vishnu Mohandas 1e92a0ad08 Ensure that the selected photo change is propogated to fix the issue where in the favorite button was not getting updated 2020-06-19 00:09:05 +05:30
Vishnu Mohandas dcd34b0d60 Change to friendlier copy 2020-06-18 00:04:16 +05:30
Vishnu Mohandas df1240fd0c Remove the extended page view nonsense 2020-06-17 20:39:47 +05:30
Vishnu Mohandas 6ccc40b17c Remove unused variable 2020-06-17 18:26:06 +05:30
Vishnu Mohandas 456f30738c Refactor ZoomableImage 2020-06-17 18:08:18 +05:30
Vishnu Mohandas 0218623f70 Fix bug leading to perpetual loading state in Gallery 2020-06-17 16:51:29 +05:30
Vishnu Mohandas efde1b6fe3 Refactor gallery 2020-06-16 18:26:23 +05:30
Vishnu Mohandas 46654b767e Update strings in app 2020-06-16 01:29:18 +05:30
Vishnu Mohandas 668ff881c7 Add loading state for first time load 2020-06-16 01:27:48 +05:30
Vishnu Mohandas b133fb6c4f Add some emojis to the empty states 2020-06-16 01:08:57 +05:30
Vishnu Mohandas e584226728 Remove unnecessary subscription to event 2020-06-16 00:36:00 +05:30
Vishnu Mohandas a387d026ae Setup a reload trigger for Gallery 2020-06-16 00:33:43 +05:30
Vishnu Mohandas 0e5416d4ff Make Gallery agnostic to the photo-upload events 2020-06-16 00:25:07 +05:30
Vishnu Mohandas bdb317956a Display uploading status on the refresh indicator 2020-06-16 00:12:25 +05:30
Vishnu Mohandas baeb54f534 Add cache to prevent gallery reloads for each rebuild 2020-06-15 18:16:51 +05:30
Vishnu Mohandas d5580915e3 Cache remote images 2020-06-15 10:20:26 +05:30
Vishnu Mohandas 583f087da5 Move the logic for loading photos to the Gallery widget 2020-06-15 09:55:58 +05:30
Vishnu Mohandas c8e7e9bedb Move the pull to sync logic out of Gallery 2020-06-15 08:42:02 +05:30
Vishnu Mohandas 63f90ca519 Update the tag used for heroes 2020-06-15 06:23:12 +05:30
Vishnu Mohandas b98a3cc530 Remove unnecessary deduplication logic 2020-06-15 06:16:56 +05:30
Vishnu Mohandas 464829e650 Precache final image only if mounted 2020-06-15 04:41:48 +05:30
Vishnu Mohandas 46ca969392 Hide share button on favorites folder 2020-06-14 00:30:59 +05:30
Vishnu Mohandas e4017d91df Add an info button to photos 2020-06-14 00:17:48 +05:30
Vishnu Mohandas b42bbbe0b4 Set the initial state of the pull-down widget to refreshing 2020-06-13 23:39:19 +05:30
Vishnu Mohandas 81d90da546 Fix image loading on Android Q 2020-06-13 22:14:16 +05:30
Vishnu Mohandas 31e3ac7251 Simplify code in thumbnail widget 2020-06-11 03:11:19 +05:30
Vishnu Mohandas 83fc76f479 Fix hero behavior 2020-06-11 03:06:01 +05:30
Vishnu Mohandas 25de85aea6 Check if widget is mounted before precaching image 2020-06-11 02:32:24 +05:30
Vishnu Mohandas 59dcc38ba5 Cache photos to the left and right 2020-06-10 23:47:54 +05:30
Vishnu Mohandas a659fefa6d Reduce the number of rebuilds 2020-06-10 05:34:22 +05:30
Vishnu Mohandas 99df8f811b Simplify display string 2020-06-10 00:18:02 +05:30
Vishnu Mohandas 4a253ae7ac Display success message on successful server discovery 2020-06-10 00:15:15 +05:30
Vishnu Mohandas 705610ed10 Hide results while loading 2020-06-10 00:14:50 +05:30
Vishnu Mohandas acb7f05329 Don't pop when returning from face search results 2020-06-07 02:43:11 +05:30
Vishnu Mohandas 2f3aa8da6a Safe guard against null locations 2020-06-07 02:42:49 +05:30
Vishnu Mohandas 3fac6d3dd0 Fix issues in remote gallery 2020-06-07 02:41:53 +05:30
Vishnu Mohandas f10920fdbf Return to home page post searching for location 2020-06-07 01:41:03 +05:30
Vishnu Mohandas e5c698b7b4 Update device folder page on event 2020-06-07 01:38:57 +05:30
Vishnu Mohandas 526f755875 Minor refactor 2020-06-06 19:54:00 +05:30
Vishnu Mohandas 8c92ac15bb Enable pull to sync only on the root gallery 2020-06-06 19:53:26 +05:30
Vishnu Mohandas 1d0515d70e Show toast on successful share 2020-06-06 19:46:19 +05:30
Vishnu Mohandas ecb5c2f437 Add text to indicate syncing state 2020-06-06 19:18:29 +05:30
Vishnu Mohandas bda277693b Show entries while loading within location search box 2020-06-06 17:37:42 +05:30
Vishnu Mohandas a949c103d2 Fix hero attribute in gallery 2020-06-06 17:25:14 +05:30
Vishnu Mohandas 258ec7259e Improve typeahead behavior 2020-06-06 17:13:14 +05:30
Vishnu Mohandas fe97e836c4 Improve search typeahead behavior 2020-06-06 17:08:11 +05:30
Vishnu Mohandas a3d27714d1 Remove unnecessary caching from detail page 2020-06-06 16:52:59 +05:30
Vishnu Mohandas ef3f8a6336 Add hero animation 2020-06-06 16:36:43 +05:30
Vishnu Mohandas da666ba7a1 Remove unnecessary optimization in thumbnail widget 2020-06-06 15:53:36 +05:30
Vishnu Mohandas 125cbb0816 Change location search logic 2020-06-03 21:36:49 +05:30
Vishnu Mohandas 694c0c22d4 Implement location search 2020-06-03 19:41:34 +05:30
Vishnu Mohandas 8e257ae78f Minor refactor 2020-06-03 19:23:53 +05:30
Vishnu Mohandas ecb15fb07f Remove dead code 2020-06-03 19:22:32 +05:30
Vishnu Mohandas 768afb10db Add location search interface 2020-06-03 18:48:55 +05:30
Vishnu Mohandas aebcf9cbfa Update search interaction 2020-06-02 19:54:37 +05:30
Vishnu Mohandas 9dc26dfad6 Update search button style 2020-06-02 17:10:34 +05:30
Vishnu Mohandas 60d7079e77 Update search interface 2020-06-02 17:02:35 +05:30
Vishnu Mohandas 8e0592021c Remove unnecessary redirection to compute the device folder path 2020-06-02 02:16:16 +05:30
Vishnu Mohandas 0eddd26fcc Prevent unnecessary reloads 2020-05-31 03:30:32 +05:30
Vishnu Mohandas 590b029f3e Set app bar icon depending on sync/login statae 2020-05-31 02:45:21 +05:30
Vishnu Mohandas 1c42e32adf Convert HEIC images before rendering them 2020-05-28 04:21:58 +05:30
Vishnu Mohandas ca18d9bc63 Remove unused import 2020-05-28 02:34:15 +05:30
Vishnu Mohandas faed1c9fed Take care of edge case where in a shared folder does not have photos within 2020-05-28 02:34:00 +05:30
Vishnu Mohandas 4dbf9c8078 Hide remote folders in the gallery section 2020-05-28 02:33:30 +05:30
Vishnu Mohandas 6990faa451 Add a getter for the thumbnail URL 2020-05-27 19:50:52 +05:30
Vishnu Mohandas 1e336897d4 Load full image if thumbnail isn't available 2020-05-27 03:26:34 +05:30
Vishnu Mohandas 69bc22dc39 Load the thumbnail URL if available 2020-05-27 01:33:54 +05:30
Vishnu Mohandas 9e599af31e Remove deduplication logic for remote photos 2020-05-26 02:20:40 +05:30
Vishnu Mohandas 321682536d Format text to center 2020-05-25 22:45:19 +05:30
Vishnu Mohandas d256a000f0 Minor refactor 2020-05-25 21:36:52 +05:30
Vishnu Mohandas 96ce1f5908 Give favorite button only for local photos 2020-05-25 21:35:06 +05:30
Vishnu Mohandas b37682d863 Enable sharing of remote photos 2020-05-25 20:37:22 +05:30
Vishnu Mohandas 14a6ed1f2f Hide the delete button on remote folder gallery 2020-05-25 20:31:02 +05:30
Vishnu Mohandas b12e6195c3 Render photos in a remote folder 2020-05-25 20:24:54 +05:30
Vishnu Mohandas 4cd01be276 Render gallery of remote folders 2020-05-25 20:05:06 +05:30
Vishnu Mohandas 21a8fa8a41 Remove unnecessary constructor parameter from DeviceFolderGalleryWidget 2020-05-23 00:14:14 +05:30
Vishnu Mohandas 2f3951f124 Integrate APIs to fetch shared folders 2020-05-22 23:52:55 +05:30
Vishnu Mohandas 496e1d2f81 Rename DBHelper 2020-05-18 21:08:15 +05:30
Vishnu Mohandas 97c1d0532b Enable sharing of a folder 2020-05-18 02:09:21 +05:30
Vishnu Mohandas 69e746b9c2 Remove unnecssary align 2020-05-17 23:19:36 +05:30
Vishnu Mohandas 51b97dd698 Make endpoint search cancellable 2020-05-17 23:18:49 +05:30
Vishnu Mohandas 5e5fdba4e2 Rename album to folder 2020-05-17 20:05:31 +05:30
Vishnu Mohandas b6c9ae31b5 Show share button only within folders 2020-05-17 19:53:37 +05:30
Vishnu Mohandas c04f2baa3c Update to latest API 2020-05-17 18:09:38 +05:30
Vishnu Mohandas fda5230ec9 Handle errors while loading thumbnail 2020-05-12 22:17:02 +05:30
Vishnu Mohandas b842cbc577 Rebuild view only if the view is still in focus 2020-05-07 17:53:22 +05:30
Vishnu Mohandas f36d77da6d Optimize album generation 2020-05-06 23:43:24 +05:30
Vishnu Mohandas 275c36755c Move the responsibility of filtering to an album 2020-05-06 22:46:30 +05:30
Vishnu Mohandas 3fafd47fdd Introduce favorites 2020-05-06 22:13:03 +05:30
Vishnu Mohandas 7b76206f49 Minor refactor 2020-05-06 02:28:43 +05:30
Vishnu Mohandas 45bf5ccfcb Reduce cached pages back to 1 due to performance issues 2020-05-06 02:14:31 +05:30
Vishnu Mohandas 7a66cce325 Cache two pages 2020-05-06 01:43:17 +05:30
Vishnu Mohandas c400238ce0 Fix OOMs that came along with loading image bytes directly 2020-05-06 01:15:09 +05:30
Vishnu Mohandas 689a50c5f7 Minor refactor 2020-05-05 23:43:54 +05:30
Vishnu Mohandas 2dae6159b7 Remove unnecessary subscription in gallery 2020-05-05 23:39:21 +05:30
Vishnu Mohandas c319a2e437 Remove redundant container widget 2020-05-05 21:20:36 +05:30
Vishnu Mohandas c25ee04658 Cancel subscriptions on dispose 2020-05-05 18:26:24 +05:30
Vishnu Mohandas b6c7bdffd8 Move and rename stuff 2020-05-05 02:14:34 +05:30
Vishnu Mohandas 4bc00c5891 Minor refactor 2020-05-05 01:40:11 +05:30
Vishnu Mohandas 4207cc7fd3 Bring in consistency to package imports 2020-05-05 01:38:20 +05:30