Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-21 16:02:17 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-27 18:29:52 +0300
commit584b30d65f32efde6cd674aa58bdfffab5d9194f (patch)
tree9bad5c3091467af76fff7a0545372bfc8724443e /css
parent79489395ed14f0e89fa246622decb0df2f0075b1 (diff)
Wait for the server response to rename the room
Until now the EditableTextLabel was not (visibly) updated until the server response was received, even if the model was updated as soon as the new value was submitted (although this updated the hidden label, which was shown again once the response was received). To provide feedback to the user that the value is being set now the confirm button is replaced by a working icon while waiting for the response. In a similar way the input is also disabled to prevent further requests while the previous one is ongoing. Besides that, renaming the room now waits for the server response before updating the model. This ensures that, in case of error, the label will still show the old value instead of the new one. An error message is now also shown to the user in that case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/style.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/css/style.scss b/css/style.scss
index ed6eb720b..452f17185 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -880,7 +880,8 @@ input[type="password"] {
padding-right: 44px;
}
- .icon-confirm {
+ .icon-confirm,
+ .icon-loading-small {
top: 4px;
right: 0;