repronim / reproschema-ui Goto Github PK
View Code? Open in Web Editor NEWUI to render ReproSchema based protocols and assessments.
Home Page: https://www.repronim.org/reproschema-ui/
License: Other
UI to render ReproSchema based protocols and assessments.
Home Page: https://www.repronim.org/reproschema-ui/
License: Other
Lets make a list here of the UI components we want to support and their label names.
inputType: 'radio'
inputType: 'text'
inputType: 'audioRecord'
inputType: 'xsd:int'
inputType: 'number'
(this can be ints or floats)inputType: 'date'
@sanuann can you continue this list?
add instructions:
stop once you are done speaking. You may hit play to hear what was recorded.```
to make it easier for schema writers to know what inputtype to use, there should be a list provided by schema-ui and this should be consistent with the validator in reproschema.
after filling year of birth, if you move to a different activity and return the value is not updated to reflect the entered value.
i don't know how easy it would be to do both pause and play from here on out, or pause and play from the beginning. once recorded, could the soundcloud ui be used (if it's available as a widget)?
after signing the consent it does not proceed.
the values for startedat and endedat are not timestamps.
this should allow any non-schema pieces to reflect language switches.
an example vue library: https://kazupon.github.io/vue-i18n/ would be good to do some search on this.
reference: https://www.youtube.com/watch?v=Tm3fD89dqRE
But if you click on "show result" nothing happens, it just goes to the next activity.
Option A) we could run a signal-to-noise ratio test (SNR) on that audio sample to see if the environment is too noisy. Then we can give feedback: "Your environment is too noisy, please go somewhere quieter and try again".
So we'd need to run some code to run the SNR and depending on the score either proceed or give feedback, is that possible?
Option B) A simpler option is what you have now, and it's just playing the audio back to them and instructing "If you think there is too much background noise, please go somewhere quieter".
@satra , what do you think?
console logging should be a debuggable option as either a url parameter or a config variable.
its not showing the passage!
for both of the last two cases the answer dictionary is updated to reflect current state.
So multiple choices can be selected
e.g. remove skip/don't know
Read the new schema from ReproNim/reproschema#55 and render the titles in the sidebar
currently the reproschema-ui (schema.repronim.org/ui/
) does not load the demo voice protocol from schema.repronim.org/rl
also it should have a demo banner on any screen.
I was going through the checklist for the PET guidelines and the time range widget seems to have some hard coded aspects that won't be usable for the needs for that use case.
I suspect though this might require some changes on the schema side to allow more flexibility, no?
<template>
<div class="TimeRangeInput container ml-3 pl-3">
<b-row class="mt-2 mb-2">
<b-col class="mt-2 mb-2">
went to bed:
{{yesterday}}
<vue-timepicker v-model="slept" format="hh:mm A"></vue-timepicker>
</b-col>
<b-col class="mt-2 mb-2">
woke up:
{{today}}
<vue-timepicker v-model="woke" format="hh:mm A"></vue-timepicker>
</b-col>
</b-row>
<div class="mt-2 mb-2" v-if="timeSlept != null">
<div class="mt-2 mb-2" v-if="timeSlept < 0">
<b-alert show variant="danger">You can't sleep negative hours!</b-alert>
</div>
<b-button v-else @click="sendData">Submit {{timeSlept}} hours</b-button>
</div>
</div>
</template>
This might be cryptic way to describe this but for MRI and PET we are getting a lot items that require answer in terms of
X= ; Y= ; Z=
Very often for voxel dimension, image resolution...
It does not seem like a good idea to have 3 separate "float" items for this.
Did I miss it or is this something covered by the schema at the moment on the UI part in terms of possible inputType?
should behave as follows:
particpant_id
, the widget is initialized with the participant_id
visibility of widget:
if url is called with participant_id
=> do not show the widget
else => read only.
allow
list to allow this widget to be readonly.
zip each blob in responses so that less data is sent
Hello,
quick question from total noob: is it possible to serve this schema-ui repo using github pages?
trying to build a standalone proof of concept website so I figured this would the first easy solution.
Thanks
Remi
add a new folder here: https://github.com/ReproNim/schema-ui/tree/master/src/components/Inputs (called "date")
https://github.com/ReproNim/schema-ui/blob/master/src/components/InputSelector/InputSelector.vue#L43
maybe try this UI:
https://www.npmjs.com/package/vuejs-datepicker
i think the latest updates to results should resolve this issue.
We are making a dangerous assumption here: https://github.com/ReproNim/schema-ui/blob/master/src/components/Survey/Survey.vue#L217
That the context prefix we are using maps directly to the name of the jsonld file. We need this because the prefix is how we are defining the scoring and branching logic. @satra when we do jsonld.expand
on an activity, we lose the prefixes that we defined in @context
-- do you know of a way to recover them?
all parts of name (first, middle, last) in NDA items to be in a single widget
when a user re-records on safari, the audio record does not collect new data.
on mobile devices, it is rather unintuitive right now how to get started with responding. the flow should immediately lead people to go through each question and respond, including moving automatically from one section to the next.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.