Skip to content

Remove icon re-registered warning from all 3 composites and storybook landing page#2506

Merged
carocao-msft merged 9 commits intomainfrom
carocao/remove_register_warning
Nov 9, 2022
Merged

Remove icon re-registered warning from all 3 composites and storybook landing page#2506
carocao-msft merged 9 commits intomainfrom
carocao/remove_register_warning

Conversation

@carocao-msft
Copy link
Copy Markdown
Contributor

@carocao-msft carocao-msft commented Nov 9, 2022

What

Remove icon re-registered warning from all 3 composites and storybook landing page

Why

https://skype.visualstudio.com/SPOOL/_workitems/edit/3043083

How Tested

Go to each sample and see if you can see icon reregistered warnings
For calling and callwithchat, the only reregister warning you should be able to see is for icon 'BackSpace', this is due to needing to register backspace icon in HomeScreen.tsx outside of call composite. Remove registerIcons in homescreen then you should not be able to see any reregister warning=> if contoso is only using Call Composite/ Call with chat composite, should not see warnings

For chat you can still see reregister warning, which is coming from ChatHeader component outside of chat composite. the warning should disappear when ChatHeader is removed => if contoso is only using Chat Composite, should not see warnings

For storybook should not see reregister warning on landing page, but still can see reregister warning for composite stories due to needing to register icons for storybook preview and register icons inside composites

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

Calling bundle size is increased❗.

  • Current size: 5337943
  • Base size: 5337928
  • Diff size: 15

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

Chat bundle size is increased❗.

  • Current size: 5446444
  • Base size: 5446443
  • Diff size: 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

CallWithChat bundle size is increased❗.

  • Current size: 5725488
  • Base size: 5725473
  • Diff size: 15

Comment thread packages/react-components/src/theming/icons.tsx
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

@carocao-msft carocao-msft enabled auto-merge (squash) November 9, 2022 21:21
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 9, 2022

@carocao-msft carocao-msft merged commit 29cecd9 into main Nov 9, 2022
@carocao-msft carocao-msft deleted the carocao/remove_register_warning branch November 9, 2022 21:34
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.

4 participants