From 8c4a0815bca5543264cd645e811cb15a8831a9b5 Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Fri, 26 Jul 2024 15:04:05 +0200 Subject: [PATCH] Create quota information component, add to account page --- ...ment-add-quota-information-to-account-page | 6 ++ .../components/Account/QuotaInformation.vue | 78 +++++++++++++++++++ .../src/components/Topbar/UserMenu.vue | 59 ++------------ packages/web-runtime/src/pages/account.vue | 15 +++- .../__snapshots__/UserMenu.spec.ts.snap | 56 ++++++------- .../pages/__snapshots__/account.spec.ts.snap | 1 + tests/e2e/support/objects/account/actions.ts | 2 +- 7 files changed, 136 insertions(+), 81 deletions(-) create mode 100644 changelog/unreleased/enhancement-add-quota-information-to-account-page create mode 100644 packages/web-runtime/src/components/Account/QuotaInformation.vue diff --git a/changelog/unreleased/enhancement-add-quota-information-to-account-page b/changelog/unreleased/enhancement-add-quota-information-to-account-page new file mode 100644 index 00000000000..c3d5a324d02 --- /dev/null +++ b/changelog/unreleased/enhancement-add-quota-information-to-account-page @@ -0,0 +1,6 @@ +Enhancement: Add quota information to account page + +We've added a new section to the account page that displays the users current quota usage. + +https://github.com/owncloud/web/pull/11287 + diff --git a/packages/web-runtime/src/components/Account/QuotaInformation.vue b/packages/web-runtime/src/components/Account/QuotaInformation.vue new file mode 100644 index 00000000000..fa9e322a4ef --- /dev/null +++ b/packages/web-runtime/src/components/Account/QuotaInformation.vue @@ -0,0 +1,78 @@ + + + diff --git a/packages/web-runtime/src/components/Topbar/UserMenu.vue b/packages/web-runtime/src/components/Topbar/UserMenu.vue index a5ea4094607..90a34c633e8 100644 --- a/packages/web-runtime/src/components/Topbar/UserMenu.vue +++ b/packages/web-runtime/src/components/Topbar/UserMenu.vue @@ -70,24 +70,11 @@ -
- -
-

- -

- -
-
+
  • @@ -125,7 +112,6 @@