Expression fields as choices: values from a list, conditions in words #35

Merged
jcoffey-dev merged 1 commits from feature/expression-simple-mode into main 2026-09-28 21:54:18 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 6337dc5364 Expression fields as choices: values from a list, conditions in words
ci / build (pull_request) Successful in 2m9s
ci / publish (pull_request) Skipped
With the server's schema naming each expression field's allowed constants
and variables, an expression field opens in a plain form:

- a value that is one of the constants is a dropdown (Relaxed, Strict,
  Off), with Custom expression… for anything else;
- a condition that is one comparison reads "Port on this server / is /
  25", with the variable picked from the ones the field allows;
- a line above says the whole thing in words when it can ("Relaxed when
  port on this server is 25; otherwise off").

What the form can't read stays as text, and Edit as text gives the full
IF / THEN / ELSE editor back. Without hints from the server the field is
unchanged.
2026-09-28 10:40:47 -07:00