Skip to content

Allow multiple venue blocks per event#1095

Merged
mauteri merged 8 commits intoGatherPress:developfrom
jmarx:jmarx/960-single-map
May 5, 2025
Merged

Allow multiple venue blocks per event#1095
mauteri merged 8 commits intoGatherPress:developfrom
jmarx:jmarx/960-single-map

Conversation

@jmarx
Copy link
Copy Markdown
Collaborator

@jmarx jmarx commented May 3, 2025

Description of the Change

Closes #

How to test the Change

Changelog Entry

Added - New feature
Changed - Existing functionality
Deprecated - Soon-to-be removed feature
Removed - Feature
Fixed - Bug fix
Security - Vulnerability

Credits

Props @username, @username2, ...

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

} = props;

const [Leaflet, setLeaflet] = useState(null);
const mapId = `map-${instanceId || Math.random().toString(36).substr(2, 9)}`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@mauteri Done. And fixed a couple other things

@jmarx jmarx marked this pull request as ready for review May 3, 2025 22:17
@jmarx jmarx requested a review from mauteri May 3, 2025 22:18
longitude,
} = props;
const [Leaflet, setLeaflet] = useState(null);
const mapId = `map-${`dropdown-${uuidv4()}`}`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be:

const mapId = `map-${uuidv4()}`;

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 5, 2025

Preview changes with Playground

You can preview the recent changes for PR#1095 with the following PHP versions:

PHP Version 8.3

PHP Version 7.4

Download .zip with build changes

Made with 💙 from GatherPress & a little bit of WordPress Playground. Changes will not persist between sessions.

@mauteri mauteri merged commit 0b7279a into GatherPress:develop May 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants