Commit Graph

25 Commits

Author SHA1 Message Date
Nolan Lawson 07fb5e867c
isolate autosuggestion state (#273)
fixes #261
2018-05-06 16:25:17 -07:00
Nolan Lawson f9792ae3d8
remove deprecated .observe() from components (#246) 2018-04-30 08:29:04 -07:00
Nolan Lawson 581a0fcd00
fix multiple compose autosuggest dropdowns (#188)
* fix multiple compose autosuggest dropdowns

Fixes #170

* fix failing test

* remove console.log
2018-04-20 06:26:36 -07:00
Nolan Lawson bfc3c46462
use standard to lint HTML too (#186) 2018-04-19 21:38:01 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson bdf658f54c fixup minor style nitpicks
[skip ci]
2018-04-11 20:01:45 -07:00
codl 8e08d08712 send status on ctrl+enter (#81)
* send status on ctrl+enter (#24)

* don't check for floating post button when pressing ctrl+enter

oops, I was too eager. it doesn't matter too much, except that if the
main compose form is off-screen but still focused, ctrl+enter would open
the compose modal instead of posting
2018-04-11 20:01:17 -07:00
Nolan Lawson 7ae3212c55
Fix alts for image uploads (#54)
* Fix alts for image uploads

Fixes #41

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
Nolan Lawson bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson b17b554965 fix auto-focus for dialog compose 2018-04-04 19:49:05 -07:00
Nolan Lawson ec80a3847b clicking Esc clears autosuggestions 2018-03-30 17:34:10 -07:00
Nolan Lawson 7ce9a39119 add emoji autosuggest 2018-03-25 12:24:38 -07:00
Nolan Lawson 6fc21e40bf add username autocomplete feature 2018-03-24 18:04:54 -07:00
Nolan Lawson 1786d737bb correctly resize text input after posting 2018-03-19 20:58:53 -07:00
Nolan Lawson ed0db17ca0 add auto-focus to reply input text 2018-03-16 19:04:48 -07:00
Nolan Lawson 695ac7eae3 add mark/measure 2018-03-03 14:58:45 -08:00
Nolan Lawson 3dc46791e9 refactor 2018-03-03 14:51:48 -08:00
Nolan Lawson 66801fbc96 refactor 2018-03-03 14:15:50 -08:00
Nolan Lawson d4e770c28d add media URLs when media is inserted 2018-03-03 11:26:10 -08:00
Nolan Lawson e79003d8d7 separate uploaded media by instance/realm 2018-03-03 10:11:32 -08:00
Nolan Lawson 2614e451b2 add test for compose, and emoji 2018-02-28 18:45:29 -08:00
Nolan Lawson 18dab36e52 add custom emoji modal 2018-02-27 23:18:07 -08:00
Nolan Lawson 4ef576b7f1 refactor 2018-02-27 21:01:01 -08:00
Nolan Lawson 333ac62b61 further refactor ComposeBox 2018-02-26 22:22:56 -08:00