Treating all question options as blocks affords Tally a kind of granularity that creates an unparalleled amount of power. However, treating all blocks as siblings, and having no notion of containment creates a host of problems.
From worst to most manageable:
- Subtle bugs where an option was added after conditional logic was created so it doesn't factor in to any conditional showing/hiding for its parent question, since that adds all choices at selection time.
- Conditional logic that operates on the same question produces unexpected results. E.g. assume you have a matrix. A certain condition shows/hides the whole matrix, and a different condition shows/hides certain rows. The user's mental model is that showing/hidding the whole question takes precedence, whereas hiding/showing individual rows only makes a difference if the parent question is shown. But it doesn't work that way! In fact, I still have not figured out how exactly it works, because it doesn't seem to be based on command order either.
- Clicking delete on a question never does what you expect. Same with reordering, unless you drag a rectangle to select multiple blocks manually, it produces incredibly weird results where a question is out of order with its own options, or the question is gone and its options are still hanging out at the form wondering where their mommy went.
- Hiding a question does not necessarily hide its options, so if you're not careful you end up with stray options in the middle of a page, whose parent question is hidden
- A ton of options to wade through for conditional logic even on a moderately sized survey because the dropdown is not hierarchical either
All of these can be fixed by simply introducing **hierarchy / containment**: pages contain questions and content blocks (that do not belong to a question, e.g. headings). Questions contain their options, and any content blocks between the two. If a question is hidden, none of its options can be shown. If a question is deleted or moved, its options go along for the ride. The dropdown with all content is organized with submenus that follow this hierarchy.
I suspect (but hope I’m wrong) that you folks use some kind of pre-existing block editor that is designed this way, so this would involve very high implementation effort. However, this seems so fundamental, that even if that’s the case, I think it's still worth it.