flutter / flutter/devtools

Separate pub root preference logic, from lifecycle

Đang mở
#4,342 0 bình luận 0 reaction 1 người được giao Được @CoderDake nhận Xem trên GitHub
P3 tech debt
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

The custom pub root directory code in https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/shared/preferences.dart

Is tightly coupled with lifecycle triggers from the servicemanager, and isolate managers.

To make the code cleaner, and more testable, separate the lifecycle logic from the preference logic. This may require moving the custom pub root directory code to a separate class and then triggering the logic in those lifecycle triggers.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.