From 69c45b2f027aca235ceca306c81453c5c510430e Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Mon, 7 Mar 2022 17:09:25 +0100 Subject: [PATCH] Cleaned up account info page Removed code duplication in template, limited loading indication to the part of the template where actual loading happens (only the group membership info). --- .../enhancement-account-page-loading | 5 + packages/web-runtime/src/pages/account.vue | 112 +++++++++--------- .../pages/__snapshots__/account.spec.js.snap | 21 ++-- .../tests/unit/pages/account.spec.js | 103 ++++++++-------- 4 files changed, 114 insertions(+), 127 deletions(-) create mode 100644 changelog/unreleased/enhancement-account-page-loading diff --git a/changelog/unreleased/enhancement-account-page-loading b/changelog/unreleased/enhancement-account-page-loading new file mode 100644 index 00000000000..0c19a12c8b0 --- /dev/null +++ b/changelog/unreleased/enhancement-account-page-loading @@ -0,0 +1,5 @@ +Enhancement: Don't block account page while groups are loading + +We don't show a loading state for the full account information page anymore while the group membership information is loading. Instead we only show a loading spinner for the group membership information, while the rest of the user information is available immediately. + +https://github.com/owncloud/web/pull/6547 diff --git a/packages/web-runtime/src/pages/account.vue b/packages/web-runtime/src/pages/account.vue index f9ff330b96e..6192264b63b 100644 --- a/packages/web-runtime/src/pages/account.vue +++ b/packages/web-runtime/src/pages/account.vue @@ -1,12 +1,8 @@