Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Proactively inform users when there are updates available

Đang mở
#384 2 bình luận 6 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
devtools

Hướng nghiên cứu

Start by reading discussion #382 and tracing the existing lightbulb and Check For Updates flow for the libman.json example. Define the notification behavior and suppression semantics, including version ranges such as bootstrap@3.x; done means updates are surfaced proactively and users can suppress unwanted major-version notices.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature Request
Functional impact

This is a new feature request based on discussion in #382. Currently the only way to determine which libraries have new versions available is to place the cursor on each one in VS and wait for the lightbulb to show up. It would be better if we can surface it in some way so users can get a better sense of what is or isn't up to date.

Minimal repro steps

libman.json file:

{
  "version": "1.0",
  "defaultProvider": "cdnjs",
  "defaultDestination": "Scripts/",
  "libraries": [
    { "library": "jquery@3.3.0" }
  ]
}
Expected result

Something should automatically inform me that there's an update available (in this case jquery@3.3.1)

Actual result

The only way to learn of the update from the IDE is to invoke the lightbulb on the jquery entry, and invoke the Check For Updates from there.

Further technical details

This feature would also need a way to suppress notifications. For example, if I have bootstrap@3.x, I want to be able to suppress notifications about bootstrap@4.x until I consciously make the switch. This could possibly be a new property on the library entry ("checkForUpdates": false?}.

Ngôn ngữ chính
C#
Star
486
Fork
91
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aspnet/LibraryManager

Tất cả issue của aspnet/LibraryManager

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.