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

Ability to suppress popup when plugin does not change page content #1656

Open
cspotcode opened this issue Nov 4, 2024 · 0 comments
Open

Comments

@cspotcode
Copy link

cspotcode commented Nov 4, 2024

Problem to Solve

Following up from #1519

I have written a plugin which copies a markdown-formatted link to the page, so I can paste it into my ToDo app. This is useful for any app which understands markdown but does not understand onenote: links. The http part of the link might be auto-detected, but that's not what I want because it opens the OneNote webapp, not the desktop app. Another benefit: markdown links can also include the page title.

My plugin works correctly. However, since it doesn't change the page contents, OneMore shows this popup:

image

I am trying to streamline the workflow as much as possible, ideally skipping this popup.

Plugins are not available from the command palette, so I must do a number of steps to use it:

  • open palette
  • choose "run plugin", press enter
  • choose plugin from the dropdown
  • click run
  • dismiss the popup
  • alt-tab to to-do app
  • paste link

In a perfect world, I would love to streamline this:

  • open palette
  • type "plug mark" which highlights "Run Plugin: Copy Markdown to Page", press enter
  • alt-tab to to-do app
  • paste link

...or even bind the plugin to a hotkey.

New Feature/Solution

Allow suppressing the popup dialog which appears when a plugin does not change the page. This could be signaled by the plugin itself, or could be a part of the plugin's configuration. Perhaps a checkbox in the plugin options GUI?

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

No branches or pull requests

1 participant