Commit Graph

59 Commits

Author SHA1 Message Date
mertalev
4d1d902773 make aspect ratio logic reusable, optimizations 2024-11-17 10:45:19 -05:00
mertalev
60715059f7 ensure dimensions for memory cards 2024-11-17 00:02:22 -05:00
mertalev
aa890c0858 faster initialization for remote videos 2024-11-16 23:51:48 -05:00
mertalev
03211c43f9 increase delay for hero animation 2024-11-16 23:34:48 -05:00
mertalev
381fe5c2fd maybe fix duplicate key error 2024-11-16 22:26:22 -05:00
mertalev
937fb4e30e fix duplicate key error 2024-11-16 21:31:13 -05:00
mertalev
71e058af2e error handling for async calls 2024-11-16 20:57:42 -05:00
mertalev
6c8f7b7e6d use visibility for motion videos 2024-11-16 20:35:11 -05:00
mertalev
b0a2a6ac13 improved motion photo handling 2024-11-16 20:19:08 -05:00
mertalev
d1c7ed5464 fix stack handling 2024-11-16 20:19:08 -05:00
mertalev
3b9a3d4037 use current asset provider and loadAsset 2024-11-16 20:19:08 -05:00
Alex
613ce513cd chore: generate router page 2024-11-16 20:19:08 -05:00
mertalev
caee381721 extra smooth seeking, add comments 2024-11-16 20:19:08 -05:00
mertalev
0010eda67f fix controls when swiping between image and video 2024-11-16 20:19:08 -05:00
mertalev
190dbb0042 await things 2024-11-16 20:19:08 -05:00
mertalev
dbca16e352 slightly lower delay 2024-11-16 20:19:08 -05:00
mertalev
64e23a3b5c higher res placeholder for local videos 2024-11-16 20:19:08 -05:00
mertalev
7d5294f7ef fixed referencing uninitialized orientation 2024-11-16 20:19:08 -05:00
mertalev
3da28a4685 removed unnecessary import 2024-11-16 20:19:08 -05:00
mertalev
de61abb3aa refactor aspect ratio calculation 2024-11-16 20:19:08 -05:00
mertalev
bef9a1eae7 clean up logging 2024-11-16 20:19:08 -05:00
mertalev
49c4d7cff9 refinements and fixes
fix orientation for remote assets

wip separate widget

separate video loader widget

fixed memory leak

optimized seeking, cleanup

debug context pop

use global key

back to one widget

fixed rebuild

wait for swipe animation to finish

smooth hero animation for remote videos

faster scroll animation
2024-11-16 20:19:08 -05:00
shenlong-tanwen
3272ad4a7b fix: handle remote asset orientation 2024-11-16 20:19:08 -05:00
shenlong-tanwen
46a8e9084a fix: aspect ratio 2024-11-16 20:19:08 -05:00
Alex
5e8ee6dc5f turn on volume when video plays 2024-11-16 20:19:08 -05:00
shenlong-tanwen
9c470def18 fix: handle buffering 2024-11-16 20:19:08 -05:00
shenlong-tanwen
5ebac69647 refactor: native_video_player 2024-11-16 20:19:08 -05:00
Alex
6f3ceb58b8 stateful widget 2024-11-16 20:19:08 -05:00
Alex
a346a37743 splitup the player 2024-11-16 20:19:08 -05:00
Alex
a8994ffb22 add native player library 2024-11-16 20:19:08 -05:00
Alex
791c37d2cc chore(mobile): proper new UI layout for tablet (#13650)
* chore(mobile): better tablet UI

* fix spacing when trash is disable

* better layout for library page

* Removed navigation rail

* removed navigation rail reference

* correct padding

* fixed people page
2024-10-21 13:39:18 -05:00
Alex
f59b813ffe chore(mobile): search page minor enhancements (#13403)
* chore(mobile): search page retouched

* add placeholder photos

* remove unused page

* focus the search input when tapping on the search controller button

* detail fixed

* remove print statements

* disable scrolling of empty content
2024-10-14 09:50:07 +07:00
Alex
e9813315e7 feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
Alex
fa9bb8074c feat(mobile): enhance download operations (#12973)
* add packages

* create download task

* show progress

* save video and image

* show progress info

* live photo wip

* download and link live photos

* Update list of assets

* wip

* correct progress

* add state to download

* revert unncessary change

* repository pattern

* translation

* remove unused code

* update method call from repository

* remove unused variable

* handle multiple livephotos download

* remove logging statement

* lint

* not removing all records
2024-09-29 08:22:02 +00:00
Fynn Petersen-Frey
202082f62e refactor(mobile): use repositories in a number of services (#12891)
* UserService
* PartnerService
* HashService
* MemoryService
* PersonService
* SearchService
* StackService
2024-09-24 12:50:21 +00:00
src
682adaa334 fix(mobile): allow create empty non-shared albums, add proper button colors (#12103)
* Add proper colors to create album button
Allow creation of empty albums with names, or non-empty albums without names

* Add proper colors to create album button
Allow creation of empty albums with names, or non-empty albums without names

* Small changes

* Revert change

* Simplify logic

* lint

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-29 15:57:42 +00:00
Jason Rasmussen
8338657eaa refactor(server): stacks (#11453)
* refactor: stacks

* mobile: get it built

* chore: feedback

* fix: sync and duplicates

* mobile: remove old stack reference

* chore: add primary asset id

* revert change to asset entity

* mobile: refactor mobile api

* mobile: sync stack info after creating stack

* mobile: update timeline after deleting stack

* server: update asset updatedAt when stack is deleted

* mobile: simplify action

* mobile: rename to match dto property

* fix: web test

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-19 12:37:15 -05:00
Alex
ed6971222c chore(mobile): Flutter 3.24 (#11633)
* chore(mobile): Flutter 3.24

* fix lint

* fix rendering issues that lead to log get filled with error messages

* linting

* merge main

* fix isar prod build Android

* fix mismatch icon offset
2024-08-15 14:53:37 -05:00
Alex
7d888106ed fix(mobile): load original (#11786)
* fix(mobile): load original

* revert change to format
2024-08-14 14:52:19 -05:00
Alex
d346985457 chore(mobile): refactor detail panel (#11662)
* date time component

* rename to info_sheet

* simplify map info

* Edit datetime sheet

* fix janking when scroll on info sheet

* Location refactor

* refactor name

* Update date time after editing

* localize rebuild to smaller component

* restore advanced bottom sheet

* reassign EXIF back to local database

* remove print statements
2024-08-09 13:43:47 +00:00
Alex
1dae622dbc chore(mobile): minor styling fix (#11619) 2024-08-06 14:39:07 -05:00
renovate[bot]
8ca24f0ef2 fix(deps): update dependency auto_route to v9 (#11566)
* fix(deps): update dependency auto_route to v9

* fix dep conflict

* linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-06 12:50:20 -05:00
Pruthvi Bugidi
0eacdf93eb feat(mobile): add support for material themes (#11560)
* feat(mobile): add support for material themes

Added support for custom theming and updated all elements accordingly.

* fix(mobile): Restored immich brand colors to default theme

* fix(mobile): make ListTile titles bold in settings main page

* feat(mobile): update bottom nav and appbar colors

* small tweaks

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-06 14:20:27 +00:00
Alex
17c3e8e8bf fix(mobile): mobile logging out randomly (#11431)
* fix(mobile): refactor splash screen to not require online connection

* chore: bump flutter sdk path for vscode

* refactor: authentication provider always try network calls and only fail if 401 or no local user

* lint

* fix: revert change to lookup serverendpoint from store the isar store implementation is very broken

* fix: clear serverUrl and serverEndpoint on logout, and await logout call

* refactor: remove unneeded extra conditions in splash screen useEffect

* revert change to remove serverEndpoint on logging out

* pr feedback

---------

Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-07-30 13:15:48 -05:00
Saschl
62ac9bb7cd fix(mobile): native share functionality on iPad (#11294)
* pass context to share method

* use correct context

* fix: multiselection and logs sharing

* fix: lint
2024-07-26 08:43:59 -05:00
Fynn Petersen-Frey
745b16e4b4 feat(mobile): remove asset from album in gallery view (#11184)
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-07-19 10:07:36 -05:00
Alex
6f950ea45d fix(mobile): incorrect translation string (#10794) 2024-07-02 22:13:22 -05:00
Zhenzhen Zhao
0b4153e256 chore(trans): add zh-CN translations for custom proxy headers (#10660)
chore: add zh-CN translations for proxy headers

Signed-off-by: TripleZ <me@triplez.cn>
2024-06-27 13:38:51 -05:00
Alex
d8175d8da8 fix(mobile): asset state remain in gallery view after being deleted (#10603)
* fix(mobile): asset doesn't get removed from state renderList

* fix delete last assets

* refactor
2024-06-26 23:15:26 -05:00
Matej Kramny
922430da36 feat(mobile): add additional request headers (#10588)
* add additional request headers

* improve interface

* move headers under advanced settings

* refactor

* refactor

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-06-26 19:31:55 +00:00