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

fix(tabletoolbarsearch): update default size to be lg #11621

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented Jun 15, 2022

Closes #11446
Surfaced in slack

We updated the default size of Search to be md #10643. The TableToolbarSearch had so far been relying on the previous default, which was larger. When size was not specified to TableToolbarSearch, this was causing issues with alignment in the search button. You can see the bug here. Some stories are not impacted by this because the story controls provide a different default (lg).

image

Changelog

New

  • Add explicit size prop to TableToolbarSearch, default it to lg

Testing / Reviewing

The following datatable stories should be fixed:

  1. https://deploy-preview-11621--carbon-components-react.netlify.app/?path=/story/components-datatable-dynamic--example
  2. https://deploy-preview-11621--carbon-components-react.netlify.app/?path=/story/components-datatable-batch-actions--default
  3. https://deploy-preview-11621--carbon-components-react.netlify.app/?path=/story/components-datatable-filtering--usage
  4. https://deploy-preview-11621--carbon-components-react.netlify.app/?path=/story/components-datatable-toolbar--with-overflow-menu

@tay1orjones tay1orjones requested a review from a team as a code owner June 15, 2022 18:34
@tay1orjones tay1orjones requested review from aledavila and jnm2377 June 15, 2022 18:34
@tay1orjones tay1orjones self-assigned this Jun 15, 2022
@netlify
Copy link

netlify bot commented Jun 15, 2022

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit cc78007
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/62b331f49877f1000810a1ca
😎 Deploy Preview https://deploy-preview-11621--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jun 15, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit cc78007
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/62b331f45c6bb800084121f8
😎 Deploy Preview https://deploy-preview-11621--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

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

lgtm just need to update snapshots

@joshblack
Copy link
Contributor

joshblack commented Jun 21, 2022

@tay1orjones seems like some snapshots need to be updated plus percy and then should be good to go!

@tay1orjones tay1orjones requested a review from a team as a code owner June 22, 2022 15:14
@joshblack
Copy link
Contributor

@tay1orjones does this fix the issue over in: #11492 as well?

@tay1orjones
Copy link
Member Author

@joshblack yep, thanks for the reminder, I just closed in favor of this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: Datatable selection search icon is misaligned
4 participants