Skip to content

Warnings system #38

Description

@AYZ

Nice to have a system for dealing with warnings:

  1. warning_create (sCode) - creates an entry in the array of warning objects
  2. warning_display (sCode, sTitle(?), sMessage)
  3. warning_isHidden (sCode) - returns true/false
  4. warning_setIsHidden (sCode, yes/no)
  5. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions