-
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
A4A: Add a global contact support widget. #92060
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~192 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. 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. |
262a3c5
to
dec0b52
Compare
dec0b52
to
8434634
Compare
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 |
8434634
to
5480e70
Compare
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.
Looks and works great!
…t changes which triggers contact support form.
5480e70
to
a2e649c
Compare
We currently have a few components that trigger a contact support form. The current process involves redirecting users to the Overview page to render the form, as this is the only page where this component exists. This negatively impacts user experience as it forces users to move to a different page.
This pull request introduces a global contact support form that is located in the sidebar and can be triggered through a hash fragment. Components that rely on the form will only need to update the URL.
Closes https://github.com/Automattic/automattic-for-agencies-dev/issues/644
Proposed Changes
ContactSupportWidget
component that encapsulates the UserFeedbackForm component with the required hooks to monitor changes in the URL hash fragment, which will act as the display flag. The widget will be placed in the Sidebar component since it is a common component present on all pages. This will enable triggering the form display by simply updating the URL with the contact support hash fragment anywhere in the A4A platform.Testing Instructions
/overview
page./marketplace/hosting
page.Pre-merge Checklist