rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

Visit-form-tidy #298

Closed eatyourpeas closed 1 month ago

eatyourpeas commented 1 month ago

This fixes a bunch of UI issues in the visit form and the patient list

The patient list now highlights errors in the list relating to the patient in the affected field, and only signposts the visits with errors. The redness in the patient field which was overbearing is now constrained to the affected field.

In the visit form, the colours have been replaced as borders to the categories with small labels in each corner. There is a more subtle red outline for those categories with errors. The error labelling has the html escaped now and rendered on separate lines

There were issues with daisyui not importing the colours so there are changes to the config and dockerfile to make sure these are included

Maybe not quite there yet, but a step closer

mbarton commented 1 month ago

Seen on STAGING (merged by @eatyourpeas 5 minutes and 23 seconds ago) Please check your changes!