2016-02-03 03:12:29
2016-02-01 18:55:40
2016-02-01 18:54:26
5353
@Friendica Developers@Friendica Support
Two weeks ago I started porting hubzillas autocompletion to friendica. First it was just for fun because I was very interested in hubzillas navbar contact search autocompletion function.
But I invested more and more time to get it polished for a possible use in friendica. If you want to see some pics, look at the bottom of this post.
To look at the code have a look at: https://github.com/rabuzarus/friendica/tree/1901_autocomplete
What I have so far
Some regressions:
I don't know if you want to see the code inside friendica. That's why I've done no PR.
So here come the pics
NavSearch Contact Autocompletion
Normal Contact Selection
Jot Contact Completion
Jot Smilie Completion
Jot BBTag Completion
Two weeks ago I started porting hubzillas autocompletion to friendica. First it was just for fun because I was very interested in hubzillas navbar contact search autocompletion function.
But I invested more and more time to get it polished for a possible use in friendica. If you want to see some pics, look at the bottom of this post.
To look at the code have a look at: https://github.com/rabuzarus/friendica/tree/1901_autocomplete
What I have so far
- Contact search autocompletion works with vier NavBar search with global contact table or with remote global directory (I enabled it only for vier because vier is the only theme which does have a nav search field)
- contact completion in /messages , /poke and /contacts
- jot contact completion
- autocompletion for smilies starting with :text (like )
- I added a bbtag autocompletion for faster writing
Some regressions:
- I don't know how to implement it for mce editor (that's why I left some parts of the old code inside. So tinymce uses the old autocompletion (maybe @Fabio can help out)
- while local global contact search works really, really good, searching with the remote global dir is not that exact (This is due the fact, that you get very many results because you at the present state you can't tell the remote global dir to search only for name/nick)
- I don't know how to enable overlay scrollbars for the nav search results
I don't know if you want to see the code inside friendica. That's why I've done no PR.
So here come the pics
NavSearch Contact Autocompletion
Normal Contact Selection
Jot Contact Completion
Jot Smilie Completion
Jot BBTag Completion
Rabuzarus
No forum search isn't implemented at the moment. I have to find the smartest way before implementing it.
Yes I have. https://github.com/rabuzarus/friendica/blob/1901_autocomplete/js/autocomplete.js#L118
I thought long about what you mean with regular navbars. Ahh you mean scrollbars. Right?
Mhh, I can it only say for android devices. On Android the internal browser scrollbars look the same way like the javascript overlay scroll bars. So on android you wouldn't experience any difference between native or overlay scrollbars.
But for desktop users it's a point of consistent user experience
Rabuzarus