Skip to content

[Chat] Added Styling to Disabled Attachment Card Group#4711

Merged
jpeng-ms merged 12 commits intomainfrom
john/attachment-disable-state
Jun 17, 2024
Merged

[Chat] Added Styling to Disabled Attachment Card Group#4711
jpeng-ms merged 12 commits intomainfrom
john/attachment-disable-state

Conversation

@jpeng-ms
Copy link
Copy Markdown
Member

@jpeng-ms jpeng-ms commented Jun 7, 2024

What

This PR adds support yo disable attachment card group, when attachment card group is disabled, the user interaction is disabled and background color is set to semi-transparent to indicate the disabled state

Before After
image image

Why

improvement

How Tested

Storybook link generated by CI

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 Jun 7, 2024

Chat bundle size is increased❗.

  • Current size: 2096690
  • Base size: 2096289
  • Diff size: 401

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

Calling bundle size is not changed.

  • Current size: 5020567
  • Base size: 5020567
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6377924
  • Base size: 6377523
  • Diff size: 401

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

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

Lines Statements Functions Branches
Base 26099 / 40963
63.71%
26099 / 40963
63.71%
717 / 1281
55.97%
2071 / 3315
62.47%
Current 26129 / 40990
63.74%
26129 / 40990
63.74%
717 / 1281
55.97%
2078 / 3321
62.57%
Diff 30 / 27
0.03%
30 / 27
0.03%
0 / 0
0%
7 / 6
0.1%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

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

Lines Statements Functions Branches
Base 50843 / 81886
62.08%
50843 / 81886
62.08%
1037 / 2311
44.87%
3015 / 4929
61.16%
Current 50884 / 81929
62.1%
50884 / 81929
62.1%
1037 / 2311
44.87%
3034 / 4940
61.41%
Diff 41 / 43
0.02%
41 / 43
0.02%
0 / 0
0%
19 / 11
0.25%

Comment thread packages/react-components/src/components/styles/SendBox.styles.ts Outdated
*/
export const useCustomStyles = makeStyles({
root: {
backgroundColor: 'rgb(0,0,0,0)'
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.

Suggested change
backgroundColor: 'rgb(0,0,0,0)'
backgroundColor: 'transparent'

In this case we will be consistent with other places where we use transparent background and it's a little bit more readable

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks updated

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

github-actions Bot commented Jun 7, 2024

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2024

@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

@jpeng-ms jpeng-ms enabled auto-merge (squash) June 17, 2024 21:30
@github-actions
Copy link
Copy Markdown
Contributor

@jpeng-ms jpeng-ms merged commit 754bc61 into main Jun 17, 2024
@jpeng-ms jpeng-ms deleted the john/attachment-disable-state branch June 17, 2024 21:42
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.

5 participants