Skip to content

v8.0.0 (August 31, 2015)

Choose a tag to compare

@remomueller remomueller released this 31 Aug 13:25
· 1744 commits to main since this release

Enhancements

  • Survey Changes
    • Longitudinal surveys can be launched and assigned to users, ex:
      • s = Survey.find_by_slug 'about-me'
      • s.launch_single(user, '6month')
    • Followup surveys are launched automatically based on encounter conditions
      • Email are sent to alert users of new available surveys
    • Pediatric survey functionality has been added
      • Caregivers of children can fill out surveys about their children
      • Baseline surveys are immediately assigned when a child in the proper age range is added by a caregiver of a child
      • Data export excludes pediatric surveys
    • Reports are now additionally scoped by encounter (ex: baseline, followup)
    • Reports that do not have custom reports now redirect to the detailed report view
    • Minor UI updates to completion display
  • Online Survey Builder
    • Started work on an online survey builder for researchers and team members
    • The online survey builder will let survey builders specify the following:
      • The target audience (ex: diagnosed, at risk)
      • The age range for pediatric surveys (ex: 2..8, 4..10)
      • The number of encounters and spacing between surveys (ex: baseline, 6 month followup)
    • Questions can be added to surveys in online builder
      • Question text and slug can be modified
      • Answer Templates can be added to questions
      • Answer Options can be added to answer templates
      • Question display_type and AnswerTemplate data_type and allow_multiple are no longer used to determine how to display questions on surveys
      • AnswerTemplates now allow a template_name to be specified of the following types:
        • "date", "radio", "checkbox", "string", "height", "number"
      • Conditional AnswerTemplates now require a valid parent AnswerTemplate as well as a valid value
    • Encounters can be added to surveys in online builder
      • An encounter specifies when the survey is launched, in days after sign up
  • Onboarding Changes
    • Reduced consent and privacy into one step in the process
    • Removed progress indicators (due to shorter process) and switched to simple layout (without sidebar)
  • General Changes
    • Minor updates to layout of forums, specifically in the headers
    • Minor updates to layout of highlights to keep consistency with other internal links
    • Account settings layout updated with improved, less intrusive navigation
    • Terms and conditions forums displayed in scroll container
  • Admin Changes
    • Administrators can now unlock surveys for users from the user show page
    • Updated the Version Stats report to be monthly, and renamed to it to the Timeline Report
    • Owners receive survey followup digest emails when new surveys are assigned to users
    • All admin pages now use fullscreen layout
  • Gem Changes
    • Updated to Ruby 2.2.3
    • Only run web-console in development mode

API Development

  • API
    • Users
      • Added capability to create new users and login existing users via JSON request
        • Cookies are passed back to allow use of devise user authentication
        • Home added to test for current session
      • Photo URL passed for created posts and research topics, if available
      • Allows capturing of information during onboarding process
        • Includes consent, user_type, and basic demographic information
    • Research Topics
      • Added capability to create new research topics as user
      • Added capability to cast vote as user
      • Index page lists all posts
    • Votes
      • Added votes, scopable by relevant fields and ratings
    • Forums
      • Added capability to get viewable topic index, ordered by activity, and topic show data
      • Added capability to create new forum topics
      • Added capability to create new posts
    • Surveys
      • Added getter for user's answer sessions
      • Added survey show page to allow dynamic building on app side
      • Survey submission will automatically lock surveys if complete

Bug Fix

  • Fixed and simplified date input parsing to better handle consistency issues across browsers and devices
  • Surveys are now correctly reassigned when a user changes their user type
    • Unstarted surveys that are no longer applicable are discarded, and started surveys are kept
  • Fixed a bug that could cause users to have above 100% completion on surveys
  • Fixed a bug where new users weren't always marked as ready for research due to consent update dates
  • Flash notices are now being rendered on every page, to ensure they appear at the proper time
  • Fixed an issue displaying pie charts for My Quality of Life survey report

Refactoring

  • Simplified processing single answers for surveys
  • Reduced JavaScript footprint by removing unused JavaScript files
  • Overwriting views are no longer stored in myapnea subfolder
  • Restructured tests for surveys and improved overall test speed
  • Refactored Survey class in favor of an AnswerSession-centric model
  • Removed unused methods from the User model
  • Removed unused views and partials
  • Health Conditions report no longer relies on extra server JSON request
  • Removed old registration views and methods
  • Removed unused attributes from AnswerSession model
  • Removed unused attributes from Survey model