Skip to content

Conversation

wagnermaciel
Copy link
Contributor

@wagnermaciel wagnermaciel commented Apr 22, 2025

…into list-focus

  • Move focus-related things out of the ListNavigation behavior and into ListFocus. This includes activeIndex and isFocusable.
  • Make behaviors that depend on other behaviors extend the inputs of those other behaviors. This is intended to stop us from needing to prop-drill.

Example:

// Before
this.inputs.navigation.inputs.activeIndex()

// After
this.inputs.activeIndex()

@wagnermaciel wagnermaciel marked this pull request as ready for review April 22, 2025 17:03
@wagnermaciel wagnermaciel requested a review from a team as a code owner April 22, 2025 17:03
@wagnermaciel wagnermaciel requested review from adolgachev, andrewseguin, crisbeto and ok7sai and removed request for a team and adolgachev April 22, 2025 17:03
@wagnermaciel
Copy link
Contributor Author

I tried splitting out this change into separate PRs but it ended up being almost the same size:
#30926

The size of this change is primarily due to updating unit test boilerplate to work with the changes

@wagnermaciel wagnermaciel added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release labels Apr 22, 2025
@wagnermaciel wagnermaciel merged commit 9f5b154 into angular:main Apr 23, 2025
24 of 26 checks passed
@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 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants