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

Ensure unique IDs for modal galleries #704

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Ensure unique IDs for modal galleries #704

merged 1 commit into from
Jan 30, 2025

Conversation

Raruto
Copy link
Collaborator

@Raruto Raruto commented Jan 30, 2025

Make use of getUniqueDomId() instead of Date.now() for generating gallery ids.

Closes: #703

@Raruto Raruto added bug Something isn't working backport to v3.11.x labels Jan 30, 2025
@volterra79 volterra79 self-requested a review January 30, 2025 10:35
@volterra79 volterra79 added this to the v3.11 milestone Jan 30, 2025
@Raruto Raruto merged commit 60e5b2c into dev Jan 30, 2025
3 checks passed
@Raruto Raruto deleted the gallery-uniqueid branch January 30, 2025 14:50
Copy link

The backport to v3.10.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-v3.10.x v3.10.x
# Navigate to the new working tree
cd .worktrees/backport-v3.10.x
# Create a new branch
git switch --create backport-704-to-v3.10.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 60e5b2c3eff72ed69f22873c278600577e6dde7f
# Push it to GitHub
git push --set-upstream origin backport-704-to-v3.10.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-v3.10.x

Then, create a pull request where the base branch is v3.10.x and the compare/head branch is backport-704-to-v3.10.x.

github-actions bot pushed a commit that referenced this pull request Jan 30, 2025
(cherry picked from commit 60e5b2c)
volterra79 pushed a commit that referenced this pull request Jan 30, 2025
(cherry picked from commit 60e5b2c)

Co-authored-by: Raruto <[email protected]>
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.

Wrong image shown within modal
2 participants