Skip to content

[Chat] Update inline image / file sharing data type names#3846

Merged
emlynmac merged 24 commits intomainfrom
emlyn/update-inline-image-names
Dec 1, 2023
Merged

[Chat] Update inline image / file sharing data type names#3846
emlynmac merged 24 commits intomainfrom
emlyn/update-inline-image-names

Conversation

@emlynmac
Copy link
Copy Markdown
Member

@emlynmac emlynmac commented Nov 30, 2023

What

Update naming and data layout for inline images and file attachments following internal review
ChatMessage now has files and inlineImages

Why

Simplify the API and clarify usage

How Tested

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
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 30, 2023

Chat bundle size is decreased✅.

  • Current size: 1522310
  • Base size: 1522451
  • Diff size: -141

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 30, 2023

Calling bundle size is not changed.

  • Current size: 5584942
  • Base size: 5584942
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 30, 2023

CallWithChat bundle size is decreased✅.

  • Current size: 6394225
  • Base size: 6394366
  • Diff size: -141

@emlynmac emlynmac changed the title Emlyn/update inline image names [Chat] Update inline image / file sharing data type names Nov 30, 2023
@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@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.

@github-actions
Copy link
Copy Markdown
Contributor

extension: string;
id: string;
name: string;
// (undocumented)
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.

Optional: Would be nice to add document of what this payload is about and what are the keys and values.

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.

@Leah-Xia-Microsoft
Copy link
Copy Markdown
Member

In the storybook generated from this PR (https://60c7ae6891f0e90039d7cd54-zpwcqifwwg.chromatic.com/?path=/story/ui-components-messagethread--message-thread),
when sending a message with inline image in the Preview tab, the image is not displayed. Is it related to the changes in this PR?

@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.

@github-actions
Copy link
Copy Markdown
Contributor

@emlynmac
Copy link
Copy Markdown
Member Author

In the storybook generated from this PR (https://60c7ae6891f0e90039d7cd54-zpwcqifwwg.chromatic.com/?path=/story/ui-components-messagethread--message-thread), when sending a message with inline image in the Preview tab, the image is not displayed. Is it related to the changes in this PR?

Thanks; missed a storybook change.

@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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

Comment thread packages/communication-react/review/beta/communication-react.api.md Outdated
Copy link
Copy Markdown
Member

@Leah-Xia-Microsoft Leah-Xia-Microsoft left a comment

Choose a reason for hiding this comment

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

Besides Patrick's comments, all look good. Thanks for the hard work.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

@emlynmac emlynmac enabled auto-merge (squash) December 1, 2023 19:51
@emlynmac emlynmac merged commit 71f3f19 into main Dec 1, 2023
@emlynmac emlynmac deleted the emlyn/update-inline-image-names branch December 1, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants