63d7ff3ed6
Build the logic too into the same hierarchy as it is unbuilt so it can be used either processed or unprocessed. Does involve having a dir called 'src' in the built products directory, and abusing jsx as a cross-platform version of cp (there is no jsx in the src dir).
David Baker2015-07-10 18:09:30 +01:00
ed2cc33616
Linkify user IDs and room aliases (to nothing at the moment because we don't have anything to do with them)
David Baker2015-07-10 14:37:13 +01:00
c14886a1ee
rename to mostRecentActivityFirst to disambiguate from sorting by when you joined a room, which this is not.
David Baker2015-07-08 18:21:57 +01:00
d58fdef362
Order room list by most recent activity
David Baker2015-07-08 18:18:03 +01:00
a591b66732
Don't barf if no info in m.file content
David Baker2015-07-08 16:50:49 +01:00
abea8af59b
s/mx_MessageTileType/mx_messageTileType/ to fit dave's naming convention
Matthew Hodgson2015-07-07 02:37:14 +01:00
ffac30083e
rejig css: * sans-serif font * use display: table for the message list so that everything lines up nicely * switch to flexbox layout rather than position absolutes to avoid assuming a full screen UI and improve maintainability (and better match atomify) * neutralise the colouring and styling of highlighted rooms in the recents list * switch from ul + li's to a series of divs in some places where the li's are achieving nothing but adding more complexity to the DOM * add mx_MessageTileType as a generic css base class for all message tiles
Matthew Hodgson2015-07-07 02:10:10 +01:00
be9d8f1768
Correct docs again: you do need to npm install the react sdk root explicitly
David Baker2015-07-06 18:58:32 +01:00
6c35908949
Add example shwing how to customise, make customising work and document all the ways in which browserify will break and how to work around it being dumb.
David Baker2015-07-06 14:13:02 +01:00
7a8eae09ff
More sender / sender display name fixes.
David Baker2015-07-03 18:29:46 +01:00
dff74f44de
Tweak the example build process. Move example -> examples/trivial to we can have more than one. Update README appropriately.
David Baker2015-07-03 15:56:04 +01:00
196ee3f6d4
Only highlight room list for messages where we notify - this may want to be an option in the react client potentially.
David Baker2015-07-03 11:36:44 +01:00
fd20e82123
Add desktop notifications, overridable in the same way as other components (although it's not a react component). Also extend the flux dispatcher a little to be less dumb about dispatching while something else is already dispatching.
David Baker2015-07-03 11:12:54 +01:00
fae629ea65
Use the pagination token to see when we've reached the room's birth
David Baker2015-06-25 15:58:51 +01:00
5d44de9e08
Load limited number of room members when we first switch to a room, loading the rest a little later: makes switchign to large rooms much more responsive.
David Baker2015-06-25 14:57:35 +01:00
209e052025
Limit the number of messages we load into a chat room when we switch to it (or more accurately, switch back to it).
David Baker2015-06-25 14:36:24 +01:00
aaa38d95ba
s/themes/skins/g as we are always describing the whole UI layout here, whereas themes can sometimes just be small cosmetic tweaks (light-on-dark, dark-on-light etc)
Matthew Hodgson2015-06-23 18:28:20 +01:00
0c26206b88
Copyright headers (and use strict, while we're at it).
David Baker2015-06-23 16:41:25 +01:00
2abea931ca
Split out render methods into 'views' leaving UI logic in 'controllers'. Hopefully should make it easier to skin / customise.
David Baker2015-06-19 12:53:48 +01:00
847e816035
grey out sending messages (although they don't go black until you send another message currently: awaiting fix in js sdk).
David Baker2015-06-18 15:49:41 +01:00
b31794cda5
Focus the text box at appropriate times
David Baker2015-06-18 15:03:57 +01:00
90f6764cbf
Fix cleaning unread state on room select & ignore our own messages
David Baker2015-06-18 14:40:55 +01:00
7c405f673a
Highlight rooms with unread messages
David Baker2015-06-18 14:35:17 +01:00