obsidian-trello icon indicating copy to clipboard operation
obsidian-trello copied to clipboard

Initial setup requires application restart in edge cases

Open nathonius opened this issue 3 years ago • 1 comments

  • Given a vault already has trello connected notes
  • If the user is going through initial setup because they
    • removed the plugin, but added it back
    • invalidated/unset the token
    • opened the vault on another computer, with a fresh copy of the plugin
    • etc
  • The trello view will show
    • No connected note
    • Token is required
    • Button to set up trello plugin
  • After adding the token, nothing changes
    • To get the card to display correctly, obsidian must be restarted or another note must be connected, etc. Anything to invalidate the cache or update the plugin state

To fix this, when a new token is set the cache should be invalidated and the current file reprocessed.

nathonius avatar Sep 04 '21 03:09 nathonius