Skip to content
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

Integrate admin bar with AMP dev mode #3187

Merged
merged 23 commits into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3380451
Revert "Suppress admin bar from being shown during validation requests"
westonruter Sep 4, 2019
e3d4f57
Skip sanitizing admin bar (and removing it) in favor of ignoring (in …
westonruter Sep 5, 2019
8640d1a
Prevent tree-shaking under #wpadminbar when admin bar is showing
westonruter Sep 6, 2019
f75586f
Prevent admin bar from even attempting to be displayed on story template
westonruter Sep 6, 2019
a81fb73
Remove redundant document argument from is_document_in_dev_mode()
westonruter Sep 6, 2019
bfad786
Skip converting elements in dev mode; skip processing style attribute…
westonruter Sep 6, 2019
5bb7466
Add filters for whether dev mode is enabled and what elements get it
westonruter Sep 6, 2019
d615d39
Bring back remove_admin_bar_if_css_excluded and admin-bar CSS priorit…
westonruter Sep 7, 2019
277131f
Prevent dev mode when admin bar shown for unauthenticated users
westonruter Sep 7, 2019
4b533d2
Fix placement of dev_mode_enabled variable definition
westonruter Sep 7, 2019
e3025cd
Fix undefined dev_mode_xpaths being used in cache key
westonruter Sep 8, 2019
a726d41
Fix typos in comments and add array casting
westonruter Sep 9, 2019
58f5eb3
Merge branch 'develop' of github.com:ampproject/amp-wp into add/dev-m…
westonruter Sep 10, 2019
d1ac164
Move dev mode mutations into new sanitizer
westonruter Sep 10, 2019
5ba10b4
Remove now-unnecessary admin_bar_showing arg for style sanitizer
westonruter Sep 10, 2019
38fa7ba
Add tests for init_admin_bar
westonruter Sep 10, 2019
71c195c
Add test for amp_is_dev_mode()
westonruter Sep 10, 2019
2471036
Add test for amp_get_content_sanitizers()
westonruter Sep 10, 2019
7c57708
Add tests for AMP_Dev_Mode_Sanitizer
westonruter Sep 10, 2019
e15bbe3
Include dashicons in dev mode but only if exclusively connected to ad…
westonruter Sep 10, 2019
d79be8d
Remove amp_dev_mode_enabled filter in test
westonruter Sep 10, 2019
5de22ff
Remove useless variable
schlessera Sep 11, 2019
290adf7
Add asserts to make sure we are not enqueueing both versions of dashi…
schlessera Sep 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/assets/css/*.css
/assets/css/src/admin-bar.css
/bin
/build
/tests
Expand Down
Loading