Commit Graph

49 Commits

Author SHA1 Message Date
Danila Fedorin 911e46c4c3 Add support for m.notice and m.emote 2019-09-08 15:00:52 -07:00
Danila Fedorin 360b7be281 Change room name func to match user name func 2019-09-07 17:06:23 -07:00
Danila Fedorin 5e3aa40a35 Use Elm's lazy to optimize for many-message performance 2019-09-06 23:55:36 -07:00
Danila Fedorin 207f6ab3be Remove dependency on model in message list 2019-09-02 01:10:28 -07:00
Danila Fedorin f395259137 Improve performance by computing room names at sync, rather than on view. 2019-09-02 00:46:59 -07:00
Danila Fedorin 5d5418e9c6 Use m.direct for direct message names. 2019-09-01 00:37:30 -07:00
Danila Fedorin 150af81847 Change alert indicator to work better. 2019-05-19 15:01:02 -07:00
Danila Fedorin 3a31f98f3b Wire up the search bar. 2019-05-19 13:42:22 -07:00
Danila Fedorin a4c40dca28 Add an (un-wired) input for searching rooms. 2019-05-19 13:32:57 -07:00
Danila Fedorin 7be4e8d9e2 Make small tweaks to room list. 2019-05-19 13:23:16 -07:00
Danila Fedorin 8560f15047 Make some view adjustments. 2019-05-19 01:32:39 -07:00
Danila Fedorin 47a684b777 Alphabetically sort rooms. 2019-05-15 20:48:31 -07:00
Danila Fedorin 5bd6124df2 Move the room name code into a separate function. 2019-05-15 20:40:21 -07:00
Danila Fedorin 63fcb22998 Display user names in private chats. 2019-05-15 20:27:06 -07:00
Aaron Raimist df0be6a1ee
Add placeholder for homeserver URL
I forgot this one
2019-03-17 12:03:18 -05:00
Aaron Raimist b8939dacbb
Add placeholders to the username and password field on login form 2019-03-16 19:50:21 -05:00
Danila Fedorin 6e721d685b Grey out messages that are still sending. 2019-03-15 18:50:09 -07:00
Danila Fedorin 1b0ad433b9 Add id field for sending messages.
The idea is to use this field to dismiss messages only when
a sync response with their id arrives.
2019-03-15 18:01:07 -07:00
Danila Fedorin 5d519242be Display "still sending" messages. 2019-02-25 19:54:54 -08:00
Danila Fedorin 2136bf34b9 Create an abstraction for room data.
Unless you specifically need the Sync data, this will be more useful,
since it stores the messages being sent and the like.
2019-02-25 18:09:39 -08:00
Danila Fedorin ce1580926c Refactor to allow "messages".
This will allow us to group non-event things as messages, which will
then allow us to display messages that are still being sent.
2019-02-25 16:44:47 -08:00
Danila Fedorin b0e796ee16 Add a button to reconnect. 2018-12-27 00:12:48 -08:00
Danila Fedorin 3c91be9fb6 Group rooms by homeserver. 2018-12-24 14:17:57 -08:00
Danila Fedorin 12e5fdfbf1 Add video and file support. 2018-12-23 20:26:35 -08:00
Danila Fedorin c08ef14832 Add display to errors. 2018-12-23 00:23:48 -08:00
Danila Fedorin d9ede51428 Use a text area for multiline input. 2018-12-22 00:05:32 -08:00
Danila Fedorin 590764adc4 Add markdown rendering for messages that have it. 2018-12-20 22:59:31 -08:00
Danila Fedorin 98be6ed061 Add file buttons and messages (currently do nothing) 2018-12-20 17:03:26 -08:00
Danila Fedorin 130b964d29 Add "load older messages" button 2018-12-19 21:52:07 -08:00
Danila Fedorin 78620c3b4f Scroll when new messages arrive and user is close to the bottom. 2018-12-14 00:02:15 -08:00
Danila Fedorin 2e804f84a3 Render image messages. 2018-12-13 19:45:55 -08:00
Danila Fedorin 92a7820a8e Add sending messages on enter. 2018-12-13 18:41:54 -08:00
Danila Fedorin d95e383fb1 Add room notifications. 2018-12-13 17:47:58 -08:00
Danila Fedorin 56878533f4 Add "typing people wrapper" 2018-12-13 16:28:13 -08:00
Danila Fedorin 2c7b72fba6 Open room on notification click. 2018-12-13 14:06:15 -08:00
Danila Fedorin 46352c429a Add notifications 2018-12-13 13:42:23 -08:00
Danila Fedorin b25e5d77af Retrieve user display names on initial log in. 2018-12-13 12:45:30 -08:00
Danila Fedorin 2505610aa2 Add a separate message for first sync, and add event listing. 2018-12-13 01:46:57 -08:00
Danila Fedorin 42126c1489 Add icon view. 2018-12-10 16:16:39 -08:00
Danila Fedorin d855467f14 Add a scroll view so that messages can be scrolled without input. 2018-12-10 15:27:18 -08:00
Danila Fedorin d15cc437b7 Add proper styling to usernames. 2018-12-10 14:20:06 -08:00
Danila Fedorin 27634bf766 Change layout to always display rooms. Also, add room CSS. 2018-12-10 13:18:02 -08:00
Danila Fedorin cee113b0dd Rename container to wrapper for consistency. 2018-12-10 12:47:40 -08:00
Danila Fedorin 4b2c0d2ae8 Style the "Log In" screen. 2018-12-10 12:22:33 -08:00
Danila Fedorin b76e4bdf7d Add room message sending. 2018-12-09 23:58:16 -08:00
Danila Fedorin 0ceb1413ce Add navigation and proper room views. 2018-12-08 20:02:29 -08:00
Danila Fedorin e492452451 Use routes to navigate. 2018-12-08 19:09:20 -08:00
Danila Fedorin 7d97fc1aba Add basic viewing for rooms. 2018-12-08 17:48:45 -08:00
Danila Fedorin e06c4a8772 Add logging in. 2018-12-08 15:06:14 -08:00