Closed hirokiterashima closed 3 years ago
Hey @geoffreykwan and @hirokiterashima, I styled and updated with options to display location text, boundary type selections, and student text. These can be set by URL params as well (showLocationText
, showBoundarySelection
, showStudentText
) and all default to true.
Can you take another look? You can see it working here: https://wise.berkeley.edu/preview/unit/33873/node264.
@breity Looks great! The location summary display message is easy to read and digest. 👍 I had one comment about the code, see below.
Description I added a location summary view for this model that can be shown by passing in a mode=showLocationSummary GET parameter. The location can be specified by an additional location=[ccd/ooc/ood/cod/coc] GET param. Right now the view only shows what you typed in the prediction textarea.
Testing
Create an embedded component and set its url to
In another step, create another embedded component, connect it to the first PT model component using "connected components", and set its url to
As a student, do work on location ccd in the first embedded component. Remember what you wrote in the prediction textarea.
Go to the second embedded component. It should display what you wrote in the previous step.
Closes #1