Scribe-iOS icon indicating copy to clipboard operation
Scribe-iOS copied to clipboard

Dictionary based history to autocomplete

Open SaurabhJamadagni opened this issue 2 years ago • 14 comments

Terms

Description

Current implementation

Currently when a user chooses an autocompletion, the word in appended to the text proxy on pressing spacebar. In case the user doesn't want the autocompletion, the word they had typed appears as the first suggestion in the autosuggest array. As the user starts typing the next word and uses autocomplete again, the autosuggest will show the partial word the user typed for that particular word.

Behaviour proposed by this issue

Store the history of words as a key-value pair so that the user can revert any word back to what they had typed at any point. This can be cleared when the text proxy is cleared or user submits the corresponding text. It is open to discussion as to what extent the history should be maintained, i.e. last k-words.

Contribution

I would be happy to assist someone on this issue or do it myself post GSoC :)

SaurabhJamadagni avatar Jun 07 '23 08:06 SaurabhJamadagni

Hey @andrewtavis, could this be considered a good first issue? I'll assign the label accordingly. Also, should new issues created be added to the Scribe project board? Let me know if you'll add it or if I should 😊

SaurabhJamadagni avatar Jun 07 '23 08:06 SaurabhJamadagni

I'd say it's a bit tough for a good first issue, @SaurabhJamadagni :) And it should be added to the board, yes 😊

Getting to the PRs soon! 🙃

andrewtavis avatar Jun 07 '23 23:06 andrewtavis