Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 4e10934e3c Rename "CommentsTabView" to "ChatView"
"CommentsTabView" is a legacy name from the original import of the code
from the Comments app; besides being a better fit, "ChatView" also
ensures that the CSS rules will not conflict with those from the
Comments app when the Talk UI is used in the Files app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 15:25:46 +01:00
Daniel Calviño Sánchez 7d8a80279e Fix appearance of message list in public share authentication page
"guest.scss" in server sets the "width" and "margin-top" properties of
".wrapper" elements to position the main content of the public share
authentication page. However, as the selector used in the rule is too
broad it is also applied to the internal wrapper of the virtual list, so
the properties need to be reset in that case.

Besides that, the padding of the message list is ignored when using the
virtual list, so that padding needs to be applied through the "left" and
"right" properties of the internal wrapper of the virtual list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 11:23:18 +01:00
Daniel Calviño Sánchez 0ddf012738
Show empty content message when not in a call
The empty content message informs the user when the app is waiting for
the media permissions and then when it is waiting for the sharer to join
the call. Thus it is now shown above the chat view, in the place that
will be occupied by the call container once the call starts.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:41 +02:00
Daniel Calviño Sánchez 31039b8337
Prevent shadows of videos from leaking on other elements
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:41 +02:00
Daniel Calviño Sánchez c113242e6f
Add proper layout for screensharing
When a screen is shared it takes the upper area of the call container,
and the videos are shown below it in a 200px high row, just like in the
normal Talk UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:40 +02:00
Daniel Calviño Sánchez e8410d562e
Add basic support for video calls
When a password is requested now the guest automatically joins the call,
and once the sharer joins the call too a video call view appears in the
Talk sidebar.

Although it is not currently shown, the empty content message for guest
users was set, as it is expected to be set by some event handlers.

In a similar way the "#screens" element was also added, but there is no
support yet for screensharing and thus the element is kept always
hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:40 +02:00
Joas Schilling 135c82304f
Revert "Open the call in a new tab for now"
This reverts commit 112c73b71c.
2018-08-08 14:17:40 +02:00
Joas Schilling 112c73b71c Open the call in a new tab for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-08 10:24:49 +02:00
Daniel Calviño Sánchez 7190c2086f Load additional scripts in public share auth page when needed
Before the public share auth page is rendered an event is dispatched
that can be used by apps to load additional scripts. This event is now
used to load the scripts that, when run on the browser, will inject the
Talk UI as needed in the page generated by the server.

The scripts will be loaded only when the share has the "send password by
Talk" option enabled; they add a button to the page that, when pressed,
creates a new public share auth room with the sharer and shows, in a
sidebar, the Talk UI for that room.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 10:24:49 +02:00