feat: add favorite button to DriftMemory widget#28271
Conversation
|
Could a maintainer please add the changelog:mobile label to this PR? |
|
@alextran1502 , alight to web implementation:
|
7e586e2 to
34c1d6b
Compare
543c4c4 to
34c1d6b
Compare
|
@luckydevil13 The favourite button on the web saves the memory, i.e, updates the |
|
@shenlong-tanwen @alextran1502 do I miss something... For Web
What the user sees visually:
And we need to deside
|
I think you might have thought that the heart icon on the memory page on the web also favoriting an asset |
|
@alextran1502 thanks, What is scenario with favoriting the memory? for me it's strage to have two "favorites", I've expect ❤️ is favorites |
|
@luckydevil13 We plan to introduce a memories view where the favorite memories can be filted or displayed on top |


Description
Adds a favorite (like) button to the
DriftMemoryBottomInfowidget in the mobile app. When viewing a drift memory, users can now toggle the favorite status of the currently displayed asset directly from the bottom info bar, without leaving the memory view.The widget was converted from
StatelessWidgettoConsumerWidgetto support Riverpod state management. The favorite button is only shown when the current user owns the asset (i.e.,RemoteAssetwith matchingownerId), and it correctly updates both the asset viewer state and the in-memory asset list.How Has This Been Tested?
Screenshots (if appropriate)
Checklist:
src/services/uses repositories implementations for database calls, filesystem operations, etc.src/repositories/is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/)Please describe to which degree, if any, an LLM was used in creating this pull request.
An LLM was used to assist with writing the initial implementation code for the favorite button logic in
DriftMemoryBottomInfo.