-
Notifications
You must be signed in to change notification settings - Fork 275
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
Label editing in board sidebar #935
Conversation
moved to first post |
<template v-if="editingLabelId === label.id"> | ||
<input v-model="editingLabel.title"><input v-model="editingLabel.color"> | ||
<button class="icon-checkmark" @click="updateLabel(label)" :disabled="!editLabelObjValidated" | ||
v-tooltip="{content: 'title and color must be provided', |
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 use a translatable string there
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.
@jakobroehrl Some minor comments. Besides that it looks good. 👍
@jakobroehrl I also updated the TODO list in the original post. |
b3c569b
to
6efca19
Compare
6efca19
to
b7383d2
Compare
<span :style="{ backgroundColor: `#${label.color}`, color:textColor(label.color) }" class="label-title"> | ||
<span v-if="label.title">{{ label.title }}</span><i v-if="!label.title"><br></i> | ||
</span> | ||
<button v-tooltip="t('deck', 'Edit')" class="icon-rename" @click="clickEdit(label)" /> |
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.
<button v-tooltip="t('deck', 'Edit')" class="icon-rename" @click="clickEdit(label)" /> | |
<button v-tooltip="t('deck', 'Edit')" class="icon-rename" @click="clickEdit(label)" /> |
@jakobroehrl Looks good appart from my small change requests 👍 We definitely still need to do some polishing of the color picker, so that it properly fits into the sidebar, but I'm fine with doing that in a separate pull request. We should try to get this merged to the vue branch, and continue with the other sidebar tabs in separate pull requests. |
I've created a ColorPicker-Component in the vue branch, so we can just use that once we merged your branch back. 😉 |
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
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>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
7b25bdf
to
3f272b9
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5307ae9
to
643797d
Compare
Thanks a lot for all the work @jakobroehrl 🎉 |
Signed-off-by: Jakob Röhrl jakob.roehrl@web.de
Summary
TODO
Note the color type of input fields as we use it right now in the angular version doesn't work with safari, so feel free to hook in some color picker library for the custom colors like https://xiaokaike.github.io/vue-color/
Checklist