Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(web): ConfirmDialog and dialogController #9716

Merged
merged 10 commits into from
May 28, 2024

Conversation

alextran1502
Copy link
Contributor

@alextran1502 alextran1502 commented May 24, 2024

This PR introduces a method dialogController.show({}) to programmatically show the confirmation controller without putting it in the template.

This PR also refactors the components and pages that are using <ConfirmationDialog/> in a simple way to this new implementation. There are more complex use of <ConfirmationDialog> with complex nested elements that will be refactored in the future PR.

Copy link

cloudflare-workers-and-pages bot commented May 24, 2024

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3507317
Status: ✅  Deploy successful!
Preview URL: https://c341fe87.immich.pages.dev
Branch Preview URL: https://web-feat-dialog-controller.immich.pages.dev

View logs

@zackpollard
Copy link
Contributor

Love the overall changes, just some small comments :)

@alextran1502 alextran1502 enabled auto-merge (squash) May 28, 2024 01:14
@alextran1502 alextran1502 merged commit bce916e into main May 28, 2024
24 checks passed
@alextran1502 alextran1502 deleted the web/feat-dialog-controller branch May 28, 2024 02:10
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.

4 participants