-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Bump @nextcloud/vue to v7 #1206
Conversation
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
4e6785e
to
84f83f6
Compare
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.
Pushed a fix.
I removed the usage of NcTextField
because it have a bug on the focus event it seems (focusing the input triggers the focus event more than one time for god know why. So let's keep it simple for now)
Albums have an horizontal scrollbar and a weird rendering data issue
We can fix it in a followup if you want
<template> | ||
<div v-if="isReady" class="emptycontent"> | ||
<!-- eslint-disable-next-line vue/no-v-html (because it's an SVG file) --> | ||
<div v-if="haveIllustration" class="illustration" v-html="illustration" /> |
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.
@artonge regression, we were not using the vue component.
So you, migrating to it, broke support for illustrations as well as default empty contents :)
Lines 27 to 29 in ce56825
<NcEmptyContent v-if="error"> | |
{{ t('photos', 'An error occurred') }} | |
</NcEmptyContent> |
Lines 31 to 36 in ce56825
<NcEmptyContent v-if="!loading && !hasTagsWithFiles" key="Ncemptycontent" illustration-name="empty"> | |
{{ t('photos', 'No tags yet') }} | |
<template #desc> | |
{{ t('photos', 'Photos with tags will show up here') }} | |
</template> | |
</NcEmptyContent> |
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.
Seen, and on it ;) trying to abstract those views to have more consistency between them
|
||
<!-- Folder content --> | ||
<div v-else-if="!loading"> | ||
<div class="photos-navigation"> | ||
<Actions class="photos-navigation__back"> | ||
<NcActions class="photos-navigation__back"> | ||
<ActionButton @click="$router.push({name: 'tags'})"> |
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.
Regression. I'm on it.
No description provided.