Commit Graph

20 Commits

Author SHA1 Message Date
Alex Gleason
e06f8ce894 Composer: Remove preselectDate
This value is only used to track when a reply happens. On soapbox-fe, a reply causes a new ComposeForm to mount, so we can track it that way instead.
2020-05-26 17:36:56 -05:00
Alex Gleason
188067ac48 Composer: Always place cursor at the end of text 2020-05-26 17:22:32 -05:00
Alex Gleason
5633bf4317 Composer: simplify cursor update code 2020-05-26 17:03:27 -05:00
Alex Gleason
55578a4381 Composer: shouldCollapse --> isClickOutside 2020-05-26 15:26:55 -05:00
Alex Gleason
808e05a03f Pass maxTootChars from ComposeFormContainer instead of ComposeForm 2020-05-26 15:24:03 -05:00
Alex Gleason
d9e6efbe79 Revert "Merge branch 'compose_caret_to_end' into 'master'"
This reverts commit 886e877996, reversing
changes made to b6a7404031.
2020-05-26 15:21:40 -05:00
crockwave
f1747f4425 Allow cursor to render at end of textbox to only place at end on new load, and bug fixes of cursor placement problems when selecting text and or moving cursor to left and typing 2020-05-08 17:14:07 -05:00
crockwave
a9af3a8928 Allow cursor to be rendered at end of textbox by commenting out date comparison conditional 2020-05-06 18:58:21 -05:00
Alex Gleason
84c769c5f6 Add modal root to compose form clickable area 2020-04-20 18:52:12 -05:00
Alex Gleason
0ec8e39051 Fix inline compose form clickable area, fixes #30 2020-04-20 16:53:22 -05:00
Alex Gleason
e47c6396f2 Fix compose box closing when removing poll options 2020-04-15 15:32:05 -05:00
Alex Gleason
21789858c0 Expand compose form clickable area 2020-04-15 15:24:47 -05:00
Alex Gleason
a82212cdca Use poll limits from /api/v1/instance 2020-04-15 13:20:25 -05:00
Alex Gleason
8a19b89c16 Enforce spacing of function parameters in eslint 2020-04-14 16:47:35 -05:00
Alex Gleason
141b0e6bfa Fix most linter errors 2020-04-14 15:45:38 -05:00
Alex Gleason
fc72e39ff4 eslint --fix 2020-04-14 13:44:40 -05:00
Alex Gleason
88b807e9d2 Default 500 max_toot_chars 2020-04-01 17:29:11 -05:00
Alex Gleason
606d240703 Load max_toot_chars from Instance 2020-04-01 15:15:55 -05:00
Alex Gleason
1107aa027d Fix max_toot_chars 2020-03-30 16:47:22 -05:00
Alex Gleason
b1b5dc62db Initial commit 2020-03-27 15:59:38 -05:00