Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Smarter Autofill #172

Closed
ghost opened this issue Sep 22, 2014 · 10 comments
Closed

Smarter Autofill #172

ghost opened this issue Sep 22, 2014 · 10 comments

Comments

@ghost
Copy link

ghost commented Sep 22, 2014

This might take a while to implement.

Lets say there are 5 users chatting:

  • Bob1
  • Bob2
  • Bob3
  • Bob4
  • nahtnam

and Bob3 asks me a question. When I type bo it autofills Bob1, even though I want to reply to Bob3.

I think webchat orders like this:

  1. If a user mentions you, he is at the top
  2. Then order users by last active.

Im not sure if any of this makes sense to you, but its basically "smart tabbing".

Let me know if its unclear and ill try explaining a different way.

@erming
Copy link
Owner

erming commented Sep 22, 2014

I understand what you're asking and it sounds like a good idea.

It would requires some tweaking on how the list of tabcompleted words are stored (basically, it's just an array anyway). I'll ping this thread when I implement this eventually.

@ghost
Copy link
Author

ghost commented Sep 23, 2014

Thanks! :)

@sc0tt
Copy link

sc0tt commented Sep 25, 2014

could a space also be added when the name is auto filled as the first word? or even a colon and a space ": "? Either of those would be great.

@ghost
Copy link
Author

ghost commented Sep 25, 2014

+1 for the space or colon (or both)

@furier
Copy link

furier commented Sep 27, 2014

👍

@mattl
Copy link

mattl commented Sep 27, 2014

So, I came here to file a bug cause this wasn't working at all for me on latest Firefox Android build, and I thought maybe I'd ask for it to be added.

I'd like to be able to type 'cj' in a channel and see a list of users that start with 'cj' and tap one of them and have it prefill their name plus a colon and a space in the text box and then give focus back to the text field.

@ghost
Copy link
Author

ghost commented Sep 27, 2014

@mattl You can pretty much do this already by typing cj and hitting tab until you find the person you are looking for.

@mattl
Copy link

mattl commented Sep 27, 2014

I don't think there's an easy/obvious tab key on the standard Android keyboard. My use-case is mobile.

@ghost
Copy link
Author

ghost commented Sep 27, 2014

@mattl Ohhh. Sorry. Misread your post.

@erming
Copy link
Owner

erming commented Oct 8, 2014

Fixed here: a76df88

When someone sends a message in a channel, they're moved to the top of the tab completion queue.

I'll release this together with a new version later tonight (0.43.0).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants