-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix sharing icon #42502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sharing icon #42502
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,8 +34,8 @@ | |
| type="tertiary" | ||
| @click="openSharingSidebar"> | ||
| <template #icon> | ||
| <LinkIcon v-if="shareButtonType === Type.SHARE_TYPE_LINK" /> | ||
| <ShareVariantIcon v-else :size="20" /> | ||
| <FolderAccountIcon v-if="shareButtonType !== null" /> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jancborchardt shall we lose the share link icon too?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it’s shared by link, that should be reflected?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, but this PR removes that
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jancborchardt we said in yesterday's design review that we're not going to use this icon in iOS in favor of the native one. I think that in line with that, we should use the material folder-shared icon that @szaimen proposed in the issue both in the web interface and in the android apps. |
||
| <AccountPlusIcon v-else :size="20" /> | ||
| </template> | ||
| </NcButton> | ||
|
|
||
|
|
@@ -135,15 +135,15 @@ import { UploadPicker } from '@nextcloud/upload' | |
| import { loadState } from '@nextcloud/initial-state' | ||
| import { defineComponent } from 'vue' | ||
|
|
||
| import LinkIcon from 'vue-material-design-icons/Link.vue' | ||
| import FolderAccountIcon from 'vue-material-design-icons/FolderAccount.vue' | ||
| import ListViewIcon from 'vue-material-design-icons/FormatListBulletedSquare.vue' | ||
| import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js' | ||
| import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' | ||
| import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js' | ||
| import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js' | ||
| import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' | ||
| import PlusIcon from 'vue-material-design-icons/Plus.vue' | ||
| import ShareVariantIcon from 'vue-material-design-icons/ShareVariant.vue' | ||
| import AccountPlusIcon from 'vue-material-design-icons/AccountPlus.vue' | ||
| import ViewGridIcon from 'vue-material-design-icons/ViewGrid.vue' | ||
|
|
||
| import { action as sidebarAction } from '../actions/sidebarAction.ts' | ||
|
|
@@ -169,17 +169,17 @@ export default defineComponent({ | |
| BreadCrumbs, | ||
| DragAndDropNotice, | ||
| FilesListVirtual, | ||
| LinkIcon, | ||
| ListViewIcon, | ||
| NcAppContent, | ||
| NcButton, | ||
| NcEmptyContent, | ||
| NcIconSvgWrapper, | ||
| NcLoadingIcon, | ||
| PlusIcon, | ||
| ShareVariantIcon, | ||
| AccountPlusIcon, | ||
| UploadPicker, | ||
| ViewGridIcon, | ||
| FolderAccountIcon, | ||
| }, | ||
|
|
||
| mixins: [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should probably be restored?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#42502 (comment)