Sometimes I find myself always having to move up/down to choose the appropriate autocomplete option time after time within the same document. This is annoying!
[ ] Ephemerally store the user's Autocomplete selection for the duration of the session
[ ] Change the order next time the same word is looked up again according to the user's habits
TMP:
describe('Enhanced predictive typing ', () => {
it ('should cache the user's action after a final selection is made', () => {
expect(suggestionsArray).toEqual(['one', 'two', 'three']);
user.select(wordsArray[2]);
});
it ('should retrieve the cache and list the higher-weight item first', () => {
expect(suggestionsArray).toEqeual(['three', 'one', 'two']);
}
});
Rationale
Sometimes I find myself always having to move up/down to choose the appropriate autocomplete option time after time within the same document. This is annoying!
TMP: