patrickdemooij9 / SeoToolkit.Umbraco

SeoToolkit is a SEO package for Umbraco 9, 10, 11, 12 & 13. This package features most functionalities needed for your SEO needs like meta fields, sitemap, robots.txt and much more.
MIT License
38 stars 28 forks source link

Added option to supress the "SEO settings have been saved" notification #285

Closed Ambertvu closed 2 months ago

Ambertvu commented 2 months ago

As title.

During development I (we) find it very annoying that each time you edit an document type, you get the seo settings have been saved, when there have been no changes to it.

Ideally the models should be compared (on load and on save) and shown the proper notification for it. But that's a lot more work :-)

I've added an configurable option so you can suppress the "SEO settings have been saved" notification, so you aren't muscle memoried / tricked (clicking the next doc type on appearal of green notification) when the documentType settings hasn't been saved yet but the seosettings have been :) I think this is ideal for a user's development environment.

If I interpreted correctly, the seosettings-save is always done before the doctype-save, so no issues should appear.

patrickdemooij9 commented 2 months ago

Makes a lot of sense and testing is all good too! Thank you for the pull request!