Skip to content

feat(web): hide face from detail page - #4098

Merged
alextran1502 merged 1 commit into
mainfrom
feat/hide-face-from-detail
Sep 15, 2023
Merged

alextran1502 merged 1 commit into
mainfrom
feat/hide-face-from-detail

Conversation

@martabal

@martabal martabal commented Sep 14, 2023 •

Copy link
Copy Markdown
Contributor

Changes made in this PR

This PR adds the ability to hide a face from the detail page. Once the face is hidden, the user is redirected to the Explore page.

Closes #4099

Screenshots

Screenshot from 2023-09-14 16-42-38

@vercel

vercel Bot commented Sep 14, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
immich ⬜️ Ignored (Inspect) Sep 14, 2023 2:46pm

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine. In general we have this pattern in the web app where we often have the same action available a few different places. For people, the exact same action seems to exist in the all people page > menu option and now person page > menu option. I don't think we need two different implementations of the same action.

For assets, we consolidated some of this code by creating the photos-page/*-action.svelte components. They encapsulate the action, call the api endpoint, and show the notification. They have callbacks afterwards so the parent component can do redirects or other state management if needed. It would be great to do the same for these people actions.

@alextran1502
alextran1502 merged commit 7fcc5a5 into main Sep 15, 2023
@alextran1502
alextran1502 deleted the feat/hide-face-from-detail branch September 15, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Ability to hide face from the details screen

3 participants