Commit Graph

117 Commits

Author SHA1 Message Date
Danila Fedorin 71845ae091 Fix sender names not being used 2019-10-09 12:52:59 -07:00
Danila Fedorin 4505b4ba27 Stop making dozens of /profile calls to get usernames 2019-10-09 12:42:33 -07:00
Danila Fedorin 4ef8471585 Implement part of a push-based notification system 2019-10-04 21:26:11 -07:00
Danila Fedorin c3c2036c69 Fix incorrectly decoding state events in timeline 2019-09-14 21:01:51 -07:00
Danila Fedorin c3ed5c4cd1 Ignore nextBatch from timeline 2019-09-12 20:32:59 -07:00
Danila Fedorin 105f7e6012 Add missing changes from previous commit 2019-09-12 16:00:23 -07:00
Danila Fedorin c594d9858f Rename some functions to be more clear 2019-09-12 15:56:21 -07:00
Danila Fedorin 71e0b3f64e Perform further cleanup to Sync 2019-09-11 01:11:08 -07:00
Danila Fedorin 8627123143 Remove all the merging code from Sync 2019-09-11 01:07:39 -07:00
Danila Fedorin 5c02ae8a58 Fully switch away from keeping sync 2019-09-11 00:52:42 -07:00
Danila Fedorin 29e81a88ac Start switching from sync to room data 2019-09-10 23:24:47 -07:00
Danila Fedorin 676d6c28a7 Add initial implementation of new room structure 2019-09-10 22:33:58 -07:00
Danila Fedorin 595e28853e Split Sync file into sub-modules 2019-09-10 20:19:26 -07:00
Danila Fedorin ccfd2fe76b Fix botched unique implementation 2019-09-09 01:56:38 -07:00
Danila Fedorin 911e46c4c3 Add support for m.notice and m.emote 2019-09-08 15:00:52 -07:00
Danila Fedorin 266c421223 Fix flickering (thanks Matrix spec) 2019-09-08 14:22:08 -07:00
Danila Fedorin 3b1dabd624 Remove homebrew notification system. Will be using the spec for this. 2019-09-07 18:28:58 -07:00
Danila Fedorin 1d50c5b1e4 Start working towards setting notification settings 2019-09-07 18:03:38 -07:00
Danila Fedorin 360b7be281 Change room name func to match user name func 2019-09-07 17:06:23 -07:00
Danila Fedorin 06799194e4 Move account data code into account data module 2019-09-07 16:55:56 -07:00
Danila Fedorin 8623eb8dfd Refactor new user command 2019-09-07 16:38:09 -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 7122d9e567 Put uniqueBy back in sync 2019-09-02 01:50:53 -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 b23c80f463 Switch to a tail recursive version of uniqueBy 2019-08-31 23:00:52 -07:00
Danila Fedorin 61121ee6f8 Stop decoding event contents; they seem to vary event-to-event 2019-08-21 18:21:46 -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 c7149aa5c9 Allow more images. 2019-03-15 18:56:17 -07:00
Danila Fedorin 6e721d685b Grey out messages that are still sending. 2019-03-15 18:50:09 -07:00
Danila Fedorin 011630a185 Remove messages once their ID is received. 2019-03-15 18:45:55 -07:00
Danila Fedorin f2a8acc59c Decode id strings. 2019-03-15 18:01:26 -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 7241d112b0 Add notification counts to page title. 2019-03-15 17:44:54 -07:00
Danila Fedorin fe065130fe Scroll after "sending" messages. 2019-02-25 20:16:06 -08:00
Danila Fedorin 267d68d673 fixup! Display "still sending" messages. 2019-02-25 20:04:15 -08: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 1703c091a7 Send file names as captions when sending files and images. 2019-02-21 23:03:01 -08:00