diff --git a/changelog/unreleased/bugfix-enter-in-forms b/changelog/unreleased/bugfix-enter-in-forms new file mode 100644 index 00000000000..f371991553a --- /dev/null +++ b/changelog/unreleased/bugfix-enter-in-forms @@ -0,0 +1,8 @@ +Bugfix: Pressing enter in forms + +We fixed behavior when pressing enter in forms. For instance when adding or editing public links +pressing enter in the name or password input fields, instead of saving the link it opened the datepicker. + + +https://github.com/owncloud/web/pull/6548 +https://github.com/owncloud/owncloud-design-system/pull/2009 diff --git a/changelog/unreleased/enhancement-sidebar-nav-tags b/changelog/unreleased/enhancement-sidebar-nav-tags new file mode 100644 index 00000000000..8d9aad02cdc --- /dev/null +++ b/changelog/unreleased/enhancement-sidebar-nav-tags @@ -0,0 +1,6 @@ +Enhancement: Side bar nav tags + +We have implemented a way to show a tag next to the sidebar navigation item link text + +https://github.com/owncloud/web/pull/6540 +https://github.com/owncloud/web/issues/6259 diff --git a/changelog/unreleased/enhancement-update-ods b/changelog/unreleased/enhancement-update-ods new file mode 100644 index 00000000000..6bece8ae209 --- /dev/null +++ b/changelog/unreleased/enhancement-update-ods @@ -0,0 +1,11 @@ +Enhancement: Update ODS to v13.0.0-rc.1 + +We updated the ownCloud Design System to version 13.0.0-rc.1. Please refer to the full changelog in the ODS release (linked) for more details. Summary: + +- Change - Default type of OcButton: https//github.com/owncloud/owncloud-design-system/pull/2009 +- Enhancement - Apply size property to oc-card: https//github.com/owncloud/owncloud-design-system/pull/2011 +- Bugfix - Disabled OcSelect background: https//github.com/owncloud/owncloud-design-system/pull/2008 +- Bugfix - Icons/Thumbnails were only visible for clickable resources: https//github.com/owncloud/owncloud-design-system/pull/2007 + +https://github.com/owncloud/web/pull/6540 +https://github.com/owncloud/owncloud-design-system/releases/tag/v13.0.0-rc.1 diff --git a/packages/web-app-files/src/components/SideBar/Links/PublicLinks/LinkEdit.vue b/packages/web-app-files/src/components/SideBar/Links/PublicLinks/LinkEdit.vue index d82aa0ab7a1..175aaf14bcd 100644 --- a/packages/web-app-files/src/components/SideBar/Links/PublicLinks/LinkEdit.vue +++ b/packages/web-app-files/src/components/SideBar/Links/PublicLinks/LinkEdit.vue @@ -135,6 +135,7 @@ :disabled="!$_isValid" variation="primary" appearance="filled" + submit="submit" @click="$_addLink" > Create @@ -146,6 +147,7 @@ :disabled="!$_isValid || !$_hasChanges" variation="primary" appearance="filled" + submit="submit" @click="$_updateLink" > Save diff --git a/packages/web-app-files/src/components/SideBar/Shares/InviteCollaborator/InviteCollaboratorForm.vue b/packages/web-app-files/src/components/SideBar/Shares/InviteCollaborator/InviteCollaboratorForm.vue index 0270b1cdcb6..68fcf438ac8 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/InviteCollaborator/InviteCollaboratorForm.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/InviteCollaborator/InviteCollaboratorForm.vue @@ -61,6 +61,7 @@ :disabled="!$_isValid" variation="primary" appearance="filled" + submit="submit" @click="share" v-text="$gettext('Share')" /> diff --git a/packages/web-app-files/src/index.js b/packages/web-app-files/src/index.js index 50147d160ff..97a0abee8b4 100644 --- a/packages/web-app-files/src/index.js +++ b/packages/web-app-files/src/index.js @@ -66,6 +66,7 @@ const navItems = [ { name: $gettext('Spaces'), icon: 'layout-grid', + tag: $gettext('beta'), route: { path: `/${appInfo.id}/spaces/projects` }, diff --git a/packages/web-app-files/src/views/PublicLink.vue b/packages/web-app-files/src/views/PublicLink.vue index 3b432c1b8dd..1131aa1a2ae 100644 --- a/packages/web-app-files/src/views/PublicLink.vue +++ b/packages/web-app-files/src/views/PublicLink.vue @@ -43,6 +43,7 @@ appearance="filled" class="oc-login-authorize-button" :disabled="!password" + submit="submit" > Continue diff --git a/packages/web-app-files/tests/unit/components/AppBar/__snapshots__/SharesNavigation.spec.js.snap b/packages/web-app-files/tests/unit/components/AppBar/__snapshots__/SharesNavigation.spec.js.snap index 80286bdeda1..4b9f85aa818 100644 --- a/packages/web-app-files/tests/unit/components/AppBar/__snapshots__/SharesNavigation.spec.js.snap +++ b/packages/web-app-files/tests/unit/components/AppBar/__snapshots__/SharesNavigation.spec.js.snap @@ -4,28 +4,28 @@ exports[`SharesNavigation component renders a shares navigation for both mobile diff --git a/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue b/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue index 58805d09f9e..425c5c38f95 100644 --- a/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue +++ b/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue @@ -10,8 +10,11 @@ :data-nav-id="index" :data-nav-name="navName" > - - + + + + + {{ tag }} @@ -56,6 +59,11 @@ export default { type: Boolean, required: false, default: false + }, + tag: { + type: String, + required: false, + default: null } }, computed: { @@ -83,12 +91,16 @@ export default { position: relative; align-items: center !important; display: flex !important; - justify-content: flex-start !important; + justify-content: space-between !important; padding: var(--oc-space-small) !important; border-radius: 5px; white-space: nowrap; user-select: none; + .oc-tag { + color: var(--oc-color-text-default); + background-color: var(--oc-color-background-highlight); + } .text { opacity: 1; transition: all 0s; diff --git a/packages/web-runtime/tests/unit/components/SidebarNav/__snapshots__/SidebarNav.spec.js.snap b/packages/web-runtime/tests/unit/components/SidebarNav/__snapshots__/SidebarNav.spec.js.snap index 5791d2b1dd2..06815ba152d 100644 --- a/packages/web-runtime/tests/unit/components/SidebarNav/__snapshots__/SidebarNav.spec.js.snap +++ b/packages/web-runtime/tests/unit/components/SidebarNav/__snapshots__/SidebarNav.spec.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`OcSidebarNav renders navItems into a list 1`] = ` -