-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Nice to have a system for dealing with warnings:
- warning_create (sCode) - creates an entry in the array of warning objects
- warning_display (sCode, sTitle(?), sMessage)
- warning_isHidden (sCode) - returns true/false
- warning_setIsHidden (sCode, yes/no)
- warning_clearAllHidden()
Then, when a warning occurs:
a) warning_display (sCode, sMessage)
- if sCode does not exist, warning_Create (sCode)
- if warning_isHidded (sCode) return
- display sMessage in dialog, along with checkbox: Don't display this warning again.
- warning_setIsHidden(sCode, checkbox value)
And, in Settings:
- for each warning, display: checkbox: Display sCode warnings.
- maybe, display: button: turn on all warnings