obsidian-todoist-plugin icon indicating copy to clipboard operation
obsidian-todoist-plugin copied to clipboard

Project and Section show up as unknown during onboarding session

Open webdevotion opened this issue 4 years ago • 4 comments

Describe the bug Project and Section show up as unknown.

To Reproduce Steps to reproduce the behavior:

  1. install plugin ( for the first time )
  2. activate plugin
  3. configure plugin
  4. paste plugin block in markdown document
  5. show preview
  6. tasks show up, but project and section show up as unknown project and unknown section.
  7. close Obsidian
  8. open Obsidian
  9. check same markdown document
  10. seems to work now

Expected behavior When onboarding the plugin should show projects and sections as expected.

Screenshots Not available: works as expected after restarting Obsidian.

Desktop (please complete the following information):

  • Plugin Version [e.g. 1.8.0]
  • Obsidian Version [e.g. 0.12.12]

Additional context n/a

webdevotion avatar Aug 19 '21 10:08 webdevotion

I expect this is a race condition in fetching the required data from Todoist's API. I'm currently rewriting the API integration to use the Sync API which should eliminate these issues.

jamiebrynes7 avatar Aug 24 '21 09:08 jamiebrynes7

Thank you for the feedback.

A minute ago the plugin failed to fetch the newly created tags from the new tasks I created in Todoist. They were gracefully rendered as unknown label.

Restarting Obsidian fixed the issue ( exactly like the previous quick fix mentioned above ).

webdevotion avatar Aug 24 '21 10:08 webdevotion

You can also run the 'Refresh Metadata' command which I think should resolve these issues without a restart

jamiebrynes7 avatar Aug 24 '21 10:08 jamiebrynes7

I am having a similiar issue where the projects on my list just show up as Uknown Project. CleanShot 2023-10-17 at 14 28 46@2x

danielelliotr avatar Oct 17 '23 18:10 danielelliotr