Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dictionary based history to autocomplete #325

Open
2 tasks done
SaurabhJamadagni opened this issue Jun 7, 2023 · 2 comments
Open
2 tasks done

Dictionary based history to autocomplete #325

SaurabhJamadagni opened this issue Jun 7, 2023 · 2 comments
Labels
feature New feature or request help wanted Extra attention is needed

Comments

@SaurabhJamadagni
Copy link
Collaborator

SaurabhJamadagni commented Jun 7, 2023

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 SaurabhJamadagni added the feature New feature or request label Jun 7, 2023
@SaurabhJamadagni
Copy link
Collaborator Author

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 😊

@andrewtavis andrewtavis added good first issue Good for newcomers help wanted Extra attention is needed and removed good first issue Good for newcomers labels Jun 7, 2023
@andrewtavis
Copy link
Member

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! 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants