infinitered/thesis-phoenix

Add a Notification/Alert system

yulolimum opened this issue · 1 comments

Notifications or alerts are needed to let the user know of various things that Thesis is expecting/needs, or notify the user of potential issues while editing. A good example: we are adding a very important migration to remove the LZString compression that converts compressed data to a json string. If Thesis is updated but the migration is not executed, there will be Internal Server Errors if you try to revert to a previous page revision.

There should be different types of notifications. The above example can be called a notification regarding environment - we can add these and remove these as needed. Another type can be page-specific notifications. For example, we can add some code to notify the user that the page meta information is not set but should be for SEO purposes. Lastly, we should allow devs to set/create notifications via the config and extend as needed.

Added in #133