-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Center: add image upload for chats #96105
base: trunk
Are you sure you want to change the base?
Conversation
Link to live branch is being generated... |
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~517 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~1331 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
import { useCallback, useRef, useState } from '@wordpress/element'; | ||
import { __ } from '@wordpress/i18n'; | ||
import { Icon, upload } from '@wordpress/icons'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also use image
instead of upload to reflect what's in the designs. But we may think to ask Lucas to go with a generic upload if needed
The PR adds support for image file uploads in zendesk conversations.
Fixes https://github.com/Automattic/dotcom-forge/issues/9644
Proposed Changes
Let's add the possibility of sending an image in the chat!
Testing Instructions
/home?flags=help-center-experience
and open the Help Center.