Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add Todoist task with the current page" from a card/page on a canvas does not create a task with the expected result #228

Open
gstoel opened this issue May 16, 2023 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@gstoel
Copy link

gstoel commented May 16, 2023

Describe the bug
When trying to add tasks to Todoist by selecting text on a note or card which is embedded in a canvas :

  • does not copy over the selected text in the task title
  • does not reference the actual note but the canvas

To Reproduce
Steps to reproduce the behavior for a card:

  1. create new canvas
  2. add a card to the canvas
  3. type some text in the card (eg. Make sure I add this text from a card to Todoist)
  4. select the text
  5. open the command panel and select the Todoist Plugin: Add todoist task with the current page
  6. the popup opens showing the following prefilled text in the task title box: [Untitled.canvas](obsidian://open?vault=obsidian_pkb&file=Untitled.canvas)

Steps to reproduce the behavior for a newly created note from the canvas:

  1. use the same canvas as created above
  2. add a note to the canvas (for reproducability create a new note)
  3. type some text in the note (eg. Make sure I add this text from my note to Todoist)
  4. select the text in the note
  5. open the command panel and select the Todoist Plugin: Add todoist task with the current page
  6. the popup opens showing the following prefilled text in the task title box: [Untitled.canvas](obsidian://open?vault=obsidian_pkb&file=Untitled.canvas)

Steps to reproduce the behavior for an existing note from the canvas:

  1. create a new note as normal in obsidian
  2. add some text to the note (eg. Make sure I add this text from my pre created note to Todoist)
  3. go to the same canvas as created above
  4. add a note to the canvas and link to the note created in step 1
  5. select the text in the note
  6. open the command panel and select the Todoist Plugin: Add todoist task with the current page
  7. the popup opens showing the following prefilled text in the task title box: [Untitled.canvas](obsidian://open?vault=obsidian_pkb&file=Untitled.canvas)

Expected behavior
A clear and concise description of what you expected to happen.
I would expect to have the selected text in the title as well as the link back to the actual page the text is on instead of the link back to the canvas page itself.

Screenshots
If applicable, add screenshots to help explain your problem.

the canvas
image

How the tasks end up in Todoist
image

adding from a normal note does work as expected
image

image

Desktop (please complete the following information):

  • Plugin Version 1.11.1
  • Obsidian Version 1.2.8

Additional context
Add any other context about the problem here.

@gstoel gstoel added the 🐛 bug Something isn't working label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant