kjolley / BIGSdb

Bacterial Isolate Genome Sequence Database (BIGSdb): A platform for gene-by-gene bacterial population annotation and analysis.
https://pubmlst.org/software/bigsdb/
Other
58 stars 20 forks source link

Add placeholder text on query boxes #1003

Closed kjolley closed 1 month ago

kjolley commented 2 months ago

It should be possible to customise the greyed-out "Enter Value..." indication for each of the forms in order to provide the user with an example of what he is supposed to enter in the search box.

image

This could be particularly useful when searching for certain nomenclature with a nickname such as Sublineage for Klebsiella to indicate to the user that they should search for "SL15" and not just "15".

The value will need to dynamically update depending on the field selected and should be an option on all form elements (particularly provenance and secondary metadata fields).

[Suggested by Martin RETHORET-PASTY, Pasteur]

kjolley commented 1 month ago

Implemented in v1.48.0.