Commit Graph

273 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 25a4f1fde0 comment out ugly thumbnail bg for now 2015-08-14 17:43:37 +01:00
Matthew Hodgson 6b72c992c5 fix 'save changes' linewrap - thanks jfred 2015-08-14 17:08:31 +01:00
Matthew Hodgson 1176168960 escape key to cancel imageview popup 2015-08-14 15:52:44 +01:00
Matthew Hodgson 24630f598f fix errors with alt-up/down 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
Matthew Hodgson 88095d4360 cursor: pointer for toolbar buttons 2015-08-14 13:05:44 +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 cf77a96ac5 make text buttons in the header look clickable with a pointer 2015-08-12 01:33:25 +01:00
Matthew Hodgson 5153954a28 put cancel & save buttons into the roomheader 2015-08-12 01:30:23 +01:00
Matthew Hodgson bf10a03ab1 revert part of 0eceb737 as we need the auxpanel to have overflow: auto, not overflow: visible (initial)... 2015-08-12 01:30:05 +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
Matthew Hodgson 3fc4aee269 lots of missing -webkit-flex for safari 2015-08-11 21:00:33 +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 10053fa770 Argh, the scrollbars! 2015-08-07 16:57:16 +01:00
David Baker 3519555710 Again, no point displaying scrollbars unless they're actually necessary 2015-08-07 16:48:48 +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 9f98c4e9f7 crop zalgos on chrome fix 2015-07-30 00:56:27 +01:00
Matthew Hodgson 278a8282fe crop zalgos on chrome 2015-07-30 00:54:44 +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
nekorin dc112e718e Fixed scroll for room name and topic 2015-07-24 11:25:19 +03: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 cc9123a33d oops, forgot css 2015-07-23 10:53:14 -07:00
Matthew Hodgson 5248b0c631 css prettification 2015-07-23 10:24:34 -07:00