google / google/site-kit-wp

Display source of errors when copied to clipboard

Open
#3,341 0 comments 0 reactions 0 assignees View on GitHub
P2 Type: Enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 12h
Merged PRs (30d)
80

Description

## Bug Description

In the support forums users often copy any errors encountered via the copy to clipboard feature recently added to the plugin. In many cases it's not known whether these issues occur from within the Site Kit admin panel or via the admin toolbar (as per the image below)

![image](https://user-images.githubusercontent.com/41326532/117870730-66879e80-b294-11eb-8a47-5b9388724e3b.png)

_Example WP Rocket minifcation conflict above_

If there is a way to indicate where this error occurs this would be a great improvement in identifying plugin related conflicts with combining of assets or minification on the front end. Additional flags that could be included when copied to the clipboard could include:
**Source**: admin toolbar || dashboard
**Module**: Search Console || Analytics || AdSense

---------------

_Do not alter or remove anything below. The following sections will be managed by moderators only._

## Acceptance criteria

*

## Implementation Brief

*

### Test Coverage

*

### Visual Regression Changes

*

## QA Brief

*

## Changelog entry

*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.