Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

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

Open
awidjaja opened this issue Jun 4, 2018 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@awidjaja
Copy link

awidjaja commented Jun 4, 2018

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 mkloubert added enhancement New feature or request good first issue Good for newcomers labels Jun 5, 2018
@mkloubert
Copy link
Owner

mkloubert commented Jun 10, 2018

@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
Copy link
Owner

@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
Copy link
Owner

@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
Copy link
Author

awidjaja commented Jun 12, 2018

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

  • The auto copy of long text in existing card to the new detail section didn't work
  • The metadata is ok, but it is missing Title and will be better to use frontmatter format, example:
---
Title: The Title
Assigned to: John Doe
Category: Project
Column: todo
Creation time: 2018-06-05 08:32:58 (UTC)
Type: note
---
# The Title

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants