Closed robintw closed 3 years ago
Hmm, maybe we should let things mature a little then come back to this.
Note from some research: these links may be useful when coming back to this:
Closing this. The users don't currently make much use of the highlighting report, though they may do as increased volumes of narrative/text data are handled. Re-open if necessary.
At the moment the highlighter chooses random colours to highlight the different fields in the output HTML file.
There are two problems with this:
Sometimes the random colours aren't that different from each other - so it's hard to tell which field is which
The randomness is different each time, so the first time an analyst highlights a file the heading might come out as red, and the second time it might be blue. This could be confusing.
We could fix the second problem simply by setting the random seed at the beginning of the highlighting, so it always comes out with the same colours in the same order. To fix the first problem we'd need to alter the colour selection code to one that tries specifically to find colours a long way from each other (I'm sure there are examples online - I've come across them before)