angular / angular/components

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

Ouverte
#29,919 5 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
area: cdk/tree docs P4
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

### 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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular
Domaine
documentation, frontend
Type d'issue
Documentation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.