Skip to content

Silent mode has no visual indicator that PasteShield is active and scanning #15

@NK2552003

Description

@NK2552003

When silent mode is enabled, there is no status bar indicator, badge, or any persistent signal that PasteShield is actively scanning. A developer who enables silent mode and forgets about it has no way to know whether the extension is running, has found anything, or is even installed — until they open the sidebar manually.

Problem

Silent mode is PasteShield's recommended onboarding path:

"Perfect for new users who want visibility without interruption"

But there is nothing in the VS Code UI that tells a user in silent mode that PasteShield is doing anything. Concretely:

  • No status bar item
  • No badge count on the sidebar icon when unreviewed detections exist
  • No notification when a detection is logged in silent mode
  • The only feedback is the history sidebar — which must be opened manually
    For silent mode to work as an onboarding tool, it needs to be slightly visible — enough to remind the user that PasteShield is there and has found something.

Proposed solution

Scope:

  • Add a VS Code status bar item (right-aligned, low priority) showing current mode:
    • $(shield) Active — blocking mode, no recent detections
    • $(shield) Silent — silent mode, no unreviewed detections
    • $(shield) Silent (3) — silent mode, 3 unreviewed detections
    • $(shield-x) Off — PasteShield disabled
  • Clicking the status bar item:
    • If Off: prompt to enable
    • If Active / Silent: open a quick-pick to switch mode or open history sidebar
    • If unreviewed detections exist: open the history sidebar directly
  • Status bar item colour:
    • Neutral when clean
    • statusBarItem.warningBackground when unreviewed detections exist

Acceptance criteria

  • Status bar item is present in all PasteShield states (active, silent, off)
  • Badge count shown in silent mode when unreviewed detections exist
  • Clicking the item opens a quick-pick or the history sidebar depending on state
  • Status bar item uses semantic VS Code colours (no hardcoded hex values)
  • Item is removed when PasteShield is uninstalled

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions