angular / angular/components

docs-bug(treeview): Add guide on how to migrate from old treeview to new treeview

Đang mở
#29,919 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
area: cdk/tree docs P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### Documentation Feedback

Following the sudden deprecation of the various tree controllers, it would be nice if there were some kind of documentation on how to remove tree controller and migrate to the new way of doing things. Also, the documentation still contains references to `treeControl`, which it shouldn't because the treeControl has been deprecated?

![Image](https://github.com/user-attachments/assets/f28058a0-742c-4191-a2f5-83822f59ab0d)

A simple migration guide would be warranted as well because there are tonnes of search results and guides on how to use the tree that just became out of date, so if there was an easy way to adapt code to the new way of doing things, that would be ideal.

### Affected documentation page

https://material.angular.io/components/tree/overview

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

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

Hướng nghiên cứu

Start with the tree overview page at https://material.angular.io/components/tree/overview and review its current treeControl references and guidance. Document migration from the deprecated tree controllers to the new tree approach, and remove or update outdated references so the page provides a clear migration path.

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

Đánh giá

Công nghệ
angular
Lĩnh vực
documentation, frontend
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

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.