Bruno Windels
bc09ede09f
WIP
2022-02-03 17:57:35 +01:00
Bruno Windels
e6fee75952
remove enterkeyhint attribute as it prevents entering newlines on android
...
on Android, by default (without the above attribute set to "send"), you
press enter twice to submit a field. The first time, enter, Android
seems to prevent sending logic by setting the key property on the event
to "Unidentified", but does insert a newline. The second consecutive enter,
it will be set to "Enter" and we'll send.
Having enterkeyhint to send will disable all of that. So we're going with
the default behaviour, which, IIRC, was a bit annoying on iOS as well.
2022-01-18 09:42:01 +01:00
RMidhunSuresh
dee22f7120
Implement render flags
2022-01-14 18:17:49 +05:30
RMidhunSuresh
1b9f970d7f
WIP: Render the whole view instead of messageBody
2022-01-14 18:17:49 +05:30
Bruno Windels
2dccd36a6d
Merge pull request #575 from vector-im/bwindels/composer-layout-improvements
...
Composer layout improvements
2021-11-05 19:24:34 +01:00
Bruno Windels
2f15c9a4a7
show either attachment or send button, depending on composer value
2021-11-05 19:05:35 +01:00
Bruno Windels
44e7e25cab
clear height while sending or clearing, also fix #572 in the process
2021-11-05 18:36:59 +01:00
Bruno Windels
fc1b9abe66
don't add line when hitting enter to send
2021-11-05 18:36:38 +01:00
Bruno Windels
8ffd98162c
don't make the composer shrink for now, timeline loses scroll position
2021-11-05 17:48:44 +01:00
Bruno Windels
c671596c6f
only schedule one resize callback per frame
2021-11-05 17:48:08 +01:00
RMidhunSuresh
6863fef7e5
Resize composer with text
...
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
2021-10-29 17:00:02 +05:30
RMidhunSuresh
16bec0a656
Convert input to textarea
...
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
2021-10-29 15:11:12 +05:30
Bruno Windels
71bd797dd4
automatically position popups using a simpler algorithm
2021-09-24 18:28:06 +02:00
Bruno Windels
00aa40ea7b
copy Daniel's conversion of TemplateView to TypeScript from microui
...
with some minor type adjustments
2021-09-16 15:46:02 +02:00
Bruno Windels
ad4ec5f04c
convert TimelineView to typescript
2021-09-06 17:51:32 +02:00
Bruno Windels
c6b020a9e7
Rename TimelineList to TimelineView for consistency
2021-09-06 13:31:43 +02:00
Bruno Windels
e105bc4237
fix lint warnings
2021-08-24 15:31:18 +02:00
Bruno Windels
2c8e259339
focus composer when replying
2021-08-06 23:43:10 +02:00
Bruno Windels
9f0c3b9cea
await sending a message before clearing composer (this was missing all along)
2021-08-06 23:06:58 +02:00
Danila Fedorin
f0b6384ad7
Rename 'disabled' to 'interactive' in BaseMessageView
2021-08-03 13:27:33 -07:00
Danila Fedorin
b0c5b2f2ce
Use the proper tile view to display reply preview
2021-07-22 14:15:18 -07:00
Danila Fedorin
650389538d
Add some basic styling
2021-07-22 14:07:13 -07:00
Danila Fedorin
1dcfdfc1d8
Split composer into preview and input
2021-07-22 13:37:35 -07:00
Danila Fedorin
013f187dc2
Avoid inserting li tags outside a list
2021-07-22 12:51:24 -07:00
Danila Fedorin
66f686210f
Add a very basic, unstyled view of the message to the composer.
2021-07-22 12:28:24 -07:00
Tawfiek
31a9da09b2
UI: add enterkeyhint end into the MessageComposer
2021-04-30 04:15:11 +02:00
Bruno Windels
c6ff56a942
send video messages
2021-03-09 19:35:25 +01:00
Bruno Windels
18407e17a8
toggle popup menu
2020-11-18 20:18:09 +01:00
Bruno Windels
8b82c991e7
wire up image uploads
2020-11-13 19:15:03 +01:00
Bruno Windels
d477be2b41
put paperclip in send file button
2020-11-11 12:57:43 +01:00
Bruno Windels
65d02072c8
hook up UI
2020-11-11 11:47:05 +01:00
Bruno Windels
06e4dea590
move ui and dom under platform/web
2020-10-26 10:28:11 +01:00