Skip to content

[Bugfix] PiPiP Stop scaling mode popup#4652

Merged
dmceachernmsft merged 5 commits intomainfrom
dmceachernmsft/localtile-longpress-fix
May 24, 2024
Merged

[Bugfix] PiPiP Stop scaling mode popup#4652
dmceachernmsft merged 5 commits intomainfrom
dmceachernmsft/localtile-longpress-fix

Conversation

@dmceachernmsft
Copy link
Copy Markdown
Member

@dmceachernmsft dmceachernmsft commented May 23, 2024

What

Remove the scaling mode options from the PiPiP per design suggestion

Why

Stops the scaling mode options from popping up when user is dragging the modal after a long press

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

How Tested

Validated locally

Record_2024-05-23-11-58-19.mp4

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2024

Chat bundle size is not changed.

  • Current size: 2057143
  • Base size: 2057143
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2024

Calling bundle size is increased❗.

  • Current size: 4846464
  • Base size: 4846417
  • Diff size: 47

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6171055
  • Base size: 6171008
  • Diff size: 47

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2024

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 25833 / 40006
64.57%
25833 / 40006
64.57%
710 / 1255
56.57%
2069 / 3259
63.48%
Current 25776 / 40007
64.42%
25776 / 40007
64.42%
710 / 1255
56.57%
2045 / 3240
63.11%
Diff -57 / 1
-0.15%
-57 / 1
-0.15%
0 / 0
0%
-24 / -19
-0.37%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2024

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 50215 / 80236
62.58%
50215 / 80236
62.58%
1028 / 2278
45.12%
2951 / 4813
61.31%
Current 50211 / 80246
62.57%
50211 / 80246
62.57%
1028 / 2278
45.12%
2932 / 4812
60.93%
Diff -4 / 10
-0.01%
-4 / 10
-0.01%
0 / 0
0%
-19 / -1
-0.38%

@github-actions
Copy link
Copy Markdown
Contributor

convertContextualMenuItemsToDrawerMenuItemProps(contextualMenuProps, () =>
setDrawerMenuItemProps([])
)
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: maybe you can use ?? here like:

props.onLongTouch ?? () =>
  setDrawerMenuItemProps(
    convertContextualMenuItemsToDrawerMenuItemProps(contextualMenuProps, () =>
      setDrawerMenuItemProps([])
    )
  )

@dmceachernmsft dmceachernmsft enabled auto-merge (squash) May 23, 2024 23:57
@github-actions
Copy link
Copy Markdown
Contributor

@dmceachernmsft dmceachernmsft merged commit 885ab06 into main May 24, 2024
@dmceachernmsft dmceachernmsft deleted the dmceachernmsft/localtile-longpress-fix branch May 24, 2024 00:06
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