mkloubert / vscode-kanban

Kanban board for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-kanban
GNU Lesser General Public License v3.0
283 stars 52 forks source link

[Feature request] Another text input field for writing on the back of the card #5

Open awidjaja opened 6 years ago

awidjaja commented 6 years ago

Great extension!

To keep the card nice and simple:

  1. limit the total characters in the input field and wrap the display to the length of the card (avoid horizontal and vertical scroll bar)
  2. add another input field for writing more details on the back of the card, which will open in full (e.g. by double-clicking)
  3. save the card as *.md artifacts in the repository with some frontmatter so it can be searched.
mkloubert commented 6 years ago

@awidjaja @samael205 @yusufbadurohman

Tasks 1 and 2 have been implemented in version 1.12.0:

demo5

Descriptions are limited to 255 characters now. Existing descriptions, which have more characters, will be cut and their "overhead" will be moved to "Details", the time you start edit the card AND save it.

Task 3 should be implemented in the next days, I think.

mkloubert commented 6 years ago

@awidjaja

The current implementation (not released yet ;-) looks that:

An exported card file has the following format:

vs-kanban_{TOTAL_CARD_INDEX}_{COLUMN_NAME}_{CARD_INDEX_INSIDE_COLUMN}_{TITLE}.md

Example: vs-kanban_2_in-progress_1_A note.md

An example of the structure of such a file:

# [Category] Title of the card

## Meta

* Assigned to: `Marcel Kloubert`
* Column: `todo`
* Creation time: `1979-09-05T23:09:19.790Z`

## Description

(content from 'Description' tab / field)

## Details

(content from 'Details' tab / field)

Suggestions are welcome :-)

mkloubert commented 6 years ago

@awidjaja

Since version 1.13.0 there is a setting, called exportOnSave, which you can set to (true) to export cards to files.

vscode-kanban_*.card.md files will be created, which looks like that:

# A note

## Meta

* Assigned to: `Marcel Kloubert`
* Category: `Breaking Changes`
* Column: `todo`
* Creation time: `1979-09-05T23:09:19.790Z`
* Type: `note`

## Description

A short description.

## Details

A long description.
awidjaja commented 6 years ago

@mkloubert

Great job. The Kanban board look much neater now and the cards is organized in a folder that the user can configure. I can use it comfortably now.

There are some minor issue:

< ... >


* I notice even after enabling the saveonexport, the vscode-kanban.json still contains the data. I think it is neater to just keep the index to the saved file and thus when the file is modified it will always be in sync with the Kanban.