Commit Graph

6 Commits

Author SHA1 Message Date
Nicolas Perriault
2047d6f93f
Update test fixtures. 2017-05-14 21:40:01 +02:00
Vincent Jousse
69f0cfdc54 Closes #44: Autocomplete usernames. (#107)
* Get @mention in model

* Add autocomplete logic

* Get accounts to autocomplete from the server

* Add autocomplete css

* Check if we should show menu on account search

* Add keyboard events

* Update status with completed username

* Trigger autocomplete when getting accounts back

* Highlight choices on hover

* Put focus on textarea after updating it

* Fix clear draft

* Hit the server only on non empty query

* Lazzzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

* Add missing lazy

* Add keyboard subscriptions

* Add images and display name

* Better menu visibility handling

* Add lazy to notifications

* Js formatting.

* Improve styles.

* Add unique keys to costly lists.

* Fix tests.

* Coding style nits.

* Use the encodeUrl helper in ApiUrl.

* Nanonit.

* Improve autocomplete box styling.

* CamelCase draft record

* Move all autocomplete stuff to Draft

* Send status to ports with the reply prefix.

* Clear draft after posting a status.

* Move ports setStatus call to a dedicated Command helper.

* Naming.

* Fix navigation with arrow keys in textarea

* Always autoselect the first item of the menu
2017-05-01 22:10:34 +02:00
Nicolas Perriault
017f07d45d Improve reply prefix computation. (#103) 2017-04-29 11:57:26 +02:00
Nicolas Perriault
3ea6aaade2 Dedupe multiple account references in notifs. (#101) 2017-04-28 19:08:46 +02:00
Nicolas Perriault
f5b41aa155 Modularize the Mastodon package. (#70) 2017-04-27 16:34:27 +02:00
Vincent Jousse
583ee2def2 Connect to the websocket API (#35) 2017-04-25 16:27:15 +02:00