Commit graph

82 commits

Author SHA1 Message Date
Manav Rathi
a4ecc2c344
Update ente.io/faq => help.ente.io where possible
On desktop, now there Help menu will have an "Ente Help" option instead of "FAQ"
(Unrelated: I noticed that user facing strings in the desktop app are not
localized).

The only place remaining after this is the sidebar on mobile
(`support_section_widget.dart`), but I wasn't sure of what string to use (and
how to add it to the localized strings for mobile) so I've left it unchanged.
2024-03-25 19:26:10 +05:30
Vishnu Mohandas
8101fe1495
Patch few Stripe related issues (#1156) 2024-03-20 14:07:26 +05:30
vishnukvmd
ec258e8b2a Extract the payments redirect URL into an environment variable 2024-03-20 14:06:53 +05:30
vishnukvmd
b769c428eb Hide the dialog on page load 2024-03-20 14:05:23 +05:30
Vishnu Mohandas
a5340764a8
[mobile][photos] Share to multiple people at once (#1116)
[mobile][photos] Share to multiple people at once
2024-03-16 00:07:12 +05:30
ashilkn
64814ef82f minor fixes 2024-03-15 21:07:38 +05:30
ashilkn
bb622bfcd0 fix typo in file name 2024-03-15 20:49:51 +05:30
ashilkn
07c41c4c92 extract strings 2024-03-15 20:22:15 +05:30
vishnukvmd
14c75333f3 Simplify states 2024-03-15 16:49:02 +05:30
vishnukvmd
7941d4bcb6 Skip model downloads over mobile data 2024-03-15 16:36:45 +05:30
ashilkn
ed2e3bae0d clean up 2024-03-15 16:21:04 +05:30
ashilkn
1e8f772280 feat(share-to-multi-contacts-at-once): multiple changes in one commit due mistakes when commiting
- Change 'Add viewer' buttons logic to work with the new UI.
- Long press on an email to verify.
- Filter suggestions list with the text entered in 'Enter email' text field.
2024-03-15 15:47:14 +05:30
ashilkn
a4985116b8 feat(share-to-multi-contacts-at-once): change data structure of selected emails from List to Set to avoid duplicates 2024-03-15 12:53:32 +05:30
ashilkn
487be4a451 feat(share-to-multi-contacts-at-once): change state to selected state of an existing email if an already existing email in the list is added from 'add new email' 2024-03-15 12:44:54 +05:30
ashilkn
987250d4f3 feat(share-to-multi-contacts-at-once): add new email to list below with selected state 2024-03-15 12:34:30 +05:30
ashilkn
0b6d44eb99 feat(share-to-multi-contacts-at-once): make list of suggested users a state variable 2024-03-15 11:21:21 +05:30
vishnukvmd
22685ae911 Increase interaction timeout to 15s 2024-03-14 16:35:38 +05:30
ashilkn
96072a607c nit: fix typo 2024-03-14 16:20:08 +05:30
ashilkn
8bf17af6de feat(share-to-multi-contacts-at-once): make multi-select possible from list of existing contacts 2024-03-14 16:14:06 +05:30
ashilkn
6b70d8556b Use MediaQuery.viewInsetsOf() instead of MediaQuery.of() to reduce rebuids 2024-03-14 11:52:13 +05:30
ashilkn
d4cf8c5f9a move super.initState to top 2024-03-14 11:25:38 +05:30
ashilkn
48a8bab862 dispose text field focus node 2024-03-14 11:24:50 +05:30
github-actions[bot]
83aa3db795
[mobile] New translations (#740)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-13 13:55:47 +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
Vishnu Mohandas
92de88e778
[photos] Update flow for Independent APK (#1074) 2024-03-13 11:46:04 +05:30
Ashil
518b947808
[mobile][photos] Make scrollbar in log file viewer interactive (#1075) 2024-03-13 11:43:31 +05:30
vishnukvmd
be3b4dc7ba Open the link to Github APK instead of downloading it in-app 2024-03-13 11:21:36 +05:30
Ashil
0c1c0ad400
[mobile][photos] Home widget UI tweaks (#1060) 2024-03-13 11:20:50 +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
297148dc67
[auth][mob] Add recovery support for passkey (#1013)
## Description

## Tests
  Verified that reset flow is working fine on both auth and photos app.
2024-03-13 11:12:30 +05:30
Prateek Sunal
1d2de8d9b8
[mobile][photos] Home Widget fixes (#992)
## Description

- Upscale default placeholder
- Keep image ready to be rendered in home widget before adding the home
widget.
- Change the photo in home widget every time it's clicked.
- Open favourites when home widget is clicked.
- Fix multiple issues

## Tests

Did a good amount of testing.

---------

Co-authored-by: ashilkn <ashilkn99@gmail.com>
Co-authored-by: Ashil <77285023+ashilkn@users.noreply.github.com>
2024-03-12 01:39:30 +05:30
Neeraj Gupta
9f2a66e0ef Fix lint warnings 2024-03-11 22:45:22 +05:30
Neeraj Gupta
944ef2e564 [mob]Generate randomkey using crypto library 2024-03-11 22:34:00 +05:30
Neeraj Gupta
27c1b66c08 [auth][mob] Add recovery support for passkey 2024-03-11 17:54:24 +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
ae67f0d67b nit: change description section's heading from 'Photo descriptions' to 'Descriptions' 2024-03-11 13:06:07 +05:30
ashilkn
fab16a7947 nit: change location section's heading from 'Location' to 'Locations' 2024-03-11 12:59:59 +05:30
ashilkn
b812827480 update currentChangeLogVersion 2024-03-09 17:15:08 +05:30
ashilkn
f9051c94da update change log 2024-03-09 17:12:57 +05:30
ashilkn
4c3642526e minor fix 2024-03-09 17:05:23 +05:30
ashilkn
7c86e8f903 update limit of elemets shown in each search section 2024-03-09 16:52:02 +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
Prateek Sunal
5acef45118
[FIX] HomeWidget improvements (#737)
## Description
- Use Background fetch as workmanager is not working as expected.
- Use new asset for empty state.
2024-03-09 16:21:04 +05:30
Vishnu Mohandas
c75e45897c
[Photos] Fix auto scaling on loading final image (#749)
## Description

When an image is zoomed in, there were cases where when then final image
is loaded and rendered on screen, the image gets zoomed even more.

#### Case 1
Double tapping twice to zoom and then the final image is loaded.

##### Before


https://github.com/ente-io/ente/assets/77285023/7d9acb0f-2849-4ffb-863d-cab61ef4bd16

##### After


https://github.com/ente-io/ente/assets/77285023/89fb1238-1444-4681-a94f-7a58679f9350



#### Case 2
When screen is pressed or dragged (any contact with screen).

##### Before


https://github.com/ente-io/ente/assets/77285023/3aefdec5-3bc3-42ef-9442-592442273569

##### After


https://github.com/ente-io/ente/assets/77285023/7b458184-5abe-4983-ba21-f38080cc8bee

## Tests

Tested for regressions. Found one, which it not quite a regression as
the issue was already present but reproducible in a different flow. It
happens too fast for screen recording to capture it.

Not a blocker as it doesn't affect usability in anyway and since this
fix (auto scaling on final image loading) is an important fix.
2024-03-08 17:05:24 +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
Neeraj Gupta
5a04030766 Fix lint 2024-03-08 15:17:28 +05:30