microsoft / microsoft/vscode

feat: Add Status Bar Item for NPM Up-to-Date feature observability and manual refresh

Open
#336,630 0 comments 0 reactions 1 assignee Claimed by @aeschli View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Currently, the `NpmUpToDateFeature` runs completely in the background (`headless`), making it difficult for users to know the current state of their package checks or manually trigger a refresh.

#### Proposed Changes:
1. **Create a Status Bar Item:** Add a dedicated status bar component to reflect the current status (e.g., checking, up-to-date, or update available).
2. **Manual Refresh Action:** Allow users to click the status bar item to trigger an immediate check manually.
3. **Configuration & Lifecycle Management:** Properly dispose of and update the status bar item when the feature is enabled/disabled via workspace settings or during extension deactivation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.