scribe-org/Scribe-iOS

Add command entry autocomplete

Open

#299 opened on 2023年4月29日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)Swift (106 forks)auto 404
-priority-help wanted

Repository metrics

Stars
 (167 stars)
PR merge metrics
 (PR metrics pending)

説明

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:

  • We need to have the remaining text be greyed out to indicate that the autocomplete is possible
  • We cannot use the spacebar for this as there could be reflexive verbs in the future (to apply in German is sich bewerben) or small phrases
  • We need to figure out some kind of indicator to show that user that autocomplete is possible

With 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):

Screenshot_2023-04-30 00 15 40

Contribution

Happy to work on this myself or collaborate with someone on this :) I think this would be another really great feature to add!

コントリビューターガイド