-
Notifications
You must be signed in to change notification settings - Fork 88
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
chore(vue3): Migrate NcSelect*
and related components
#4587
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,15 +127,14 @@ It might be used for list rendering or within the multiselect for example | |
<template> | ||
<span :id="id" | ||
class="option" | ||
:style="cssVars" | ||
v-on="$listeners"> | ||
<NcAvatar v-bind="$attrs" | ||
:style="cssVars"> | ||
<!-- <NcAvatar v-bind="$attrs" | ||
:disable-menu="true" | ||
:disable-tooltip="true" | ||
:display-name="displayName || name" | ||
:is-no-user="isNoUser" | ||
:size="avatarSize" | ||
class="option__avatar" /> | ||
class="option__avatar" /> --> | ||
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.
|
||
<div class="option__details"> | ||
<NcHighlight class="option__lineone" | ||
:text="name" | ||
|
@@ -165,7 +164,8 @@ It might be used for list rendering or within the multiselect for example | |
</template> | ||
|
||
<script> | ||
import NcAvatar from '../NcAvatar/index.js' | ||
// TODO: bring back avatar once migrated | ||
// import NcAvatar from '../NcAvatar/index.js' | ||
import NcHighlight from '../NcHighlight/index.js' | ||
import NcIconSvgWrapper from '../NcIconSvgWrapper/index.js' | ||
|
@@ -179,7 +179,7 @@ export default { | |
name: 'NcListItemIcon', | ||
components: { | ||
NcAvatar, | ||
// NcAvatar, | ||
NcHighlight, | ||
NcIconSvgWrapper, | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,6 @@ | |
|
||
export { default as clickOutsideOptions } from './clickOutsideOptions/index.js' | ||
export { default as isFullscreen } from './isFullscreen/index.js' | ||
export { default as isMobile } from './isMobile/index.js' | ||
export { default as richEditor } from './richEditor/index.js' | ||
// export { default as isMobile } from './isMobile/index.js' | ||
// export { default as richEditor } from './richEditor/index.js' | ||
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. These mixins are not yet migrated, and would break the build. |
||
export { default as userStatus } from './userStatus.js' |
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.
I fell back to the upstream library here, because
nextcloud/vue-select
does not have a vue3 version yet. Once we migrated this, we have to change the dependency here.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.
See nextcloud-libraries/vue-select#23