Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an "unresolved" option #175

Open
edmundedgar opened this issue Apr 17, 2020 · 0 comments
Open

Make an "unresolved" option #175

edmundedgar opened this issue Apr 17, 2020 · 0 comments

Comments

@edmundedgar
Copy link
Contributor

edmundedgar commented Apr 17, 2020

Contracts may want to distinguish their handling of "unresolved" from their handling of "invalid". This can happen when you have a question about an event that's only relevant when the event happens, and we don't know when that will be, but you still need the "invalid" option for when the question doesn't make sense, the game was cancelled etc etc.

Probably do something like:

  • Add an optional parameter to the question JSON something like "has_invalid" and make new templates like the original built-in templates, but with this option turned on
  • Assign 0xffff..fffe as meaning "unresolved"
  • Anywhere in the UI where we have an "invalid" option, make a similar UI for "unresolved", provided the option is on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant