Skip to content

Status bar icon disappears when disabling GitDoc, making it hard to re-enable #89

@tomglynch

Description

@tomglynch

Description:
Currently, clicking the status bar icon disables GitDoc, but once disabled, the icon itself disappears. This makes it difficult to re-enable GitDoc without navigating through other settings. A toggle where the button disappears after clicking is an anti-pattern and an odd UX.

Steps to Reproduce:

  1. Click the GitDoc status bar icon.
  2. GitDoc gets disabled, and the icon disappears.
  3. To re-enable GitDoc, you must go through the extension settings or command palette instead of simply clicking the icon again.

Proposed Solution:

  • Instead of removing the status bar icon when GitDoc is disabled, change its appearance to indicate its inactive state.
  • This can be shown whenever the GitDoc extension is installed, rather when GitDoc itself is enabled.
  • Clicking the inactive icon should re-enable GitDoc, acting like a toggle.
  • This gives better visibility of GitDoc and would reduce confusion about when GitDoc is enabled or not.
  • Hovering over the GitDoc icon should also say whether it is enabled or not.

Additional Context:
This change would improve usability by making it easier to toggle GitDoc without hunting through settings.

Sidenote:
When I started using GitDoc, I was unaware of what the status bar icon looks like and wasn't sure what I was looking for so I'd recommend including an image of it in the README or extension description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions