From 2d58cca67d272dc97a8915af1bca51b406ac96e1 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 20 Oct 2026 19:26:21 +0200 Subject: [PATCH] Task/improve loading state of file drop area component (#8250) * Improve loading state * Update changelog --- CHANGELOG.md | 1 + .../file-drop-area.component.html | 13 +-- .../file-drop-area.component.scss | 94 ++++++++++++++++--- .../file-drop-area.component.stories.ts | 6 -- .../file-drop-area.component.ts | 3 +- 5 files changed, 90 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73207ee4ce..11cae3d5e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Improved the usability of the activities page by eliminating the reload on canceling the import activities dialog +- Improved the loading state of the file drop area component - Improved the accessibility of the _Buy me a coffee_ button on the about page - Improved the accessibility of the entity logo component - Extracted the file drop area of the import activities dialog to a reusable component diff --git a/libs/ui/src/lib/file-drop-area/file-drop-area.component.html b/libs/ui/src/lib/file-drop-area/file-drop-area.component.html index b5c6e19021..a4d1d6c91e 100644 --- a/libs/ui/src/lib/file-drop-area/file-drop-area.component.html +++ b/libs/ui/src/lib/file-drop-area/file-drop-area.component.html @@ -1,13 +1,14 @@ @if (isLoading()) { -
- - {{ loadingText() }} +
+
+ {{ loadingText() }} +
} @else {