Dr. Larkworthy lol. Thank you. Although don't let it lull you into a false sense of security. 80/20 rule, there will be some "trivial" features that will kill productivity somewhere (probably these tables).
Wild - I see my 'test' survey (es1) here, though I am surprised as I feel my attempts to load in information were thwarted. Maybe we should try a walk-through from start to see where I am having issues? Also we should test how to make edits on the GESI survey
I'll need to you walk me through this one. I see that these are clickable and I see related cells changing as I click, but it's a bit hard for me immediately to ascertain all of what is happening.
I see that we're keeping things like 'Cell Designation in Set', which was me just messing around trying to figure out unique input types to describe to you, back at a time when I thought you were asking for this. We seem to be past a point where this is useful and can drop it. Let's also be sure to walk through the layout stuff to talk through how it's working and where we need to tidy up our excel, labels, etc.
we do use it, it is a unique label that ties a group of cells together (e.g. for conditional formatting and for score => summary). I am not entirely sure its the best way this grouping could be done but we either need this or another table for question groups.
Is this working? I don't seem to be able to cluck into the fields to edit the text. Also not clear how to make changes here persist or affect elsewhere.
this is for layout, your not trying to upload a question CSV are you? But yeah we should have better validation here anyway.
https://kanbanflow.com/t/Z2Vj5LtB
email me the CSV
ok so it does load it but yes it eventually reverts to "No file chosen" due to Observable dataflow invalidating one of its successors. Is this important because it's kind of difficult to change, How would you like it to work? We have control of the component.
I don't have specific ideas for how to change; it's just unclear that I was when trying to load in the file. I guess it would be more apparent had I scrolled and down? Maybe this is something that would be addressed in the UI layout for the designer?
I see we hard-coded in the column headers I made up for the CSV: 'Question Attributes'. and 'Question Attributes Values'. These headers were sorta arbitrary. :/ Should we revise?
What is the meaning of 'vstyle'? And for the markdown cells where we just supply text, it's sort of weird to expect a 'response'. Can we indicate somehow that we're not expecting a response instead of returning 'control: undefined'?
each "control" -> [checkbox, radio, markdown] can have its visibility switched on and off via its "virtual style".
We could try and mask out the markdown cells via some dedicated logic to process it different to the other cells but I am not sure it adds much value for the additional complexity it adds. The response object is not user facing. You *might* want markdown to be hidden via vstyle, so having a line in the response object might be useful for giving it conditional visibility.
I made a mistake and added a 'Config' property where I wanted a 'menu segment' property. How do I delete?
Also - I see that Tom's deployment has correct mapping of the 'core' vs. 'plus' "mainstreaming" questions, and yet there wasn't a property for mainstreaming_plus. How is that working?
@tomlarkworthy Do we have to `dispatchEvent(new Event('input')...` here? The question and page numbers are not update when data added to `surveyUi` first time.
That was deliberate as the auto-save is downstream of the ui, so we don't want to auto-save on initial page load. Thus the first load is without dataflow, and you won't get an event generated until the user *modifies* the UI.
Though that logic is a bit fragile and has some consequences. Maybe its ok to dispatch the event. If you could make it work by listening to a 'variable's "assign" event it might be better as you would not need the dataflow then. Not sure if there is an easy variable to watch though
It' is strange, I see that the `exportQuestionsCSV` field is populated correctly for 'testProject` in the cell below, but this `download questionss` button above is only exporting for a different survey (the one I was testing for ecosystem services)
This value doesn't appear to be changing if I select different projects. It's currently showing the values for the 'es' (ecosystems services) project, although I have selected 'TestProject3),
After several attempt and re-loading + re-selecting a test project, the questions here finally switched over to TestProject3. However the 'download-questions' link below still is only exporting questions from a different survey.