summaryrefslogtreecommitdiffstats
path: root/src/components
AgeCommit message (Collapse)Author
2020-08-19Use the SVG animated placeholders also for messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19Use the SVG placeholder from the unified searchJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19Merge pull request #4021 from nextcloud/bugfix/3340/show-date-on-hoverJoas Schilling
Show date on hover of time
2020-08-18Show date on hover of timeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18Relabel the sections to high-performance backend to avoid confusionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-17Merge pull request #3988 from nextcloud/feature/3949/allow-editing-before-uploadJoas Schilling
Feature/3949/allow editing before upload
2020-08-13Make uploadeditor accessibleMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-13Style upload editorMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-13Show previews in the upload editorMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-12Add ability to remove files from selectionMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-12Make the filepreview component compatible with upload editingMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-12Add ability to add more files to the current uploadMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-12Create initialiseduploads store entry and split uploadfiles logicMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-12Add uploadeditor componentMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-08-05Fix offline usernamesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Fix paddings in the sidebarJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Move status to a second lineJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Sort users down which are away + dndJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Show the status in the participant listJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Show the status when mentioning peopleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05Insert emojis at the current caret positionDaniel Calviño Sánchez
Instead of always inserting the emojis at the end of the text now they are inserted at the current caret position, also replacing any selected text. If the input is not focused then the emoji will be inserted at the end like before. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Fix adding emojis to rich texts in FirefoxDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05EmojiPicker: swap order of buttons in NewMessageFormSimon Spannagel
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-08-05EmojiPicker: use material icon instead of emojiSimon Spannagel
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-08-05Adding Emoji picker component to message formSimon Spannagel
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-08-05Handle empty "deviceId" when media permissions are not grantedDaniel Calviño Sánchez
In latest MediaDevices spec if permanent media permissions have not been granted and there is no active stream "enumerateDevices" returns at most one device of each kind, and all of them with empty attributes (including the deviceId) except for the kind. This is already partially implemented by Chromium, so devices with an empty "deviceId" need to be taken into account. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Do not request a stream again for the active deviceDaniel Calviño Sánchez
When a preview stream is updated there is no need to request the stream again if the current stream comes already from the selected device. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Do not update streams again while waiting for a previous oneDaniel Calviño Sánchez
When an audio or video device is selected a stream from that device is requested to show its preview. The stream is resolved asynchronously, so while that happens the user could select a different device, which in turn will request another stream. As only a single stream for each type is expected to be active in the previews this could lead to streams being opened but never closed. Now this is enforced by preventing further stream requests while a previous one has not been completed yet. If several stream updates are triggered while waiting for a previous one once that previous one is finished a new stream will be requested for the last selected device. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Show also an error message instead of just an error iconDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Add "Preview" tab to the right sidebarDaniel Calviño Sánchez
The preview tab makes possible to select the audio and video devices to be used in a call, as well as showing a preview of them (so the user now can check what is visible in the camera before joining a call). In order to show the preview of the devices a media stream has to be requested, which will ask the user for permissions (unless they have been granted permanently). To prevent permissions requests as soon as the conversation is opened the preview tab is not shown as the first tab, and to limit the use of the devices only to the scrictly necessary the previews are enabled only when the preview tab is the active one. Currently changing the devices during a call has no effect, so the device selectors (as well as the previews themselves, as they will have the same content already shown in the call view) are disabled during calls. The tab itself is not removed due to ordering issues when removing and adding it back. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Make possible to explicitly disable devices of certain kindDaniel Calviño Sánchez
Now it is possible to disable audio and video devices by setting the selected id to null. Fallback devices will still be used when the selected device is undefined, but not when it is explicitly set to null. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-05Add components to select and preview media devicesDaniel Calviño Sánchez
MediaDevicesSelector is a dropdown to select a media device of a specific kind. MediaDevicesPreview has selectors for audio and video inputs that modify the devices to be used in MediaDevicesManager. Additionally it also shows a preview of the selected devices with a volume bar in the case of audio or a video element in the case of video. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-30Fix opacity of offline-user avatar menuJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-27Merge pull request #3864 from nextcloud/feature/3423/show-upload-progressJoas Schilling
Feature/3423/show upload progress
2020-07-27Fix upload progressMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-07-27Hide spinner when the temporary message is a fileMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-07-27Fix spinner positionMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-07-24Show progress bar while a file is being uploadedMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-07-24Move temporary message functionality to another fileMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-07-20Add button to explicitly dismiss the quality warning tooltipMarco Ambrosini
Instead of showing the quality warning tooltip only if it has not been recently shown now the quality warning tooltip is always shown when the quality warning is shown, except if the user has explicitly dismissed it. Signed-off-by: Marco Ambrosini <marcoambrsoini@pm.me>
2020-07-20Add buttons to disable video and screen share to quality warning tooltipMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrsoini@pm.me>
2020-07-20Dedicated connection warning iconJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-20Revert "Dimm own avatar and video when the sender connection quality is bad"Daniel Calviño Sánchez
This reverts commit 363ecb057e76c9a857b7dc24b2724a4f85c03178.
2020-07-20Revert "Split tooltips for audio, video and screen quality"Daniel Calviño Sánchez
This reverts commit 92d7ea51147c738079451199b869b006435e7bc8.
2020-07-20Revert "Replace quality warning with tooltips on the local media buttons"Daniel Calviño Sánchez
This reverts commit b92a1612549f41470b3b92f0a20701f28e746b9f.
2020-07-20Revert "Show warning on the button that could solve the issue"Daniel Calviño Sánchez
This reverts commit 3b78a93386c20f5be2aace64ec08c53fc064591f.
2020-07-17Merge pull request #3901 from ↵Joas Schilling
nextcloud/bugfix/3888/dont-trim-displayname-in-selection Don't trimm displayname in selection
2020-07-16Show error message when video could not be gotDaniel Calviño Sánchez
The error is shown only if there was an actual error when getting the video; it is not shown if there is simply no camera, or if neither audio nor video could be got (as there was already a different toast in place in that case). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-14Don't trimm displayname in selectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-13Show warning on the button that could solve the issueDaniel Calviño Sánchez
Before the warning tooltip about a bad connection quality was shown on the button for the media that had the issue. Now the tooltip is shown instead on the button for the media that could solve the issue. So, for example, "Audio is bad, disable your video" before was shown on the audio button, but now it is shown in the video button. If only one type of media is being transmitted then the tooltip is shown on the button for that media ("so "Audio is bad" is shown in the audio button, as it is just an information but there is nothing that can be done about it). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>