Problem/Motivation
Views Style plugin seem to have some legacy code remaining and its settings are saved in a double depth array that has no reason to be.
- The buildOptionsForm method contains an empty HTML id for "ajax"
- The defineOptions method has a really peculiar syntax
- Patterns settings are saved under
options > ui_patterns > ui_patternswithout reason.
Proposed resolution
Clean up the code and the settings structure
Write an upgrade path
Issue fork ui_patterns-3540946
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
duaelfrComment #4
duaelfrComment #5
duaelfrYay! All green!
Comment #6
grimreaperThanks!
I will try to test that this afternoon.
Comment #7
grimreaperUpdate tested from a fresh Sobki Bootstrap install.
Update Ok, Views still working after update
Just a minor best practice on hook_update_n number, otherwise RTBC.
Comment #8
duaelfrReady for the next review :)
Comment #9
grimreaperThanks :)
Comment #10
pdureau commentedComment #11
just_like_good_vibesHello guys,
this introduces a breaking change in the config structure.
you will answer me that there is an update hook and i would agree.
But also, this does not introduce anything new or urgent, just a nice to have.
let's wait the next weekly to vote if we merge that now or keep it for later :)
Comment #12
just_like_good_vibesComment #13
grimreaperAssigning to me for a check after rebase now that UIP1 upgrade had been merged.
Comment #14
grimreaperReady to merge :)
Comment #15
just_like_good_vibeshello guys, sorry a bit risky right now, we postpone for later if you don't mind