Ashil
937267ed72
[mob] perf: avoid unnecessary frame builds and computations when toggling full fullscreen when viewing a file ( #1487 )
2024-04-19 14:17:01 +05:30
Ashil
45942f7931
[mob][photos] Search field fixes ( #1464 )
...
## Description
See commits.
2024-04-16 17:49:28 +05:30
Ashil
bb90b2d3bc
[mob][photos] Upgrade flutter ( #1434 )
...
## Description
- Update flutter
- Update packages
- Fix UI issues because of update (material 3)
- bump up version to v0.8.80
## Tests
- [x] Building on android and iOS.
---------
Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-15 10:21:18 +05:30
ashilkn
7759d6dcc9
Call super.initState() first in override of initState() in Gallery Widget
2024-04-10 11:47:54 +05:30
ashilkn
af7b533016
Add a delay before gallery loads in 'add photos sheet' to make opening of the bottom sheet jank free
2024-04-10 11:38:30 +05:30
Neeraj Gupta
7cec46ef3d
[mob] Allow manual upload of videos when global video upload is disabled
2024-04-09 09:32:37 +05:30
Neeraj Gupta
c6a0af7cbc
[mob]Hide file overflow item if no action is available
2024-04-09 09:16:11 +05:30
Ashil
8b643549fe
[mobile][photos] Remove unused global keys ( #1309 )
2024-04-04 11:29:23 +05:30
ashilkn
0053e814c8
nit: remove unnecessary clipping
2024-04-02 13:49:41 +05:30
ashilkn
53184da7fb
fix: loading icon's color in light theme when viewing images
2024-04-02 13:49:05 +05:30
ashilkn
165bcb5c6e
fix: white bg for loading state when viewing images, turned it to black.
...
when swiping on light theme, this comes up a 'white flash' on the right which looked odd. We use black bg when viewing images.
2024-04-02 13:47:57 +05:30
ashilkn
d013519655
refactor
2024-04-01 16:59:42 +05:30
ashilkn
855d362cca
Merge branch 'main' into handle_proxdr_image_viewing
2024-04-01 16:43:19 +05:30
Ashil
f8febe12df
[mobile][photos] Reupload files with missing GPS data ( #1263 )
...
## Description
- Fixes corrupt files (missing GPS data) that were uploaded due to [this
issue](https://github.com/ente-io/ente/pull/1261 )
- Refactor
## Tests
Tested and working
- Uploaded two file from a build that has missing permission for
`ACCESS_MEDIA_LOCATION` and GPS data is missing.
- Created a new build with changes in this PR.
- Deleted the file from device.
- Remote file has GPS data when checked from file info.
---------
Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-01 16:41:33 +05:30
Ashil
7950f1ec26
[mobile][photos] Explicitly ask for media location ( #1261 )
...
## Description
On bumping up photo_manager version, it introduced a breaking change
where we need to explicitly ask for ACCESS_MEDIA_LOCATION permission.
## Tests
Tested on android 13 and 14 devices.
2024-03-30 16:48:15 +05:30
ashilkn
953824ca25
Refactor: reduce parameters and change name of function
2024-03-21 19:54:31 +05:30
ashilkn
7c05069dbd
fix(viewing proXDR images): When codec fails to produce an image, try converting image to jpeg and use the jpeg file for viewing the image
2024-03-21 16:26:09 +05:30
ashilkn
96072a607c
nit: fix typo
2024-03-14 16:20:08 +05:30
Ashil
6ef1da68e0
[photos][mobile] Performance improvement ( #1080 )
...
## Description
Stack has `clipBehaviour = Clip.hardEdge` by default. This is necessary
if content inside the stack is overflowing it's boundary and it has to
be clipped. Clipping is expensive so it's worth removing it when it
makes sense.
In this case of `GalleryFileWidget`, content doesn't overflow the
Stack's boundary so the clip operation can be removed by setting
`clipBehaviour = Clip.none`.
2024-03-13 13:52:03 +05:30
Ashil
773f4cdca2
[mobile][photos] Fix missing hero animation ( #1064 )
...
## Description
Sometimes, when opening an image from gallery, the hero animation fails
to happen. This PR fixes this issue.
https://github.com/ente-io/ente/assets/77285023/2ee40ec8-58d0-4ca1-82fb-1be96581137b
## Tests
- [x] Didn't break hero animations of videos, it almost stays the same.
2024-03-13 11:20:20 +05:30
Neeraj Gupta
e272722d6e
[mob][photos] Add dialog to describe clean uncat option
2024-03-11 16:52:27 +05:30
Neeraj Gupta
a73f3cc52b
[mob] Fixed sorting bug in uncategorized section
2024-03-11 16:52:27 +05:30
ashilkn
b4cf5761fa
remove unused translation
2024-03-09 16:44:24 +05:30
ashilkn
881ece525f
fix alignment of 'search' hint text in search field
2024-03-09 16:39:54 +05:30
ashilkn
62b05513a2
Remove late initialisations
2024-03-08 17:00:48 +05:30
ashilkn
ea63ea1c55
Make _photoViewController late
2024-03-08 16:32:16 +05:30
ashilkn
1dd183c4bd
Make scaleStateController final and dispose it when widget gets disposed
2024-03-08 15:54:38 +05:30
ashilkn
69c5d4f645
Added comment for context of line
2024-03-08 14:57:32 +05:30
ashilkn
cf8e684cb3
Revert "Remove unnecessary check"
...
This reverts commit a9631c09c8
.
2024-03-08 14:09:43 +05:30
ashilkn
a9385f2132
Remove unnecessary mixin
2024-03-08 14:05:42 +05:30
ashilkn
3f45345aad
fix: when image is fully loaded after scaling the image, stay at the same position
2024-03-08 12:13:50 +05:30
ashilkn
8da57bd575
fix: auto scaling when final image is loaded case 2
...
When an image is magnified and a user is pressing down (onPressed) on the image, once the final image is loaded, the image auto scales
2024-03-08 12:09:33 +05:30
ashilkn
f14b499ffe
fix: auto scaling after image is fully loaded after double tapping twice
2024-03-08 11:20:19 +05:30
ashilkn
a9631c09c8
Remove unnecessary check
...
_loadedFinalImage will be true only after _loadedSmallThumbnail becomes true as first the small thumbnail is loaded and then the final image
2024-03-07 07:29:39 +05:30
ashilkn
c4ec818fb8
Remove unnecessary SingleTickerProviderStateMixin
2024-03-07 07:27:51 +05:30
ashilkn
939e76d696
remove unnecessary mixin
2024-03-02 15:38:03 +05:30
ashilkn
71ad1ee1dd
fix(discovery-tab): constrain width of album name in albums section
2024-03-02 12:40:51 +05:30
vishnukvmd
a875cad231
Fix warnings in Photos
2024-03-01 18:54:19 +05:30
Manav Rathi
41b2581b8f
Move into mobile/
2024-03-01 12:25:37 +05:30