cbrooker / MMM-Todoist

This is an extension for the MagicMirror2 platform. It will display your Todoist todos on your MagicMirror.
MIT License
151 stars 56 forks source link

max indent level #43

Closed ant2221 closed 4 years ago

ant2221 commented 5 years ago

to filter to only have max number of indent levels shown to only show the high level items as reminders rather than filling whole screen of details.

ReadMe: Add Configuration Option text: indent: 1,

This will determine the maximum number of indent to display

Possible values: int Default value: 10 Note: Todoist only currently allows 4 levels of indent. Default kept high for future compatibility should this change.

MMM-Todoist.js add line 60: indent: 10, change line 245: if (item.project_id == project && item.indent <= self.config.indent){