-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect
enableWhenBehavior
, some UI improvements (#65)
# fix incorrect `enableWhenBehavior`, some UI improvements ## ♻️ Current situation & Problem - The editor currently does not add an `enableWhenBehavior` field to questions with multiple `enableWhen` conditions, even though [the FHIR spec requires this](https://www.hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item). - Additionally, the UI would in this case say that the `any` behaviour was selected (even though it wasn't; there was no selection). - This is kinda bad, since ResearchKitOnFHIR defaults a missing `enableWhenBehavior` to `all`, which is of course the opposite of what you'd expect when the web UI said "any". - (See #64 for a full explanation.) - The overlay displayed when editing questions always cuts off the bottom 64 pixels of the question editor, which makes it difficult to reach the buttons down there, or to even see that they exist ## ⚙️ Release Notes - fix incorrect default `enableWhenBehavior` - improve question editing UI ## 📚 Documentation n/a ## ✅ Testing n/a ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md). fixes #64
- Loading branch information
1 parent
0f8e95b
commit c5235f1
Showing
5 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters