Closed (fixed)
Project:
Block Visibility Groups
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2015 at 17:45 UTC
Updated:
27 Sep 2015 at 00:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tedbow@Frando thanks for the patch!
I like the change and the wording is better too.
I have changed it slightly to refactor out the new logic into addGroupColumn function
Let me know what you think.
Comment #3
Frando commentedYes, I agree that a seperate method is nicer.
Comment #4
tedbow@Frando, I had another idea I would like to get your(or anyone's) opinion on.
I have added a patch that adds a "Show global blocks when viewing a visibility group." checkbox to the form.
If it is checked then when viewing a group you would see that group's block and the global blocks.
My thought is that when you are viewing a particular group it would make sense to also see what "global" blocks would also show up when viewing a page that matches the condition.
For 2 reasons
I am using the Drupal 8 state system for this setting rather than config because I think this would be something the site builder might want to turn on and off and not have it affect config export.
The patch will be probably need some clean up but it is just an idea now.
Comment #5
Frando commentedYes, I like the change. I was trying to AJAXify the whole thing (for both changes in the select and the checkbox to just rebuild and reload the block list table), unfortunately it doesn't work, though, due to a strange bug with the core block list form. See #2567595: Block list form cannot be rebuilt via Ajax.
Comment #7
tedbowAlright I committed this. Thanks for the help!