Skip to content

Hotfix: Use hook prefix with event action#83

Merged
tarecord merged 8 commits into
developfrom
hotfix/event-hook-prefix
Sep 25, 2023
Merged

Hotfix: Use hook prefix with event action#83
tarecord merged 8 commits into
developfrom
hotfix/event-hook-prefix

Conversation

@tarecord
Copy link
Copy Markdown
Member

Ticket: https://moderntribe.atlassian.net/browse/FRAME-175

This fixes an issue where events fired with the existing action would be fired for each individual instance of the library running on a site. Adding a hook prefix prevents this and only fires the action with the library of the associated prefix.

@tarecord tarecord self-assigned this Aug 24, 2023
Copy link
Copy Markdown
Contributor

@ChrisMKindred ChrisMKindred left a comment

Choose a reason for hiding this comment

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

It looks like this will take care of the action triggering by slug, were you going to address the shutdown send for events as well or is that going to be in a different pr?

@tarecord
Copy link
Copy Markdown
Member Author

@ChrisMKindred - I'll update this to include that functionality so we can push out a single patch.

@tarecord
Copy link
Copy Markdown
Member Author

tarecord commented Sep 1, 2023

@ChrisMKindred after thinking about it, I decided to make it a separate PR anyway (#84)

@ChrisMKindred
Copy link
Copy Markdown
Contributor

let's bring the two hotfixes together in a single branch to merge into main in that case.

@tarecord tarecord changed the base branch from main to hotfix/2.1.1 September 25, 2023 14:59
@tarecord tarecord changed the base branch from hotfix/2.1.1 to develop September 25, 2023 15:09
@tarecord
Copy link
Copy Markdown
Member Author

tarecord commented Sep 25, 2023

@ChrisMKindred since we're so close to the next release (week of 10/2), It makes sense to merge this into develop and push it out with the next minor release version.

@tarecord tarecord merged commit ea745d4 into develop Sep 25, 2023
@tarecord tarecord deleted the hotfix/event-hook-prefix branch September 25, 2023 19:11
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