Description

We should add a distinction between non-mandatory and mandatory constraints, and report and display them differently. One possibility would be to add a new status, “mandatory violation” (or “severe violation”?).

For the gadget, Jura suggested displaying non-mandatory constraints under a question mark and only mandatory ones under the current exclamation mark.

One possibility would be to add a new status, “mandatory violation” (or “severe violation”?).

I think I like this approach, even though I’m a bit suspicious of its simplicity. If a mandatory constraint has a violation, bump the status to “severe violation” and add “constraint_status: mandatory” to the output parameters.

On the special page, “severe violation” would look like “bad parameters” (darker shade of red than “violation”).

In the gadget, perhaps we could reuse the headings approach from T169971: Make “bad parameters” results less prominent in the gadget: “potential issues” would no longer be the heading of the entire popup, but only of the normal “violation” section; “severe violation” (or “mandatory violation” or something else) would be a separate section (above the “potential issues”), with a small explanatory text that these violations are worse than others.