Skip to content

Conversation

@jakobroehrl
Copy link
Contributor

@jakobroehrl jakobroehrl commented Mar 12, 2019

Signed-off-by: Jakob Röhrl [email protected]

  • Resolves: #
  • Target version: master

Summary

TODO

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

@juliusknorr
Copy link
Member

juliusknorr commented Apr 11, 2019

moved to first post

@juliusknorr juliusknorr changed the title first try Label editing in board sidebar Apr 11, 2019
<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',
Copy link
Member

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

Copy link
Member

@juliusknorr juliusknorr left a 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. 👍

@juliusknorr
Copy link
Member

@jakobroehrl I also updated the TODO list in the original post.

<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)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<button v-tooltip="t('deck', 'Edit')" class="icon-rename" @click="clickEdit(label)" />
<button v-tooltip="t('deck', 'Edit')" class="icon-rename" @click="clickEdit(label)" />

@juliusknorr
Copy link
Member

@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.

@juliusknorr
Copy link
Member

We definitely still need to do some polishing of the color picker, so that it properly fits into the sidebar

I've created a ColorPicker-Component in the vue branch, so we can just use that once we merged your branch back. 😉

jakobroehrl and others added 7 commits April 26, 2019 15:39
@juliusknorr juliusknorr merged commit d32da10 into vue Apr 26, 2019
@juliusknorr juliusknorr deleted the vue-board-sidebar branch April 26, 2019 14:27
@juliusknorr
Copy link
Member

Thanks a lot for all the work @jakobroehrl 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants