Commit Graph

5307 Commits

Author SHA1 Message Date
ashilkn
28be02bb9a Create a scrollOffsetToGroupID map to be used in custom scroll bar 2025-07-07 14:00:32 +05:30
ashilkn
93851db27a Refactor 2025-07-07 13:59:26 +05:30
ashilkn
8a0f61a1c7 Refactor + add header and footer of gallery 2025-07-07 13:38:41 +05:30
ashilkn
f70c284b58 Use better name 2025-07-04 14:34:09 +05:30
ashilkn
27faef415f Use better names 2025-07-04 12:32:43 +05:30
ashilkn
fd05961303 Improve performance of group building function by not eagerly computing each group header's title and instead, offload it to the GroupHeaderWidget to compute lazily when it's built 2025-07-04 12:31:12 +05:30
ashilkn
23728107a3 Remove unused parameter 2025-07-04 12:11:17 +05:30
ashilkn
cde42eb43a Use better name 2025-07-04 11:53:16 +05:30
ashilkn
ce380b3b7a Log time taken for computing GalleryGroups and it's sectionLayout + add keys to GalleryFileWidget to fix issues 2025-07-04 11:03:25 +05:30
ashilkn
1cc80aab75 Make selection work with new gallery 2025-07-03 16:18:43 +05:30
ashilkn
0d55ae1a6d Fix spacing issue 2025-07-03 15:34:14 +05:30
ashilkn
ad892c1055 Fix incorrect logic of finding index of file in gallery 2025-07-03 15:24:56 +05:30
ashilkn
29f7a54950 Layout calculation fixes and use better names 2025-07-03 11:41:30 +05:30
ashilkn
2b258f984d Change names 2025-07-03 10:56:39 +05:30
ashilkn
3cf4d3ee31 Merge branch 'main' into gallery_rewrite 2025-07-03 10:40:35 +05:30
ashilkn
b1386b8f57 Extract group building code to a function for better readability 2025-07-03 10:37:59 +05:30
Neeraj
45d89e4108 [mob][photos] Fix contact result in search section (#6443)
## Description
Fix showing contact result in the search section and also show the
albums shared by that contact like the contact section in the shared
collection tab.

## Tests
[Video](https://wormhole.app/xk6MZ4#qu9aa_r0VcGhkEDypz7l1g)
2025-07-02 14:43:54 +05:30
AmanRajSinghMourya
290df814b8 Remove check for archive collection 2025-07-02 14:35:40 +05:30
AmanRajSinghMourya
794d1e0112 Fix: show shared collection also when searching for contacts in search section 2025-07-02 14:18:24 +05:30
Neeraj
81e40b0872 [mob][photos] additional fixes for widgets (#6428)
## Description

Some more fixes for widgets.

## Tests
2025-07-02 14:13:00 +05:30
Ashil
cbe7c32150 [mob][photos] Improved handling of high resolution image rendering (#6442)
## Description

Previously, images larger than 160MP were downscaled to 16MP to avoid
crashes caused by
[this](https://github.com/flutter/flutter/issues/110331) flutter issue.

This update lowers the threshold to 100MP and increases the downscaling
resolution to 50MP, for a better balance between performance and image
quality.

## Tests

- Tested with 150MP and 200MP images on a Samsung A54 (8GB RAM).
- Verified that rendering a 50MP downscaled image increases memory
usage, but remains within acceptable limits.
2025-07-02 13:56:41 +05:30
ashilkn
06a30078da Decrease threshold of Pixels needed in image to categorize it as a 'too large image' and decrease the extent of compression from 16MP to 50MP of such images. Large images are rendered in lower resolution so that the app doesn't crash 2025-07-02 13:41:09 +05:30
Prateek Sunal
97bdcffd9d fix: isBackground check 2025-07-02 13:12:33 +05:30
Prateek Sunal
162a2efe71 fix: move fav init to album service 2025-07-02 12:29:42 +05:30
Ashil
f053b7962b [mob] Update launch.json in mobile docs to include cronetHttpNoPlay=true for android (#6439) 2025-07-02 09:21:33 +05:30
ashilkn
ddcfd2ff43 Update launch.json in mobile docs to include cronetHttpNoPlay=true for android 2025-07-02 09:15:38 +05:30
Neeraj Gupta
3c7b1c6c5e [mob] Update change log order 2025-07-02 09:15:02 +05:30
Prateek Sunal
910a64dc1c fix: refresh tap 2025-07-01 19:11:13 +05:30
Prateek Sunal
68fa4d87eb Merge remote-tracking branch 'origin/main' into widget 2025-07-01 18:38:06 +05:30
Prateek Sunal
f527624027 fix: only pick from non cache for memories when has any widgets 2025-07-01 18:37:30 +05:30
Prateek Sunal
fb06332272 fix: home widget sync in background 2025-07-01 18:35:59 +05:30
Prateek Sunal
68efbc2bed fix: don't select first two people by default 2025-07-01 18:27:01 +05:30
Prateek Sunal
09466f05c6 fix: get top two faces logic 2025-07-01 18:10:24 +05:30
Prateek Sunal
7ded133caf chore: fix expandedHeight scaling 2025-07-01 17:57:56 +05:30
Prateek Sunal
fe2f066733 fix: albums logic 2025-07-01 17:52:54 +05:30
Prateek Sunal
4e692fce1f fix: collection service is not initialized 2025-07-01 17:01:44 +05:30
Neeraj Gupta
2caf773bbe Update changelog title 2025-07-01 16:53:53 +05:30
Prateek Sunal
edc015d589 Merge remote-tracking branch 'origin/main' into widget 2025-07-01 16:51:30 +05:30
Prateek Sunal
d5707a030b fix: rearrange the priority of execution 2025-07-01 16:51:22 +05:30
Neeraj
8ed7fa0e4c [mob][photos] fix widget display (#6425)
## Description

The total widget count was not updated properly hence widget had no idea
of it getting updated.

This PR fixes that.

## Tests
2025-07-01 16:16:15 +05:30
Ashil
4f9e9f30aa [mob][photos] Handle play/pause animation in memory when bottom sheet open (#6427)
## Description
Play/pause memory animation when file bottom sheet is close/open
respectively
2025-07-01 16:15:55 +05:30
ashilkn
f08f72c46a Use better naming convetion 2025-07-01 16:15:30 +05:30
AmanRajSinghMourya
4885c13d86 Add ToggleMemoryAnimationEvent for memory animation control 2025-07-01 16:05:33 +05:30
ashilkn
b0d44f3799 Fix/avoid recommended filters going blank on calling setState from different screens that have gallery 2025-07-01 15:57:42 +05:30
Prateek Sunal
bb91471cdc chore: update milliseconds to seconds 2025-07-01 15:50:46 +05:30
Ashil
fb03c88a5d [mob][photos] Memories improvement (#6152)
## Description
1. A subtle zoom-in/out effect for photos and replaced the black area
around landscape photos with a blurred background.
2. Auto play each image for 5 second and video for its duration with a
step progress animation.
3. Long-press to pause animation. Releasing will resume the playback.
2025-07-01 15:40:03 +05:30
Prateek Sunal
aa26a48e67 fix: add more logs + no defeult selection for people 2025-07-01 15:26:35 +05:30
AmanRajSinghMourya
092d8aa9f5 Merge branch 'memory_improvement' of https://github.com/ente-io/ente into memory_improvement 2025-07-01 14:52:57 +05:30
AmanRajSinghMourya
2d87237d10 Fixed ios close button not working 2025-07-01 14:47:01 +05:30
Prateek Sunal
3c2eeadec6 fix: readd total logic for widgets + essential logs 2025-07-01 14:38:17 +05:30