Skip to content

Fix side pane when composite is narrow#2864

Merged
mgamis-msft merged 27 commits intomainfrom
mgamis/fix-side-pane-when-composite-is-narrow
Mar 31, 2023
Merged

Fix side pane when composite is narrow#2864
mgamis-msft merged 27 commits intomainfrom
mgamis/fix-side-pane-when-composite-is-narrow

Conversation

@mgamis-msft
Copy link
Copy Markdown
Contributor

What

Set composite min width to 30rem to avoid overlap of side pane when it is open.

Why

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

How Tested

Local sample testing

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.

// Copyright (c) Microsoft Corporation.

/**
* @private
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: Maybe add a small comment here as to what the number is for.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added 👍

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2023

Calling bundle size is increased❗.

  • Current size: 9507617
  • Base size: 9507577
  • Diff size: 40

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2023

Chat bundle size is not changed.

  • Current size: 9575225
  • Base size: 9575225
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2023

CallWithChat bundle size is increased❗.

  • Current size: 9897377
  • Base size: 9897315
  • Diff size: 62

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@mgamis-msft mgamis-msft added the update_snapshots Set this label to request automated update of UI snapshots label Mar 31, 2023
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Mar 31, 2023
@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft added the update_snapshots Set this label to request automated update of UI snapshots label Mar 31, 2023
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Mar 31, 2023
@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft merged commit af84819 into main Mar 31, 2023
@mgamis-msft mgamis-msft deleted the mgamis/fix-side-pane-when-composite-is-narrow branch March 31, 2023 23:30
mgamis-msft added a commit that referenced this pull request Mar 31, 2023
* set min width of composite content to 30rem

* Change files

* Duplicate change files for beta release

* fix incorrect file header

* Add comment to variable and simplified variable name

* include minWidth styling for stable

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* apply minwidth only when not mobile

* cond-comp import

* cond-comp fix

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* revert all snapshot updates

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com>
mgamis-msft added a commit that referenced this pull request Apr 1, 2023
* Fix side pane when composite is narrow (#2864)

* set min width of composite content to 30rem

* Change files

* Duplicate change files for beta release

* fix incorrect file header

* Add comment to variable and simplified variable name

* include minWidth styling for stable

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* apply minwidth only when not mobile

* cond-comp import

* cond-comp fix

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallWithChatComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* revert all snapshot updates

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com>

* update beta release notes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com>
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