diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 46b65c695eede..0ac23c687c877 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -29,120 +29,39 @@ :menu-position="'left'" :url="share.shareWithAvatar" /> - - {{ title }} -

- {{ share.status.icon || '' }} - {{ share.status.message || '' }} -

-
- - @@ -463,23 +390,42 @@ export default { diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 06c9cb708510f..b1e43296fc26f 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -32,6 +32,7 @@

{{ subtitle }}

+ @@ -292,6 +293,8 @@ import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEdi import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js' +import QuickShareSelect from './SharingEntryQuickShareSelect.vue' + import ExternalShareAction from './ExternalShareAction.vue' import SharePermissionsEditor from './SharePermissionsEditor.vue' import GeneratePassword from '../utils/GeneratePassword.js' @@ -313,6 +316,7 @@ export default { NcAvatar, ExternalShareAction, SharePermissionsEditor, + QuickShareSelect, }, mixins: [SharesMixin], @@ -330,6 +334,9 @@ export default { data() { return { + showDropdown: false, + selectedOption: 'Can edit', + options: ['Can view', 'Can edit', 'File drop'], copySuccess: true, copied: false, @@ -671,7 +678,7 @@ export default { * accordingly * * @param {Share} share the new share - * @param {boolean} [update=false] do we update the current share ? + * @param {boolean} [update] do we update the current share ? */ async pushNewLinkShare(share, update) { try { @@ -879,6 +886,12 @@ export default { display: flex; align-items: center; min-height: 44px; + + ::v-deep &__avatar { + --size: 40px !important; + line-height: 40px !important; + } + &__desc { display: flex; flex-direction: column; diff --git a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue new file mode 100644 index 0000000000000..bf18df369d6b5 --- /dev/null +++ b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue new file mode 100644 index 0000000000000..8302d0b962d31 --- /dev/null +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -0,0 +1,686 @@ +