Skip to content

Conversation

@BobobUnicorn
Copy link
Collaborator

@BobobUnicorn BobobUnicorn commented Mar 24, 2022

Based on #26585. Followed by #24659.

* Base tree control. It has basic toggle/expand/collapse operations on a single data node.
*
* @deprecated Use one of levelAccessor or childrenAccessor
* @breaking-change 14.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to leave a placeholder for these breaking changes version markers to make sure they are updated when merged to main

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

import {mapTo} from 'rxjs/operators';
import {NestedFoodNode, NESTED_DATA} from '../tree-data';

function* allNodes(nodes: NestedFoodNode[]): Iterable<NestedFoodNode> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid creating a generator for the example? This would be too advanced to introduce in an example

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@BobobUnicorn BobobUnicorn force-pushed the cdk-tree-a11y branch 2 times, most recently from fbacbf3 to d37541b Compare February 17, 2023 22:00
@andrewseguin andrewseguin force-pushed the cdk-tree-revamp branch 2 times, most recently from 565eb38 to fbe321d Compare April 4, 2023 21:45
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Apr 5, 2023
@andrewseguin
Copy link
Contributor

Rebase and probably run yarn bazel run //tools/public_api_guard:cdk/tree.md_api.accept

@andrewseguin
Copy link
Contributor

Looks like its just blocked on a small lint issue with breaking-change

@BobobUnicorn
Copy link
Collaborator Author

not really sure what's going on with the tests, I'll take a look tomorrow

@andrewseguin
Copy link
Contributor

They seem unrelated to me, we can merge this one

@BobobUnicorn BobobUnicorn marked this pull request as ready for review April 13, 2023 16:14
@BobobUnicorn BobobUnicorn requested a review from jelbourn as a code owner April 13, 2023 16:14
@andrewseguin andrewseguin merged commit 9d95e25 into angular:cdk-tree-revamp Apr 13, 2023
@BobobUnicorn
Copy link
Collaborator Author

thanks! I'll prune the PRs that this one subsumes & rebase the rest

@BobobUnicorn BobobUnicorn deleted the cdk-tree-a11y branch April 13, 2023 20:29
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants