In the latest version of Local (Version 8.3.1+6650) my custom addon menu item no longer works. What changes have been done here?
In multiple years it has been working fine with this:
hooks.addFilter('siteInfoMoreMenu', (menu, site) => {
menu.push(
{
label: 'Some label',
enabled: true,
click: () => {
context.events.send(
'goToRoute',
`/main/site-info/${site.id}/some-slug`,
);
},
},
);
return menu;
});
Nick-B
March 6, 2024, 5:14pm
2
Hi @kimmenbert
There shouldn’t have been any change that would have impacted this but we can certainly take a deeper look. If you downgrade to the previous version of Local does it work again?
Nick-B
Split this topic
March 19, 2024, 8:12pm
3
Anyone had similar experience?
Nick-B
March 16, 2024, 1:11pm
5
Were you able to test downgrading your Local version since it worked for you previously?
What type of site environment do you use with this? Server/PHP/MySQL
Do you use this across many sites or is it just not working in a single site?
Yes, downgrading makes things work again.
The tool itself is not the problem, it’s the menu item.
It’s not site dependent, it’s across everything.
Do you know of another add-on using the «more» menu?
Nick-B
March 16, 2024, 3:18pm
7
Thank you for the follow-up details! I’ll share this with the team and we’ll let you know what we find.
Nick-B
Split this topic
March 19, 2024, 8:09pm
9
Hey @kimmenbert – Just letting you know that we zeroed in on the issue and will have a fix coming out soon! See:
@dzoniis I don’t have a timeline yet, but a fix for this should appear in the next beta and main releases (might not be the upcoming 9.0.0, but likely the one after that). Thanks for your patience.
4 Likes
system
Closed
April 7, 2024, 5:42am
11
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.