-
Notifications
You must be signed in to change notification settings - Fork 384
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
Adds streamlined support request flow #6147
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #6147 +/- ##
=============================================
- Coverage 75.11% 72.80% -2.32%
- Complexity 5858 6046 +188
=============================================
Files 234 236 +2
Lines 17713 18286 +573
=============================================
+ Hits 13306 13313 +7
- Misses 4407 4973 +566
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
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.
Great work. I like the changes with the UX.
f9a3e96
to
ed1bcb6
Compare
886cba6
to
1195e3b
Compare
1195e3b
to
862bfa5
Compare
…lidated_urls without stale results.
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.
@dhaval-parekh Thanks for addressing the feedback so far. I've followed up on some comments, so please have a look.
Also, when testing the Support page live, I've noticed some visual issues:
- The main box (
Selectable
) doesn't fit into the viewport and overflows to the right. - The "Create support topic" button doesn't see me to centered vertically with the button.
- In case there are no elements in a section (e.g. "Errors (0)"), I don't think there should be an expander next to it (since the expanded pane is empty).
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.
@dhaval-parekh Thank you for addressing my previous feedback. I left a few more comments but they are very minor.
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.
@dhaval-parekh From my point of view, once the last issue is addressed, the PR is good to go front-end wise. Thank you for your effort!
@pierlon @westonruter Can you have another look when you get a chance?
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.
Sorry for the long-overdue review. I'm requesting changes, but I'm going to go ahead and merge since they can be actioned upon in a new PR.
*/ | ||
public static function is_needed() { | ||
|
||
return current_user_can( 'manage_options' ); |
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.
I'm surprised the service doesn't need to be Delayed
. I would have thought that this would be too early for the user to be logged-in.
Fix tests after merging #6147
…detect-page-caching * 'develop' of github.com:ampproject/amp-wp: (410 commits) Fix tests which presumed Hello Dolly was installed Fix logic inversion for admin bar item check Fix phpstan issues after merging #6147 Improve prop name and description Try fixing failing E2E test Fix the unit test Update `users` resource prop and its description Update assets/src/settings-page/developer-tools.js Set current screen to fix test_enqueue_assets_right_hook_suffix Enable mobile redirection by default Add missing tests for OptionsMenu Update param description Fix typo Allow user-related changes on Options page Improve dev tools toggle description Update Jest snapshot Apply suggestions from code review Add E2E test for dev tools toggle Fix E2E test Fix Other settings box spacing ...
Summary
This PR adds a new submenu page for AMP that enables the users to easily provide necessary diagnostic data to AMP support team, needed for debugging AMP validation errors they are facing on their sites.
WordPress Dashboard ➞ AMP-WP Menu ➞ Support (new submenu page)
It will enable the user to send the data directly from:
Before sending the data, it shows to the user what data is exactly going to be sent.
Once the data is sent, the user will be presented with a UUID that they can copy and provide it to support representative on the support request for further assistance.
Closes: #5939
Screenshots:
Support submenu page
Data preview on the support page
Edit post screen (in the AMP plugin sidebar)
Checklist