Commit Graph

225 Commits

Author SHA1 Message Date
Kegan Dougal
59986d8b72 Pass the call around different CallViews to keep media flowing
Previously, the CallView was attached to the RoomView, so you would get
a new CallView each time you changed the room and the one you changed
from would be destroyed. This would destroy media capture/playback as
the element was no longer in the DOM.

This is now fixed by having a "global" CallView which is attached at
the MatrixChat "page" level in the DOM hierarchy. This CallView isn't
scoped to a particular room; it will render any "active" call it can
find that *isn't the current room being displayed*. This has the side
effect of enforcing 1 call per app semantics as only the first active
call found is returned.

This fixes https://github.com/vector-im/vector-web/issues/31
This is unfinished (CSS for the global call view isn't done)
2015-09-15 11:05:53 +01:00
David Baker
ee4da24b84 Merge pull request #148 from vector-im/matthew/login
Fix up various login bugs and nastinesses
2015-09-07 10:47:25 +01:00
Matthew Hodgson
027ab6ee99 fix login layout on tall screens; limit dialog box width; wait a full second to re-query new HS details 2015-09-01 01:55:13 +03:00
Matthew Hodgson
8214ee8fad fix blinking when toggling advanced 2015-09-01 01:35:47 +03:00
Matthew Hodgson
ab068cc372 improve login, including checkbox fix for advanced options, rechecking when you change server, avoiding flickering when you change HS, better error/spinner layout, and trimming whitespace 2015-08-31 19:30:24 +01:00
David Baker
ef027706b9 Offer to join a room if you're not in it 2015-08-20 16:47:25 +01:00
David Baker
2351ad997c More places where we assumed sender would not be null 2015-08-20 11:46:54 +01:00
David Baker
cb25740961 Fix exception when accepting room invites 2015-08-20 11:43:08 +01:00
Matthew Hodgson
1176168960 escape key to cancel imageview popup 2015-08-14 15:52:44 +01:00
David Baker
c5e33352b0 You can't just use React classes as normal static classes :( 2015-08-14 15:25:05 +01:00
Matthew Hodgson
e1efb165fd make file thumbnails match the design 2015-08-14 14:44:16 +01:00
Matthew Hodgson
4851adf3b0 fix up the look & feel for unread messages warning to make it more visible 2015-08-14 13:53:32 +01:00
Matthew Hodgson
9ed5ca3ccb implement a pretty droptarget when uploading files 2015-08-14 13:20:39 +01:00
David Baker
ca09758210 Fix onerror handlers 2015-08-14 10:31:45 +01:00
David Baker
7a8537f3dc Don't show blank EventAsText tiles 2015-08-14 10:30:14 +01:00
Matthew Hodgson
001d1c50ef factor out MRoomMemberTile, MCallInviteTile, MCallAnswerTile and MCallHangupTile to just use EventAsTextTile and thus reduce duplication enormously 2015-08-14 00:28:37 +01:00
David Baker
fec266f1c0 Move avatars into their own components so I can add functionality like custom default avatars and onerror sources without having to add it in 13 separate places. Add the aforementioned features. 2015-08-13 19:30:02 +01:00
Matthew Hodgson
5153954a28 put cancel & save buttons into the roomheader 2015-08-12 01:30:23 +01:00
Matthew Hodgson
566c0437c0 provide a way to hide the notification nag toolbar 2015-08-12 00:42:04 +01:00
Matthew Hodgson
2ffa450e31 don't try to show negative power levels 2015-08-12 00:41:46 +01:00
Matthew Hodgson
8fd26509ac remove spurious dead code 2015-08-12 00:41:20 +01:00
David Baker
96cedc237e Actually change to vector IS 2015-08-10 15:50:26 +01:00
David Baker
efcc2061b8 Hopefully port over ndarilek's accessibility changes to Vector (albeit with list elements contained within RoomView) 2015-08-10 15:17:15 +01:00
David Baker
0eceb737de Remove scrollbars by removing overflow: scroll in places. Add a title for hover over on long (or otherwise) topics. 2015-08-07 16:01:39 +01:00
David Baker
64727cb60e Don't die on malformed VoIP offers 2015-08-07 14:48:50 +01:00
David Baker
68d408bfff Wire up popup to the "What does this mean?" link 2015-08-05 11:37:52 +01:00
Matthew Hodgson
55a4f3e3a1 display zalgo'd nicknames correctly on chrome/osx 2015-07-30 00:48:20 +01:00
Matthew Hodgson
2391c21eeb fix up the room directory a lot - with loading spinner, better layout, etc 2015-07-27 22:31:24 +01:00
Matthew Hodgson
f5b9f470b2 fix CSS for QuestionDialog 2015-07-27 18:26:51 +01:00
David Baker
7ac852d1fe Merge pull request #2 from vector-im/timestamp_hover
Show timestamp when you hover over a message
2015-07-27 14:57:10 +01:00
Matthew Hodgson
a24d7a9bce remove spurious console.logs 2015-07-24 11:17:45 +02:00
Matthew Hodgson
65cf8f030c alt/title tags and cursors 2015-07-24 10:57:28 +02:00
David Baker
2f9e3fcaea Make images be normal hyperlinks if middle/command clicked 2015-07-23 20:07:34 -07:00
David Baker
33f2955927 Don't show the bar if the platform doesn't support notifs 2015-07-23 19:40:09 -07:00
David Baker
79c2a5abd6 Hide things that aren't wired up yet 2015-07-23 19:18:12 -07:00
Matthew Hodgson
02846c4fff room invite css 2015-07-23 11:01:28 -07:00
Matthew Hodgson
5248b0c631 css prettification 2015-07-23 10:24:34 -07:00
Matthew Hodgson
59f380d3fc fix dialog css 2015-07-23 01:33:10 -07:00
David Baker
9847383ba6 Commit imageview files 2015-07-22 20:37:08 -07:00
David Baker
772053713a lightbox image viewing (that needs CSS) 2015-07-22 16:04:29 -07:00
Erik Johnston
51d2677525 Prompt if a user really wants to leave the room 2015-07-22 17:53:18 +01:00
Erik Johnston
c726257e9b Show timestamp when you hover over a message 2015-07-22 17:34:10 +01:00
Kegan Dougal
fbb6775523 Implement unread message status when scrolled up. 2015-07-22 14:49:32 +01:00
Erik Johnston
6bfc566d9a Switch to another room when we succesfully leave a room 2015-07-22 11:41:32 +01:00
Erik Johnston
5fb6ea94b2 Add leave button as per wireframes 2015-07-22 10:59:36 +01:00
Erik Johnston
79e03597b3 Merge remote-tracking branch 'upstream/vector' 2015-07-22 09:24:13 +01:00
Kegan Dougal
6b44fa7642 Bugfix: Also grey out messages which are in the 'queued' state. 2015-07-22 09:14:39 +01:00
Matthew Hodgson
538536eb88 vaguely make room editing prettier 2015-07-21 23:19:51 -07:00
David Baker
904754b20d Allow uploading the same file twice 2015-07-21 20:55:23 -07:00
Matthew Hodgson
67d3368e1e fix up some of the modals 2015-07-21 17:02:06 -07:00