Skip to content
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

Merged
merged 10 commits into from
Apr 26, 2019
Merged

Label editing in board sidebar #935

merged 10 commits into from
Apr 26, 2019

Conversation

jakobroehrl
Copy link
Contributor

@jakobroehrl jakobroehrl commented Mar 12, 2019

Signed-off-by: Jakob Röhrl jakob.roehrl@web.de

  • 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. 👍

src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
@juliusknorr
Copy link
Member

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

src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
<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)" />

src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
src/components/board/TagsTabSidebard.vue Outdated Show resolved Hide resolved
@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
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
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>
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>
@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.

3 participants