Code Monkey home page Code Monkey logo

mtb's Introduction

mtb

Mobile Tool Box!

mtb's People

Contributors

conundrumgirl avatar dependabot[bot] avatar hallieswan avatar jay-hodgson avatar leonli33 avatar xschildw avatar yjyoo773 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mtb's Issues

Use assessments rather then 'shared assessments' for display in session builder

/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.

Login/logout buttons

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.

Send SMS link functionality

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

  • select all: need a service function that would select external id, phone if they have it for all active/withdrawn/test participants
  • external id in a modal display. Apply formatting that strips the study id and only show the second part as we do in other places
  • limit the height and scroll if the list is too long
  • only show the SMS for phone enrolled

Utilities Refactor

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

Investigate the 'resources' calls when navigating to the participant manager

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

Bug adding user in access settings

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

Study without schedule -- styling

When study is just created and there is no schedule there is an intro screen that needs some CSS attention.
Clicking on 'NoSchedule Study' will take you to the right page

image
need to look like this:
image

App Design updates

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.

Participant Manager - fix search

When searching PM

  • make sure that the same data is displayed when searched as when the user is in the grid (dates, notes, don't get lost)
  • make sure that search reset sets the correct tab and pulls the correct data

Finish preview study page

There are a few updates that need to be done to study preview page
- phone graphics

  • links to the app store
  • link to terms of use
  • actual terms of us
    - assessment cards from the study

Search state when changing the tabs

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

Access settings -- collaborator view

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)

image

Scheduling update

update the top 'steps' bar to only have 2 steps instead of 3.
Update the navigation buttons to ignore the 'burst' step

image

Define Session Start screen:
have the formatting reflect the design. Don't allow duplicate event identifiers

Enrollment 'select all' functionality

  • break up selection from download
  • create select all on page/ vs select all reacords button
  • implement selection with persisting the selection on the subsequent pages

Access Settings - add user update

image
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 .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.