Skip to content

Conversation

@red-avtovo
Copy link

Hi! Thanks for the application.
I just installed the Vikunja 1.0.0-rc3 and tried to import my data from TickTick.
I noticed that completed tasks are set to 2 in the backup CSV file and I see, that you're mapping it to 1 instead. It seems like TickTick changed its status mapping.

As you can see at the screenshot, there are no status=1 at all. The file itself is about 700 rows, and statuses have only 0s or 2s
image

Update the TickTick Done status mapping
@kolaente
Copy link
Member

In the csv export, what does the status explanation say at the top of the file?

@red-avtovo
Copy link
Author

ooohhh... I can't read

"Status:
0 Normal
1 Completed
2 Archived"

Although, the tool treats 2 as not completed

@kolaente
Copy link
Member

Technically, just because a task is archived does not mean it's completed. I guess the semantics of it are similar, but it's not the same.

Since Vikunja does not have a way to properly archive tasks, we could handle them the same. Do you want to adjust your PR?

@kolaente
Copy link
Member

Please also adjust the tests

Copy link
Member

@kolaente kolaente left a comment

Choose a reason for hiding this comment

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

Please add a new test for the new behaviour

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.

2 participants