codeforamerica / rva-screening

Health service prescreener for sharing patient eligibility data.
http://quickscreenrva.com
BSD 3-Clause "New" or "Revised" License
11 stars 8 forks source link

user testing bugs, October visit #249

Open mapsam opened 8 years ago

mapsam commented 8 years ago

Day 1

Testing with Shikita on dropdowns-not-dropfrowns branch.

Access Now

Care-a-van

mapsam commented 8 years ago

Created constants for "Years at current employer", as feedback from Kim at Mosby. Two questions:

  1. This results in a data type change in the models, from Integer to String - should I update that and migrate @esmithayer?
  2. What should the choices be? Kim mentioned making it simple, like "less than a year", "between 1 and 2 years" and "more than two years" ... here's what we have currently
TIME_AT_CURRENT_EMPLOYER = [
    ("",         ""),
    ("OWN",      _("Less than 1 year")),
    ("RELATIVE", _("1 to 2 years")),
    ("HOMELESS", _("More than 2 years"))
]
mapsam commented 8 years ago

Updated dropdown constants (still require "OTHER" option added in models.py)

PHONE_DESCRIPTIONS = [
    ("",         ""),
    ("CELL",     _("Cell phone")),
    ("HOME",     _("Home phone / landline")),
    ("WORK",     _("Work number")),
    ("RELATIVE", _("Relative's phone number")),
    ("OTH",      _("Other"))
]

ADDRESS_DESCRIPTIONS = [
    ("",         ""),
    ("OWN",      _("Personal address / own or rent")),
    ("RELATIVE", _("Relative's address")),
    ("HOMELESS", _("Homeless shelter address")),
    ("OTH",      _("Other"))
]

Let's add FRIEND house and rename HOMELESS to SHELTER

mapsam commented 8 years ago

Many-to-one forms can now have conditionally displayed fields by adding a new manyToOne parameter to the patient_details.html file:

{ target: "phone_numbers-X-number_description", child: "phone_numbers-X-number_description_other",
    type: "equals", comparator: "OTH", manyToOne: true},

The field requires an X to be replaced by a count number for selecting each of the elements.

mapsam commented 8 years ago

This phrasing should change since VCC is not technically insurance

screen shot 2015-10-06 at 11 27 36 am
mapsam commented 8 years ago

Show that changes need to be saved, make save button more visually apparent!

rva-screener-updatesavebutton

mapsam commented 8 years ago

Many bug fixes coming in #257 and #251!

:dancer: :dancer: :dancers: :dancer: :dancer: :clap:

mapsam commented 8 years ago

Working on fuzzy search integration with Fuse.js - we have access to parameters used in the search algorithm that allows us to control the "fuzziness" of it.

Right now you can have the search results return the index location of the matched search, which means we might be able to build a "bolded search match" into the results. Will post here if I get to that point.

mapsam commented 8 years ago

Looks like highlighting isn't a feature yet, but maybe we can build our own implementation?

https://github.com/krisk/Fuse/issues/6

jeancroy commented 8 years ago

May I interest you in FuzzySearch ? It has highlighting, as well as multiple word support (like out of order word or different word match different fields)

Syntax is similar and a demo is available here

mapsam commented 8 years ago

Nice, will take a look @jeancroy