This commit is contained in:
Mike Phares 2023-05-30 11:59:24 -07:00
parent 5cb3b39764
commit 2ffd43908e
8 changed files with 43 additions and 5 deletions

View File

@ -19,6 +19,9 @@
.kanbn-column-done .kanbn-column-task-list {
border-color: #198038;
}
.kanbn-task-data-workload {
display: none;
}
.kanbn-task-data-relation {
display: block;
color: #198038;

View File

@ -11,6 +11,7 @@ completedColumns:
- [review-save-options](tasks/review-save-options.md)
- [can-this-run-in-the-browser](tasks/can-this-run-in-the-browser.md)
- [how-do-i-use-local-javascript-project-reference](tasks/how-do-i-use-local-javascript-project-reference.md)
## Todo
@ -26,3 +27,4 @@ completedColumns:
- [show-relations-on-the-item-card](tasks/show-relations-on-the-item-card.md)
- [understand-how-relations-work](tasks/understand-how-relations-work.md)
- [review-adding-more-on-item-card](tasks/review-adding-more-on-item-card.md)
- [remove-relations-in-form](tasks/remove-relations-in-form.md)

View File

@ -0,0 +1,9 @@
---
created: 2023-05-26T03:47:27.942Z
updated: 2023-05-26T03:47:27.933Z
assigned: ""
progress: 0
tags: []
---
# How do I use local javascript project reference

View File

@ -0,0 +1,18 @@
---
created: 2023-05-30T18:38:37.231Z
updated: 2023-05-30T18:54:59.604Z
assigned: ""
progress: 1
tags: []
started: 2023-05-28T00:00:00.000Z
completed: 2023-05-30T00:00:00.000Z
---
# Remove relations in form
## Comments
- date: 2023-05-30T18:42:55.772Z
Added count to button title
Used false
see false && values.relations.length > 0 && values.relations.map((relation, index) =>

View File

@ -1,7 +1,12 @@
# 0.12.2
# 0.12.3
* See board ...
# 0.12.2
* See below
- [remove-relations-in-form](tasks/remove-relations-in-form.md)
# 0.12.1
* See below

View File

@ -7,7 +7,7 @@
"color": "#72abdd",
"theme": "dark"
},
"version": "0.12.2",
"version": "0.12.3",
"engines": {
"vscode": "^1.23.0"
},
@ -125,7 +125,8 @@
"tsc:build": "tsc -p tsconfig.extension.json",
"build": "node ./scripts/build-non-split.js && tsc -p tsconfig.extension.json",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"vscode:package": "vsce package"
},
"devDependencies": {
"@types/dateformat": "^3.0.1",

View File

@ -421,7 +421,7 @@ const TaskEditor = ({ task, tasks, columnName, columnNames, customFields, dateFo
<FieldArray name="relations">
{({ insert, remove, push }) => (
<div>
{values.relations.length > 0 && values.relations.map((relation, index) => (
{false && values.relations.length > 0 && values.relations.map((relation, index) => (
<div className="kanbn-task-editor-row kanbn-task-editor-row-relation" key={index}>
<div className="kanbn-task-editor-column kanbn-task-editor-field-relation-type">
<Field
@ -465,7 +465,7 @@ const TaskEditor = ({ task, tasks, columnName, columnNames, customFields, dateFo
<button
type="button"
className="kanbn-task-editor-button kanbn-task-editor-button-add"
title="Add relation"
title={`Add relation [${values.relations.length} relation(s)]`}
onClick={() => push({ type: '', task: '' })}
>
<i className="codicon codicon-link"></i>Add relation

BIN
vscode-kanbn-0.12.2.vsix Normal file

Binary file not shown.