Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useOverflow argument change: itemsitemsCount #2150

Merged
merged 39 commits into from
Oct 11, 2024
Merged

Conversation

r100-stack
Copy link
Member

@r100-stack r100-stack commented Jul 18, 2024

Changes

Pulled out of #2120 as PR 2 in the PR stack (PR stack order). Didn't include this change in #2154 to prevent that PR from getting large and also because of #2150 (review).

In the OverflowContainer from later in the stack, it could be confusing why items are passed as children and as the items prop (@mayank99 pointed this out a while back). Thus, this PR renames useOverflow()'s items argument to itemsCount.

Testing

Tests still passing.

Docs

No changeset since not a user facing change.

@r100-stack r100-stack self-assigned this Jul 18, 2024
@r100-stack r100-stack changed the base branch from main to r/useoverflow-new-algorithm October 1, 2024 16:56
@r100-stack r100-stack changed the title New overflow detection algorithm to be used in ButtonGroup OverflowContainer prop change: itemsitemsCount Oct 1, 2024
@r100-stack r100-stack marked this pull request as ready for review October 1, 2024 17:26
@r100-stack r100-stack requested a review from a team as a code owner October 1, 2024 17:26
@r100-stack r100-stack requested review from mayank99 and smmr-dn and removed request for a team October 1, 2024 17:26
Copy link
Contributor

@mayank99 mayank99 left a comment

Choose a reason for hiding this comment

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

Changes look good, but I feel like this PR should probably be earlier in the stack, since it does not really depend on the large code changes from #2154.

@r100-stack r100-stack changed the base branch from r/useoverflow-new-algorithm to r/unit-tests-to-e2e October 1, 2024 23:35
@r100-stack r100-stack changed the title OverflowContainer prop change: itemsitemsCount useOverflow argument change: itemsitemsCount Oct 1, 2024
@r100-stack
Copy link
Member Author

Changes look good, but I feel like this PR should probably be earlier in the stack, since it does not really depend on the large code changes from #2154.

Sounds good, moved it up the stack. Updated the existing message with the new order.

Base automatically changed from r/unit-tests-to-e2e to main October 9, 2024 20:28
@r100-stack r100-stack merged commit 99435e0 into main Oct 11, 2024
18 checks passed
@r100-stack r100-stack deleted the r/overflow-container branch October 11, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants