Closed (fixed)
Project:
Drupal core
Version:
8.4.x-dev
Component:
settings_tray.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Jul 2017 at 19:08 UTC
Updated:
30 Aug 2017 at 20:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tedbowHere is patch.
but #2892942: Contextual links support options but not use them to generate links might be reverted because it has not test coverage
Comment #3
tedbow#2892942: Contextual links support options but not use them to generate links was reverted
Comment #4
wim leersComment #5
lauriiiComment #6
tedbow@lauriii thanks for updating this issue.
Retesting. Hopefully will pass.
Comment #7
tim.plunkettAwesome!
Comment #9
wim leersRTBC++
Comment #11
star-szrCommitted 0a42c06 and pushed to 8.5.x. Thanks!
Minor: I don't think any of these needed quotes. This isn't consistent in HEAD at all and I can't find a documented standard so more of a curiosity and not anything worth making a fuss over :) A quick search turned up #2124559: Figure out a standard for booleans in yaml files.
Comment #12
wim leers#11 great remark! Actually… I'm pretty sure that
This is wrong. This will result in
<blah data-outside-in-edit="TRUE">, rather than<blah data-outside-in>. I think this may require a revert plus test coverage. Assigning to @tedbow for decision on that.I should've noticed this, especially because I worked on the test coverage at #2892942: Contextual links support options but not use them to generate links that explicitly tests this! :( Sorry!
Comment #13
star-szr@Wim Leers ah yes you're right:
<a href="/admin/structure/block/manage/bartik_tools/off-canvas?destination=node" class="use-ajax" data-dialog-type="dialog" data-dialog-renderer="off_canvas" data-outside-in-edit="TRUE">Quick edit</a>I think a follow-up issue would be fine, assuming that everything still works with the unneeded TRUE value.
Comment #14
wim leersThis should also be committed to 8.4.x, actually.
Comment #15
star-szr@Wim Leers thank you :) 8.4.x was and is frozen for the first alpha but agreed this should go into 8.4.x when possible.
Comment #16
wim leersYep! Hope this is the right status. Perhaps is more accurate?
I don't have a preference.
Comment #18
star-szrCherry-picked as cccc2d4 and pushed to 8.4.x. Thanks!
I created a follow-up to clean up the data types and discuss further: #2899942: Correct data types in outside_in.links.contextual.yml
Comment #19
wim leersYay, thanks @Cottser!
Comment #20
star-szrTotally meant to add the relation, thank you @Wim Leers :)
Comment #21
wim leersHah, np :)
Comment #23
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)