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
Based on the user testing today we decided that the second iteration would show the clinician a view that was more similar to the code. I've created a Django model which is semantically identical to the JSON schema object.
@davidmiller It turns out to be a little harder in Javascript to handle a Python class than it was to handle JSON (unsurprisingly).
I wasn't really very sure on how to proceed with this, ideally we want to bring in the Python code in some fashion. Ideas I had included:
embed the python as plain text (although I couldn't actually find an elegant way to do this in angular)
embed the python using some code syntax highlighting library like Highlight.js
use something like the embeddable Ace editor to insert the code (although again, unsure if having editability in this clinician view is beyond the necessary scope.
(but was concerned about burning a lot of time pursuing any of them without being sure it was the right direction)
In the interim I could hard-code the model in the HTML?
The text was updated successfully, but these errors were encountered:
Based on the user testing today we decided that the second iteration would show the clinician a view that was more similar to the code. I've created a Django model which is semantically identical to the JSON schema object.
@davidmiller It turns out to be a little harder in Javascript to handle a Python class than it was to handle JSON (unsurprisingly).
I wasn't really very sure on how to proceed with this, ideally we want to bring in the Python code in some fashion. Ideas I had included:
embed the python as plain text (although I couldn't actually find an elegant way to do this in angular)
embed the python using some code syntax highlighting library like Highlight.js
use something like the embeddable Ace editor to insert the code (although again, unsure if having editability in this clinician view is beyond the necessary scope.
(but was concerned about burning a lot of time pursuing any of them without being sure it was the right direction)
In the interim I could hard-code the model in the HTML?
The text was updated successfully, but these errors were encountered: