Closed maxime-rainville closed 3 years ago
Might need to wrtie some unit test and behat test + bump dependencies.
@maxime-rainville, seems to work, just need to update the text and fix travis.
Updated the messages and added some behat test. The behat test won't be green until the matching framework PR is merged.
Just had a glance to see if we could sneak in a "successfully added" toast notification is this PR. Sadly, it looks non-trivial.
The add to campaign logic is actually in admin for some weird reason. https://github.com/silverstripe/silverstripe-admin/blob/1/client/src/legacy/AddToCampaignForm.js
Added a follow up issue for "the add to campaign" modal https://github.com/silverstripe/silverstripe-campaign-admin/issues/190
Use the new react toast notification to tell the user when their campaign has been published.
Parent issue
Depends on