Commit Graph

88 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
318ab756cb fix(mobile): search page (#13833)
* fix(mobile): search page minor problems

* fix: flashing between search

* restore search size

* remove print statement

* linting
2024-10-30 14:27:13 -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
Yuvraj P
52c700e9b0 feat(mobile): Adding filters feature to mobile image editor (#13174)
* Adding filters button

* Filter selection page

* routing

* Localization

* Add Filters to this page

* More Filters yay!

* Final filters

* Logic for saving the image

* Fixes

* Formmating

* Finalizing, formating, and fixes

* Layout fix

* chores

* Chore: Static code analysis

* fix translation file

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-10-06 13:51:11 +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
Lauritz Tieste
42ad3e6bb0 fix(mobile): navigation panel overlaps with right rotate (#12950)
fix: navigation panel overlaps with right rotate
2024-09-27 08:40:07 +07: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
Zack Pollard
bcd416477b feat: serve map tile styles from tiles.immich.cloud (#12858)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2024-09-23 20:30:23 +00:00
Fynn Petersen-Frey
39ea73d654 chore(mobile): restrict isar use via CI checks (#12840) 2024-09-22 09:24:08 -04:00
Fynn Petersen-Frey
6995cc2b38 refactor(mobile): encapsulate most access to photomanager in repository (#12754)
* refactor(mobile): encapsulate most access to photomanager in repository
2024-09-18 17:15:52 +02: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
Kenneth Bingham
2297d86569 fix(mobile): use a valid OAuth callback URL (#10832)
* add root resource path '/' to mobile oauth scheme

* chore: add oauth-callback path

* add root resource path '/' to mobile oauth scheme

* chore: add oauth-callback path

* fix: make sure there are three forward slash in callback URL

---------

Co-authored-by: Jason Rasmussen <jason@rasm.me>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-28 11:30:06 -05:00
Yuvraj P
3e970bc2d3 fix(mobile): Changes in the UI for the image editor pages (#12018)
* Ui enchancements and fixes

* Reruning the github review thing

* conflicts fix, apparently

* conflicts fix, apparently

* Fixed edit.page.dart

* Fixed crop page; localization etc

* Updated es-US.json; for Localization

* Formatting

* Changing the es-US.json back

* Update en-US.json

* localization

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-27 16:06:16 +00:00
Alex
6b6d2a6621 feat(mobile): preserve mobile album info on upload (#11965)
* curating assets with albums to upload

* sorting for background backup

* background upload works

* transform fields string array to javascript array

* send json array

* generate sql

* refactor upload callback

* remove albums info from upload payload

* mechanism to create album on album selection

* album creation

* Sync to upload album

* Remove unused service

* unify name changes

* Add mechanism to sync uploaded assets to albums

* Put add to album operation after updating the UI state

* clean up

* background album sync

* add to album in background context

* remove add to album in callback

* refactor

* refactor

* refactor

* fix: make sure all selected albums are selected for building upload candidate

* clean up

* add manual sync button

* lint

* revert server changes

* pr feedback

* revert time filtering

* const

* sync album on manual upload

* linting

* pr feedback and proper time filtering

* wording
2024-08-26 13:21:19 -05:00
Yuvraj P
843345df4f fix(mobile): Fix for incorrectly naming edited files and structure change (#11741)
* Fix null name

* Fix null name and Fix button

* Remove extension correctly

* Refactoring the code and formatting

* formatting

* Fix for the extension name
2024-08-24 15:30:31 -05: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
Saschl
1c754b60dc chore(mobile): only enable wakelock when backup is running (#11849)
chore: only enable wakelock when backup is running
2024-08-16 08:08:21 -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