mtb
Mobile Tool Box!
Mobile Tool Box
Mobile Tool Box!
/v1/sharedassessments/{guid}/import - Import an assessment revision into the local app context.
When an assessment being added to the session we need to use endpoint above to first import it into local assessments, prior to adding it to the session
https://developer.sagebridge.org/swagger-ui/index.html#/ has the description, usage and payload
Then the study session should reference the assessment that is not shared.
I think that clicking the login button should take you straight to synapse login. Basically it needs to recreate behavior of the login button on the page. See if this can be accomplished without duplicating the code.
We should also consider removing the topnav login button from the login screen
When you click to log out you should be redirected to the login screen.
In Participant Manager -- please add the send SMS link functionality. It is very similar to deleting users. The endpoint is not complete yet. There are a few additional changes that need to be made to the delete and sms modals
Please refactor utility.ts to export the Utility object w/ functions as properties instead of exporting each function similarly to how we do it in services. e.g.
const UserService = {
getOathEnvironment,
requestResetPassword,
loginWithPassword,
loginOauth,
getUserInfo,
}
export default UserService
The code that uses those functions needs to be updated as well
Add the appropriate icons and format left nav for session builder
All the IRB fields have been added to the API
UI needs to be wired up to incorporate them
Interaction between 'end after' and 'run every' fields
When you click on the live study to go to the participant manager (it happens on other scenarios as well) you can see that it makes the 'resources' call to get the assessments for the schedule. Why we do have the schedule information we do not need to get the assessment or the resources. Let's thing of a way to optimize those calls
when adding a new account roles do not get assigned correctly. This bug does not exist when updating the roles for the existing user
For testing purposes you can delete and add [email protected]
roles to access mapping is:
study_designer: study builder (developer who can configure)
study_coordinator: participant manager, adherence
org_admin: edit/add users
co-admin does not correspond to the specific role. Rather it has all of the 3 above roles
We need to be able to parse the scheduling errors from the server and present them in a user friendly fashion.
Here is the beginning of the work for parsing them: https://github.com/conundrumgirl/mtb/blob/f588910ae46c7e6dc602821a76ffa0faffeb433c/src/components/studies/StudyBuilder.tsx#L216
We should show the errors on the level applicable to it. e.g. if it relates to the time window - highlight the window. If it applies to the session -- outline the session
you should be able to hit 'enter' and start searching.
Incorporate updates to the study API
https://developer.sagebridge.org/articles/v2/studies.html
The IRB info and contacts info is there.
official study name = study name, body copy = details
All of the welcome screen data should still be stored in clientData.
logo is stored in studyLogoUrl -- that's not completely ready. There is a JIRA out to adjust the Bridge hosted file APIs so you can upload a file, then store the URL in that field.
Reconcile study phases with design 'study status'
Study Lifecycle-> https://developer.sagebridge.org/articles/v2/studies.html#study-lifecycle
When searching PM
There are a few updates that need to be done to study preview page
- phone graphics
incorporate "scheduleGuid" and status/phase
When you search for a participant and change the tab you end up in the state where you do have something in the searchbox but the tab results don't reflect it.
We need to do one of two things:
Either when we change the tab we should clear out the search OR when we change the tab we should perform the search with the value entered
remove 'view/edit' toggle and rework the actions in the tabs
When the logged in user is not an org admin they have ability to view other users but not edit them. Please implement this view.
There is already isInAdminRole function that checks if the current user is an admin.
The back end support for this is missing the functionality to allow the 'read' access to non-admin. So I would recomment for your local testing to still log in as your admin user (the one you are using normally) and then have isInAdminRole to return false (hardCode it and remove it before PR)
https://www.figma.com/file/uVo8dbwLGliiC62Jok8l0N/Mobile-Toolbox_Infrastructure?node-id=6035%3A16717
Please see Lynn for more detail but the idea, as I understand it when you hover over the session icon on the timeline legend it should show you the assessment list that is in that sessions.
I think material-ui popover component can be used for that
User /v1/sharedassessments/{guid}/import - Import an assessment revision into the local app context.
When an assessment being added to the session we need to use endpoint above to import it into local assessments.
https://developer.sagebridge.org/swagger-ui/index.html#/
You can find the design in figma under 'participant manager'
This is the endpoint:
https://developer.sagebridge.org/swagger-ui/index.html#/Study%20Participants/getStudyParticipants
You need to support paging with variable page size. Also the data will come from the part component so you will need to wire up the events (page navigation, search, page size change, sorting?, etc)
Change to dropdown from what we have now
When you add a user (researcher) in the access settings the role selections need to be updated to reflect the design (I tagged you)
When 'MAKE CO-ADMINISTRATOR' toggle is not checked -- replace the 'access settings' radio with text. When the toggle is checked - set it to selected. Don't worry about the other toggles .
Please make 'body copy' required
When importing csv add validation that the userId/externalId/referenceId is 6 digits
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.