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

10 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 3d1a84e2e5 Fix close button of Files app sidebar during calls in dark mode
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-01 14:07:12 +01:00
Daniel Calviño Sánchez e43c12e779
Show placeholder while loading a new room in the Files app
When the "Chat" tab is selected for a different file a new room is
loaded. However, as first it has to be checked if the Talk sidebar is
supported for the file, which may require a query to the server, and
then the messages for the new room need to be fetched some time can pass
between selecting the tab and rendering the messages for the new room.

Due to this now a "UI not ready" placeholder is shown in the "Chat" tab
while a new room is being loaded, which prevents the messages of the old
room from being shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-13 16:25:45 +01:00
Daniel Calviño Sánchez 8a3a514c41
Rename placeholder to a more generic name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-13 16:25:45 +01:00
Daniel Calviño Sánchez 020202c8c5 Show working icon in call button while joining or leaving a call
To provide a stronger feedback that the action is still going on now a
working/loading icon is shown in the call button while joining or
leaving a call.

In the Files app the call button width depends on its text (in the
regular Talk UI it depends on the sidebar width), so the padding was
increased to always make room for the icon, even when hidden, to prevent
a sudden increase of the width when the icon is shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 11:23:07 +01:00
Daniel Calviño Sánchez b641a281ff Show "Chat" tab also when a file is not shared
Before, the "Chat" tab was shown only when the file was shared. This
made the feature hard to discover if you did not know about it.
Moreover, after sharing the file the details view had to be closed and
opened again, which was cumbersome, as there were no events to listen to
and the visibility of tabs can not be updated once shown either (at
least, without some hacks).

Due to all this now the "Chat" tab is always shown for files (although
not for folders); if the file is already shared the previous UI (call
button and chat view) is shown, and if it is not a message to inform the
user that the file needs to be shared is shown instead. This is updated
every time the tab is opened again, so after sharing the file going back
to the "Chat" tab will show the call button and the chat view.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 16:03:16 +01:00
Daniel Calviño Sánchez e213c6de93 Show message in the sidebar while waiting for others to join the call
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez 7437d90687 Move call button from main file details to chat tab
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez b6819e22a5 Add local video and media controls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez fa2def677c Add support for video calls to the Talk sidebar in Files app
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:05:27 +01:00
Daniel Calviño Sánchez 432e1b0aa4 Show Talk sidebar in Files app
This commit introduces a DetailTabView plugin to show a chat view in the
sidebar of the Files app. The tab makes possible to chat in a Talk room
associated to the current file; due to this, the tab is visible only on
files that can be associated to a room, that is, files shared with the
current user or by the current user to another user (as a user, group,
circle...).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-03 15:48:41 +01:00