-
Notifications
You must be signed in to change notification settings - Fork 282
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
add attachments to desc #1740
add attachments to desc #1740
Conversation
@@ -127,6 +127,11 @@ | |||
href="https://deck.readthedocs.io/en/latest/Markdown/" | |||
target="_blank" | |||
class="icon icon-info" /> | |||
<Actions v-if="canEdit"> | |||
<ActionButton v-if="descriptionEditing" icon="icon-attach" @click="showAttachmentModal()"> |
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.
Something is wrong with the sizing of that icon make sure that the background iamge is only 16x16px.
4f15abc
to
33fa460
Compare
type: Number, | ||
required: true, | ||
}, | ||
editor: { |
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.
Hm, I'm not a big fan of that appraoch as this bundles the AttachmentList with the implementation of the editor. Having an event would be much nicer here
float: right; | ||
margin: 40px 3px 3px 0; | ||
} | ||
|
||
.attachment-list { |
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 can also be removed.
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.
Are you sure? There is still an attachment-list entry:
https://github.com/nextcloud/deck/blob/a7473e9ec9bca51c435a36bfd4255e17e5291f22/src/components/card/CardSidebarTabAttachments.vue#L33
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.
Ah, I thought that would already use the new AttachmentList component. Then OK, we can also migrate that later on, maybe you can add a TODO comment for that here.
a7473e9
to
25cd203
Compare
25cd203
to
bd34069
Compare
bd34069
to
13c5adf
Compare
@@ -13068,7 +13068,7 @@ | |||
}, | |||
"os-homedir": { | |||
"version": "1.0.2", | |||
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", |
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.
Please don't commit such changes 😉 I assume you ran npm install
instead of npm ci
.
13c5adf
to
b33b3d9
Compare
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
b33b3d9
to
7c15a17
Compare
Signed-off-by: Jakob Röhrl jakob.roehrl@web.de
TODO