FredHutch/RedcapModule_StealthQueue

Name: RedcapModule_StealthQueue

Owner: Fred Hutchinson Cancer Research Center

Description: This module sends REDCap's survey queue under cover. When employed, survey queue will function normally but will work silently and invisibly. And the REDCap user will not know it is there.

Created: 2017-11-20 22:17:34.0

Updated: 2017-11-21 00:08:50.0

Pushed: 2017-11-30 00:00:54.0

Homepage: null

Size: 103

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits
Paul Litwin2017-11-30 00:00:54.019

Other Committers

UserEmailMost Recent Commit# Commits

README

RedcapModule_StealthQueue

This REDCap module sends REDCap's survey queue under cover. When employed, survey queue will function normally but will work silently and invisibly. And the REDCap user will not know it is there.

Author

Paul Litwin, Fred Hutchinson Cancer Research Center

Notes
  1. You must enable auto-start on all surveys in order for this module to work correctly.
  2. Do not enable this module where you wish for users to be aware of survey queue or where you need for them to start surveys at their option.
How it Works

Stealth Queue works by injecting some JavaScript into a couple of pages that hides:

  1. the survey queue heading (normally displayed in the top right corner of each page of a survey in the queue) via the redcap_survey_page hook, and
  2. the surey queue table (normally displayed at the bottom of the survey queue completion page) via the redcap_survey_complete hook.
Before Stealth Queue

Notice the survey queue widget that appears at the top right of each survey page:

top right of each survey page before Stealth Queue

And the survey queue table appears when the surveys are done:

end of survey queue before Stealth Queue

After Stealth Queue

No more little survey queue widget at the top of each survey page:

top right of each survey page after Stealth Queue

And no more table at the end of the queue:

end of survey queue after Stealth Queue

Version History

v1.0 – initial version. 2017 Nov 20.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.