Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Obfuscate or don't sync tasks with certain labels #27

Open
mstave opened this issue Jan 4, 2015 · 3 comments
Open

Obfuscate or don't sync tasks with certain labels #27

mstave opened this issue Jan 4, 2015 · 3 comments

Comments

@mstave
Copy link

mstave commented Jan 4, 2015

I don't want work tasks in habitrpg.

I put in a kludge in my copy of habitSync.prototype.syncItemsToHabitRpg under your check for the labels length:

var myworkID = 136886;
for(var i in item.todoist.labels) {
   if (item.todoist.lables[i] == myworkID) {
      task.text = "work [" + task.text[0] + ".." + task.text[task.text.length -1] + "]";
   }
}

So for me, tasks with label of @work such as "Foo the bar" become "work [F..r]"
Presumably would be nicer to have a CLI param to specify the text of the label, but this got me unblocked.

@crookedneighbor
Copy link
Contributor

This would be another good candidate for a config.json file. Do not sync labels.

@kusold
Copy link
Owner

kusold commented Jan 6, 2015

💯 agree. I think this use case creates the strongest use case for a config file.

@cmmata
Copy link

cmmata commented Jun 5, 2015

Would be great to not sync specific labels / projects. For example I have a project for all blog posts I have to read, and I don't want to sync it anywhere. Would it be possible? Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants