john-science / DecafMUD

Web-based MUD Client for the Discworld MUD
MIT License
2 stars 2 forks source link

Color Highlighting #5

Closed john-science closed 5 years ago

john-science commented 5 years ago

Pommes stated that she likes to be able to define (possibly just for a single session) a list of keywords that will be highlighted.

I see various versions of this feature, with increasing back-end complexity:

  1. Single-session box that you paste a list of strings into
  2. Manually set colors for your strings
  3. Use cookies (or something) to store these strings for next session
  4. Add a click-here box to turn on/off your highlighted strings
john-science commented 5 years ago

The cookies and UX are the thing here. The actual feature seems pretty doable.

https://jsfiddle.net/mrL3hnd0/5/