bozimmerman / CoffeeMud

Full featured, mature MUD supporting MSP, MXP, OLC, with a web server, mail server, and MORE!
Apache License 2.0
190 stars 99 forks source link

MUDGrinder UI list improvements #55

Closed count-infinity closed 3 months ago

count-infinity commented 4 months ago

In MUDgrinder - Ability, Behavior, Expertise etc...lists get quite lengthy. A simple SELECT drop-down is difficult to use. Particularly when it's not clear where a particular skill belongs. RapidShot for example, is a Fighter_RapidShot and not Thief_RapidShot although a thief quals for it.

This PR implements an autocomplete box instead of a long select dropdown for those long lists.

This change uses the HTML5 tag and some core javascript. Modern desktop browsers and majority mobile browsers will support as per: datalist tag Array.includes

Example looking for 'Steal' ability: image

TODO: Still need go through every .csvmp