woocommerce/plugins
Jacob Sewell f0aebb8046 Have NavigationNudge and NavigationFeedback self-delete when irrelevant (https://github.com/woocommerce/woocommerce-admin/pull/7914)
* If the navigation feature does not exist, have the NavigationNudge note self-action.

* Create delete_if_not_supported method on NavigationNudge note.
If we encounter this situation again we might consider adding a version of this method to NoteTraits.

* Add possibly_delete_notes() to do_wc_admin_daily().

* Add changelog entry for Issue 7807.

* Add should_note_exist() method to NavigationNudge note.

* Add should_note_exist() and delete_if_not_supported() to NavigationFeedback.

* Add NavigationFeedback::delete_if_not_supported() to possibly_delete_notes() in daily cron.

* Fix changelog missing PR number.

* Update changelog to include navigation feedback note.

* Rename should_note_exist and delete_if_not_supported to is_applicable and delete_if_not_applicable, add to NoteTraits.
2021-11-15 22:51:53 -06:00
..
woocommerce-admin Have NavigationNudge and NavigationFeedback self-delete when irrelevant (https://github.com/woocommerce/woocommerce-admin/pull/7914) 2021-11-15 22:51:53 -06:00