Added a front end debug panel for inspecting useful page metadata #3228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In preparation for final testing before merging #3078, I wanted a way to check canonical URLs against the current browser window URL quickly and efficiently, without needing to locate the canonical in the web inspector manually each time.
While I was building this console, I thought it’d be a good place for some of the other data we currently hide in HTML comments, like package ID and score.
This console is hidden from end-users completely and must be switched on manually from the JavaScript console:
Once shown, it can be temporarily hidden with the “Hide” button, if it’s blocking something at the bottom of the page, or completely disabled with the “Disable” button. After disabling it would need switching back on with the console command above.
This PR also introduces shared styling and JavaScript between the main site and the Vue DocC renderer through new
shared.css
andshared.js
files.