- First commit to issue fork.
- Merge request !6609[#3115759] - Add new configuration option that blocks new fields from being... โ (Open) created by danielveza
- Status changed to Needs work
9 months ago 10:22pm 15 February 2024 - ๐ฆ๐บAustralia acbramley
Overall looking really good! We have some test failures though.
- Status changed to Needs review
9 months ago 12:26am 16 February 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Tests are green, I've responded to the feedback. Happy to hear other options if people disagree. Ready for review :)
- Status changed to Needs work
9 months ago 7:45pm 16 February 2024 - ๐บ๐ธUnited States smustgrave
Can the issue summary be updated to use the standard issue template.
Left some comments on the MR.
- ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Flagging that we should add a change record for this too
- Status changed to Needs review
9 months ago 4:03am 19 February 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
IS updated, CR created.
Setting this to needs review, there is a couple of open threads that could use some more discussion moving forward.
- ๐บ๐ธUnited States DamienMcKenna NH, USA
Could this be simplified to not add the fields by default at all, and just remove the functionality that does this?
- ๐บ๐ธUnited States smustgrave
Think thatโs something the sub maintainer could say
- ๐บ๐ธUnited States smustgrave
But I do vote for the tests to be fixed here.
Unless thereโs history for adding a setting and adding default value to another ticket. That I donโt know
- Status changed to Needs work
9 months ago 10:59pm 19 February 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Pushed a commit that sets the new configuration to FALSE for new sites. Lets see how the tests go
- ๐บ๐ธUnited States smustgrave
Not sure if this would fly though. If a bunch of tests do break, maybe in the setup we just set this new configuration to true with a todo to a follow up to cleanup.
If we do go with the config option and not remove the code out right
- ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Not sure if this would fly though. If a bunch of tests do break, maybe in the setup we just set this new configuration to true with a todo to a follow up to cleanup.
I'm a bit lost now. Having it FALSE by default then overriding every LB test to set it to TRUE feels significantly less clean to me then just maintaing the existing behaviour in this issue then changing the default in a follow up. Maybe I'm not understanding something.
- ๐บ๐ธUnited States smustgrave
Yea now that I read that out loud youโre right
- Status changed to Needs review
9 months ago 2:14am 20 February 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Reverted the last commit. Since updating the default value and tests can hopefully be done in a follow up I'm moving this back into needs review
- Status changed to RTBC
9 months ago 2:40pm 22 February 2024 - ๐บ๐ธUnited States smustgrave
Spoke with @larowlan and we can push the test fixes to a follow up.
Opened ๐ Update layout builder tests and set new config Active
- Status changed to Needs work
9 months ago 12:19pm 4 March 2024 - Status changed to Needs review
8 months ago 6:20am 25 March 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
I've changed the approach of this issue to use a feature flag module rather than configuration. The unresolved threads are no longer relevent, but I'm leaving them open for the moment. Adding the feature flag issue as a related issue.
- Status changed to Needs work
8 months ago 6:39pm 28 March 2024 - ๐บ๐ธUnited States smustgrave
Can the CR be updated with the new approach same for IS.
- Status changed to Needs review
7 months ago 10:25pm 4 April 2024 - Status changed to RTBC
7 months ago 2:16pm 6 April 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
Should this be postponed on โจ Add an API for feature flags Active then as it is using the feature flag module approach but that approach is not yet 100% agreed.
- ๐บ๐ธUnited States smustgrave
My understanding was using a sub module flag was a temporary solution till that was worked out
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
@smustgrave looking at the most recent comments on the issue from @catch and @larolwan is looks like each flag is going to be module...
- ๐ฌ๐งUnited Kingdom longwave UK
A feature flag that disables something feels the wrong way round to me. I think we should install it on existing installs, where users can disable it again if they wish, but not on new installs.
- Status changed to Postponed
7 months ago 10:11pm 7 April 2024 - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
A feature flag that disables something feels the wrong way round to me.
Yeah good call, I agree with this.
I think we should install it on existing installs, where users can disable it again if they wish, but not on new installs.
For the sake of getting this one in quickly we were going to change the default behaviour in a follow up issue. ๐ Update layout builder tests and set new config Active However this one is blocked now so maybe we can fit in in here.
The code that is behind the flag should also be moved to a hook in the feature flag module, if possible?
As far as I'm aware, the current goal of the feature flag modules is for them to contain no code.
- ๐ฆ๐บAustralia acbramley
A feature flag that disables something feels the wrong way round to me
But this is a "feature" for developers/site builders to stop this annoying behaviour of things being added automatically.
Honestly I think this behaviour is so disruptive it could almost be considered a bug and just switched off altogether, but that's probably going to delay this even longer.
I think we should install it on existing installs, where users can disable it again if they wish, but not on new installs.
Then why not just blanket remove the functionality as per above...?
When is adding a new field automatically to a bundle's view display actually a good action for the site builder?
This seems to happen sporadically when view displays are saved via update hooks as well, fields will just get blanket added to the layout for what seems like no reason at all (perhaps they aren't already in the hidden key?)
- First commit to issue fork.
- Status changed to Needs work
5 months ago 5:26am 13 June 2024 - ๐ฆ๐บAustralia mstrelan
We already have an existing feature flag module, already in layout builder, so IMHO we don't need to postpone this on โจ Add an API for feature flags Active . Worst case we just remove these modules, which we were going to do anyway.
I've reversed the feature flag module so it provides the old behavior, and new sites get the new behavior by default.
Setting NW for a update post_update hook to enable the module on existing sites. CR also needs updating.