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

Confusing initial configuration #125

Open
Robyer opened this issue Apr 11, 2023 · 0 comments
Open

Confusing initial configuration #125

Robyer opened this issue Apr 11, 2023 · 0 comments

Comments

@Robyer
Copy link

Robyer commented Apr 11, 2023

Hi, I just started using your plugin (thanks for making it!) and wanted to report the initial issue I experienced.

  1. I installed and enabled the plugin, then went to options
  2. I pasted the API token
  3. The plugin apparently connected to the API, but showed several error notifications (one regarding null workspace, or something).
  4. I clicked to "connect" button and it just said "success".
  5. I assumed I should select Toggl Workspace, as there was selected "None" at the moment. So I selected my real workspace instead.
  6. Still nothing extra happened. I clicked to "connect" button again, said "success" as before.
  7. Now I deleted the API token in the input field and pasted the API token again. NOW it got correctly connected and started working.

So, basically I see these issues:

  • The "Test API connection"'s "connect" button is useless, as the plugin tries to connect to API automatically after pasting the API key.
    • It is also confusing, as the button itself looks like it triggers (re)connection to the API, which isn't the case.
  • Connecting to API automatically after pasting API token is unexpected. I would expect some explicit "Connect" / "Disconnect" button instead.
  • There is some issue with first connection where Toggl Workspaces are loaded, but none is automatically selected, while the plugin doesn't work unless some is manually selected.
    • Either select first workspace automatically, or change the initial flow somehow.
    • Additionally, workspace change should force plugin reconnect. I sad only "None" and "" in the list, but changing between them did nothing. Now (after restarting Obsidian) I don't see the "None" workspace anymore. So it indicates me seeing it previously was probably some bug.
  • When I delete the API key, Toggl Workspaces are still filled with previous ones and are not deleted (even after Obsidian restart).
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