From 612c52313b2502b16bc2112559a60398a10d8fd9 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Tue, 25 May 2021 15:51:49 +0100 Subject: [PATCH] Unique IDs in people shares sidebar & outline button in batch actions --- changelog/unreleased/bugfix-quick-action-ids | 6 ------ changelog/unreleased/bugfix-unique-ids | 12 ++++++++++++ .../unreleased/enhancement-button-appearance | 10 ++++++++++ .../enhancement-share-action-buttons | 6 ------ .../components/Collaborators/Collaborator.vue | 19 ++++++++++++------- .../src/components/InfoSelectedResources.vue | 4 ++-- yarn.lock | 5 ----- 7 files changed, 36 insertions(+), 26 deletions(-) delete mode 100644 changelog/unreleased/bugfix-quick-action-ids create mode 100644 changelog/unreleased/bugfix-unique-ids create mode 100644 changelog/unreleased/enhancement-button-appearance delete mode 100644 changelog/unreleased/enhancement-share-action-buttons diff --git a/changelog/unreleased/bugfix-quick-action-ids b/changelog/unreleased/bugfix-quick-action-ids deleted file mode 100644 index 38fd25bf023..00000000000 --- a/changelog/unreleased/bugfix-quick-action-ids +++ /dev/null @@ -1,6 +0,0 @@ -Bugfix: Change quick action from IDs to classes - -Quick action button IDs were repeated in every row of the file table, which isn't allowed in HTML (IDs must be unique per document). -By changing to classes, this offense was resolved. - -https://github.com/owncloud/web/pull/5028 diff --git a/changelog/unreleased/bugfix-unique-ids b/changelog/unreleased/bugfix-unique-ids new file mode 100644 index 00000000000..7d3429b5400 --- /dev/null +++ b/changelog/unreleased/bugfix-unique-ids @@ -0,0 +1,12 @@ +Bugfix: Make sure IDs in HTML are unique + +Quick action button IDs were repeated in every row of the file table, +which isn't allowed in HTML (IDs must be unique per document). +By changing to classes, this offense was resolved. + +The same goes for IDs in the people shares part of the sidebar where IDs +are now appended with the share ID, which is necessary since they need to be +both unique and referenced by ID for accessibility reasons. + +https://github.com/owncloud/web/pull/5028 +https://github.com/owncloud/web/pull/5147 diff --git a/changelog/unreleased/enhancement-button-appearance b/changelog/unreleased/enhancement-button-appearance new file mode 100644 index 00000000000..f5049862bf4 --- /dev/null +++ b/changelog/unreleased/enhancement-button-appearance @@ -0,0 +1,10 @@ +Enhancement: Button appearance + +Changed the appearance of the "accept/decline share" buttons in the "Shared With Me" file list +so they actually look like buttons. + +Also changed the "Clear selection" button in the files table batch actions +from `raw` to `outline` appearance. + +https://github.com/owncloud/web/pull/5053 +https://github.com/owncloud/web/pull/5147 diff --git a/changelog/unreleased/enhancement-share-action-buttons b/changelog/unreleased/enhancement-share-action-buttons deleted file mode 100644 index 249cee5eb8f..00000000000 --- a/changelog/unreleased/enhancement-share-action-buttons +++ /dev/null @@ -1,6 +0,0 @@ -Enhancement: Share action button appearance - -Changed the appearance of the "accept/decline share" buttons in the "Shared With Me" file list -so they actually look like buttons. - -https://github.com/owncloud/web/pull/5053 diff --git a/packages/web-app-files/src/components/Collaborators/Collaborator.vue b/packages/web-app-files/src/components/Collaborators/Collaborator.vue index 009801b65e0..fd3442c812d 100644 --- a/packages/web-app-files/src/components/Collaborators/Collaborator.vue +++ b/packages/web-app-files/src/components/Collaborators/Collaborator.vue @@ -51,11 +51,12 @@ v-text="collaborator.collaborator.additionalInfo" /> - Tags + Tags