Skip to content

fix: delay settings apply for slideshow popup #18028

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

Merged
merged 10 commits into from
May 17, 2025

Conversation

dj0024javia
Copy link
Contributor

@dj0024javia dj0024javia commented May 2, 2025

Description

  1. Fixed onChange values applying by moving variables to temp variables.

Fixes #17791

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dj0024javia
Copy link
Contributor Author

@bo0tzz could you please review?

@bo0tzz bo0tzz changed the title fix: Fixed onChange values setting to store for slideshow popup fix: delay settings apply for slideshow popup May 4, 2025
@bo0tzz
Copy link
Member

bo0tzz commented May 4, 2025

please have some patience; it's the weekend, and this PR has only been open for 2 days. Someone will get around to reviewing it soon enough.

@dj0024javia
Copy link
Contributor Author

@bo0tzz apologies, forgot it was the weekend!

@alextran1502
Copy link
Contributor

Can you help fix the linter error?

dj0024javia and others added 3 commits May 5, 2025 09:26
…j0024javia/immich into fix/slideshow-save-btn-fix
@dj0024javia
Copy link
Contributor Author

Updated the code. That should fix the linting errors

/>
</div>

{#snippet stickyBottom()}
<Button fullwidth color="primary" onclick={(_) => onClose()}>{$t('done')}</Button>
<Button fullwidth color="primary" onclick={applyChanges}>{$t('done')}</Button>
Copy link
Contributor

Choose a reason for hiding this comment

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

if we're not going to save these changes immediately, we should have a cancel button, like we do everywhere else. Would you mind adding that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think close button be same as the cancel button. As i am making changes, and i don't want to save, i can just close it?
Let me know if adding cancel would make more sense. will do that

Copy link
Contributor

Choose a reason for hiding this comment

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

When you change the date, and on most other actions, it looks something like this:

Screenshot_20250509-020003.png

Please make this change consistent with other modals.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok added cancel button and changed text of done -> Confirm as well.
As cancel and done, doesn't seem to make sense, Cancel and Confirm makes more sense
Let me know if you think otherwise

dj0024javia and others added 4 commits May 9, 2025 09:40
…j0024javia/immich into fix/slideshow-save-btn-fix
… fix/slideshow-save-btn-fix
@alextran1502 alextran1502 enabled auto-merge (squash) May 17, 2025 21:03
@alextran1502 alextran1502 merged commit a65c905 into immich-app:main May 17, 2025
46 checks passed
@dj0024javia dj0024javia deleted the fix/slideshow-save-btn-fix branch May 18, 2025 04:52
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.

Slideshow time is instantly active without final confirmation with DONE-Button - WEB UI
4 participants