wgu-opensource / osmt

OSMT is the Open Skills Management Tool
https://osmt.io
Other
44 stars 8 forks source link

Add user hint to save new keyword values #388

Open ottonomy opened 1 year ago

ottonomy commented 1 year ago

Closes #112

I rejected the suggested approach to just change the gray text, because would go against UX patterns. The text is supposed to suggest a possible value that might be entered, rather than provide instruction. But the underlying issue was correct: the user didn't know that they could create a new keyword by hitting Enter.

Now, when relevant, a new button appears in the search result list. When a user selects it (or hits their "Enter" key while the input control is selected, the current search value is set to be saved as a new keyword value. This button appears when:

It does not appear when:

Screenshot_2023-04-27_at_12_01_29_PM

ottonomy commented 1 year ago

@manuel-delvillar thanks! Fixed that in cef764e.

Screenshot 2023-05-03 at 9 43 14 PM