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

DEV: Switch to new addComposerToolbarPopupMenuOption plugin API #460

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

tgxworld
Copy link
Contributor

Why this change?

api.addToolbarPopupMenuOptionsCallback has been deprecated in discourse/discourse@913fd3a

@tgxworld tgxworld force-pushed the switch_to_new_api branch 2 times, most recently from 785bf49 to 8439922 Compare October 20, 2023 06:52
@@ -21,7 +21,7 @@ acceptance("Post event - composer", function (needs) {
await categoryChooser.expand();
await categoryChooser.selectRowByValue(2);
await click(".toolbar-popup-menu-options .dropdown-select-box-header");
await click(".toolbar-popup-menu-options *[data-value='insertEvent']");
await click(".toolbar-popup-menu-options *[data-name='Create event']");
Copy link
Member

Choose a reason for hiding this comment

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

Would it be worth using I18n.t here instead of hard coding the text?

Why this change?

`api.addToolbarPopupMenuOptionsCallback` has been deprecated in discourse/discourse@913fd3a
@tgxworld tgxworld merged commit 1964912 into main Oct 23, 2023
4 checks passed
@tgxworld tgxworld deleted the switch_to_new_api branch October 23, 2023 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants