angular / angular/components

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

未关闭
#29,919 5 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

area: cdk/tree docs P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

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

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

https://material.angular.io/components/tree/overview 的 tree 概览页面开始,检查其中当前对 treeControl 的引用和指导。记录从已弃用的 tree 控制器迁移到新的 tree 方法的过程,并删除或更新过时的引用,以便页面提供清晰的迁移路径。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular
领域
documentation, frontend
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。