-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add command entry autocomplete #299
Comments
@SaurabhJamadagni, would be great to get your feedback on this! I think it could really improve the user experience as it would also mitigate how much people would enter in something wrong 🤔 Would be very grateful to hear if you think this is the best way to do this though 😊 |
Suggestions for how best to implement this would also be welcome :D |
Hello, @andrewtavis I'd like to take this issue, so could you please assign it to me. It will be my first issue on this project. |
Hello @MykytaBabanin! 👋 Great to have your interest in Scribe! Happy to assign you :) As of now Scribe actually doesn’t have an English keyboard, but we’ll be adding one in #7 once #16 is done. This feature would be available in all current keyboards though. Generally my thinking is that each time the user types in a command there is a new query of the corresponding SQLite database that returns the next word alphabetically ( Happy to answer more questions about where to look for things! This should be a fun issue and you’ll learn a lot about how the app works 😊 |
Hey @andrewtavis, this sounds like a reasonable solution. My only concern with this is unintentional keyboard clicks when trying to tap the command bar. I think this would be a good solution. What about long pressing the spacebar? Could that be an option if we can't have just clicking the spacebar? The icon idea is great as well. 😄 |
Maybe let's go with just clicking the icon and not the command bar itself? We can also reuse some of the mechanics from |
@MykytaBabanin, checking in with you to see if there’s anything we can do to support you here. This is definitely a tough issue, so let us know if you need parts of the codebase explained or if we should break it down into smaller steps :) |
Yes @andrewtavis, I would be willing to assist @MykytaBabanin as well! Please let me know if there is any assistance I can provide :) |
Terms
Description
Now that the data solution has been improved in #96, Scribe has dramatically more memory available to do some things that would have been difficult before. One great feature would be to add autocomplete to the command bar such that a user would be able to press to complete the rest of a word that's alphabetically the next word in the index column of the table being queried. Things to consider are:
sich bewerben
) or small phrasesWith this in mind, to me the most obvious place for the user to click would be on the command bar itself. We could also show a similarly greyed out icon on the right side of the command bar to indicate that the bar can be clicked to enter the autocomplete text. The icon would only appear when a user begins typing in the command bar, and would disappear if they delete back to the prompt. A good option for an icon would be
hand.tap
from SF Symbols, which can be seen in the mockup below (note that the command bar cursor|
would be between the entered and suggested text):Contribution
Happy to work on this myself or collaborate with someone on this :) I think this would be another really great feature to add!
The text was updated successfully, but these errors were encountered: