Commit Graph

2694 Commits

Author SHA1 Message Date
David Baker
2abea931ca Split out render methods into 'views' leaving UI logic in 'controllers'. Hopefully should make it easier to skin / customise. 2015-06-19 12:53:48 +01:00
David Baker
c8f0bac128 typo 2015-06-18 16:41:34 +01:00
David Baker
847e816035 grey out sending messages (although they don't go black until you send another message currently: awaiting fix in js sdk). 2015-06-18 15:49:41 +01:00
David Baker
b31794cda5 Focus the text box at appropriate times 2015-06-18 15:03:57 +01:00
David Baker
90f6764cbf Fix cleaning unread state on room select & ignore our own messages 2015-06-18 14:40:55 +01:00
David Baker
7c405f673a Highlight rooms with unread messages 2015-06-18 14:35:17 +01:00
David Baker
5c56b201fc sensible version of js-sdk 2015-06-18 11:56:12 +01:00
David Baker
a63299aae0 Message scrolling 2015-06-18 11:23:35 +01:00
David Baker
ed58a59f82 Switch everything over to use the component broker. 2015-06-17 16:43:29 +01:00
David Baker
6542201ac6 CSS tweakage 2015-06-17 15:46:04 +01:00
David Baker
b35461f5c0 Unused require 2015-06-16 18:35:37 +01:00
David Baker
c9a546b73b Load all components* through a central broker so we can overrride them with different ones
* only one place actually uses it currently
2015-06-16 18:18:55 +01:00
David Baker
acaff68748 Oops, commit the emote tile. 2015-06-16 18:18:34 +01:00
David Baker
3a16c8a764 The most important feature 2015-06-16 15:29:13 +01:00
David Baker
0a09326581 Make room list scroll 2015-06-16 15:02:44 +01:00
David Baker
e2348c50d5 Fix logout 2015-06-16 14:37:15 +01:00
David Baker
1dbc54e172 Oops, put key in the right place 2015-06-16 14:31:35 +01:00
David Baker
2bd5b0fdad Just be a little less ugly 2015-06-16 14:27:13 +01:00
David Baker
f25bf58d6d Use JS-SDK recommended way of getting sender name. 2015-06-16 14:19:46 +01:00
David Baker
672258f604 Start rendering messages with something more than the json 2015-06-16 11:58:03 +01:00
David Baker
88e9ab02f9 Yay, message sending. 2015-06-16 11:08:27 +01:00
David Baker
b2843b09bc Rest of commit adding messagecomposer, and put li's in ul. 2015-06-16 10:41:05 +01:00
David Baker
a0c5fb4a8b Add not-working-yet text box, plus a bit more css 2015-06-15 18:35:28 +01:00
David Baker
56415b40e9 more cssage 2015-06-15 17:06:34 +01:00
David Baker
2a15b3a98c css tweaking 2015-06-15 15:50:24 +01:00
David Baker
52286b2316 Prevent default otherwise the form will submit and reload the page 2015-06-15 11:00:39 +01:00
David Baker
4bb570c545 messages arrive! 2015-06-12 18:17:54 +01:00
David Baker
0b0e6adce3 Make room changing work 2015-06-12 18:01:38 +01:00
David Baker
125fa78bc6 Something starting to resemble a Matrix Client 2015-06-12 17:34:17 +01:00
David Baker
2f6a123118 more Matrixy naming 2015-06-12 15:01:36 +01:00
David Baker
971a7c1133 Display the room list 2015-06-12 14:59:33 +01:00
David Baker
5f970edac5 strip out cruft 2015-06-12 13:49:23 +01:00
David Baker
ffb0dc78b8 Fixes to login, and change to not use the dispatcher because it's just unnecessary here 2015-06-12 13:45:22 +01:00
David Baker
e28fde7ae1 Save creds to localstorage 2015-06-12 13:12:39 +01:00
David Baker
22e18471db gitignore bundle.js too 2015-06-11 18:26:25 +01:00
David Baker
add78c6e92 Oops: the file modifications for making it log in. 2015-06-11 18:25:29 +01:00
David Baker
a3126477bd gitignore css bundle 2015-06-11 18:25:00 +01:00
David Baker
f487b9ba04 Make it log in 2015-06-11 18:23:02 +01:00
David Baker
eeb2dfd1fc uglify at the end so we can also mangle names, and don't bother uglifying individual modules with -g as it doesn't seem to make any difference 2015-06-11 17:46:25 +01:00
David Baker
877873e730 Build (and watch-build) jsx->js and modular css -> (uglified) css bundle 2015-06-10 15:54:36 +01:00
David Baker
c6a30ff0c2 gitignore node_modules 2015-06-10 10:10:34 +01:00
David Baker
2ea9ed8d79 Add repository fields to package.json and add a README to the example 2015-06-09 18:52:26 +01:00
David Baker
b8411b2dc2 Use .js extension in example for consistency 2015-06-09 17:42:10 +01:00
David Baker
c42733ec95 Basic structure of a react SDK and start of an implementation. 2015-06-09 17:40:42 +01:00