From fb1eef0405368c1463376be3c8512c346eb3e575 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 11 Sep 2023 18:32:53 +0200 Subject: [PATCH] rewrite LoadingPlaceholder.vue component Signed-off-by: Maksim Sukharev --- src/components/LoadingPlaceholder.vue | 270 ++++++++---------- .../Participant/LoadingParticipant.vue | 69 ----- .../ParticipantsList/ParticipantsList.vue | 9 +- 3 files changed, 124 insertions(+), 224 deletions(-) delete mode 100644 src/components/RightSidebar/Participants/ParticipantsList/Participant/LoadingParticipant.vue diff --git a/src/components/LoadingPlaceholder.vue b/src/components/LoadingPlaceholder.vue index cb0b4bbe01af..94d5153f5327 100644 --- a/src/components/LoadingPlaceholder.vue +++ b/src/components/LoadingPlaceholder.vue @@ -2,8 +2,9 @@ - @copyright Copyright (c) 2020 Joas Schilling - - @author Joas Schilling + - @author Maksim Sukharev - - - @license GNU AGPL version 3 or any later version + - @license AGPL-3.0-or-later - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as @@ -18,54 +19,20 @@ - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . --> - - -Displays a loading placeholder for conversation messages. - -The gradient animation is achieved by having two placeholder elements, -with opposite gradient directions (regular and reverse) displayed on top -of each other (overlapped with position: absolute) and then fading between -each other by animating the opacities. - - diff --git a/src/components/RightSidebar/Participants/ParticipantsList/Participant/LoadingParticipant.vue b/src/components/RightSidebar/Participants/ParticipantsList/Participant/LoadingParticipant.vue deleted file mode 100644 index 00bba8cc969c..000000000000 --- a/src/components/RightSidebar/Participants/ParticipantsList/Participant/LoadingParticipant.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - diff --git a/src/components/RightSidebar/Participants/ParticipantsList/ParticipantsList.vue b/src/components/RightSidebar/Participants/ParticipantsList/ParticipantsList.vue index 8c0dc5e7902d..d6aa6c43d9b7 100644 --- a/src/components/RightSidebar/Participants/ParticipantsList/ParticipantsList.vue +++ b/src/components/RightSidebar/Participants/ParticipantsList/ParticipantsList.vue @@ -29,24 +29,21 @@ :show-user-status="showUserStatus" @click-participant="handleClickParticipant" /> - +