Problem/Motivation
In HEAD, toolbar subtrees are not working (in vertical orientation, there are no drop-down arrows for expanding sections that should be expandable). This is a regression from beta-12, so we should fix that before tagging beta-13.
Proposed resolution
Option 1: commit #2535118: Toolbar subtrees not working on admin pages due to lack of theme negotiation on Toolbar's custom JSONP route.
Option 2: revert #2217985: Replace the custom menu caching strategy in Toolbar with Core's standard caching. and its follow-ups. If we choose this option, I think it would be ok to re-commit those patches after tagging beta-13.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | toolbar-subtree-caching-revert.patch | 16.75 KB | effulgentsia |
Comments
Comment #1
effulgentsia commentedHere's a patch generated by running:
Thanks to @xjm for figuring out the required reversions and order.
Let's see if it passes tests.
Comment #2
wim leers@effulgentsia on the other issue that would solve this critical:
Therefore he was +1 to commit #2535118: Toolbar subtrees not working on admin pages due to lack of theme negotiation on Toolbar's custom JSONP route, and not the patch here.
And since then, that issue has received a patch that fixes that extra HTTP request (that you only got when switching from one theme to another; as long as you stayed within a single theme, there was no extra HTTP request), thanks to a tiny change in client-side caching (cache the toolbar subtrees client-side per theme). Which addressed his final concern.
Comment #3
longwaveNot needed now #2535118: Toolbar subtrees not working on admin pages due to lack of theme negotiation on Toolbar's custom JSONP route is in.
Comment #4
wim leers