You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After new rule template has been submitted, there are several possibilities:
the rule compiles,
the rule doesn't compiles.
If the rule compiled, we need to come back to the newly created rule template, without edit.
If the rule didn't compile, we need to come back to the edit pane with the appropriate error message.
The error message on the last rule submitted is included in the player's profile.
To display the infos in the edit pane of a rule:
If player's profile contain last rule && rule name == rule template's name
-> take the infos from the player's last rule
otherwise take the infos from the current rule
The text was updated successfully, but these errors were encountered:
Wouldn't it be better to add an temporary entry in the template list for the currently edited rule?
We could display the LastRule structure as a separate rule dubbed "New Rule".
The profile rule would always link to this one. If no profile, default template is displayed.
After new rule template has been submitted, there are several possibilities:
If the rule compiled, we need to come back to the newly created rule template, without edit.
If the rule didn't compile, we need to come back to the edit pane with the appropriate error message.
The error message on the last rule submitted is included in the player's profile.
The text was updated successfully, but these errors were encountered: