- ๐ญ๐บHungary mxr576 Hungary
A Slack conversation started here: https://drupal.slack.com/archives/C3E9QDZ5M/p1745499507960159
Where I have also shared this link that lists all contribs hosted on Drupal Git with DDEV enabled: https://git.drupalcode.org/search?group_id=2&scope=blobs&search=filename...Yes, most of this is auto-genarated code at the moment of DDEV and necessary DDEV addons (if any is necessary) configured for the project. The benefit of committing these files that they drastically speed up contribution to projects, because whoever has DDEV installed - the official Drupal development tool for Drupal and contribs as far as I know - could just git clone the project and run
ddev start
and start contributing. They do not need to follow manual steps and ensure the right set of dependencies are installed, because the committed "last known good" configuration is in the version controlling system already.Ignoring these configs from artifacts of course is a must, because when you install a module from an artifact you most likely do not need the bundled DDEV config.
- ๐ฆ๐นAustria drunken monkey Vienna, Austria
Thanks a lot for suggesting this improvement!
I must admit Iโm not too familiar with DDEV so am a bit overwhelmed by this MR.
Could you please tell me some examples of other modules that have already done this? Do you have links to some issues that discuss this change?
Adding a whole new folder with 19 files seems like a pretty big change. What exactly is the advantage of doing this, seems like most of this is auto-generated? (In fact, could you please tell me which parts are not auto-generated? Is it just the first few lines of.ddev/config.yaml
? If so, wouldnโt DDEV be able to generate the rest anyways, without us including it in the repository?)
Also, what exactly is the use case for which this is needed? Is this for including Search API in any website project, or just for testing Search API on its own in a test environment?
Finally, why did you choose MariaDB and specifcally version 10.11? Isnโt hard-coding that in our module repo a problem? - ๐ณ๐ฟNew Zealand quietone
There is no response to the request for more information. The error message in the issue summary was removed in ๐ Deprecate RendererInterface::render()'s sole $is_root_call parameter Needs work . Based on that I am closing this issue.
- ๐ณ๐ฟNew Zealand quietone
Since there hasn't been confirmation, in the past 9 months, that this still needs to be done. I am closing this issue.
If there is work to do here, then either re-open the issue or open a new issue and reference this one. If the choice is to use this issue then add a comment change make sure to change the issue status to 'Active'.
- ๐ณ๐ฟNew Zealand quietone
I am closing this according to the last comment.
If there is work to do here, then either re-open the issue or open a new issue and reference this one. If the choice is to use this issue then add a comment change make sure to change the issue status to 'Active'.
- ๐บ๐ธUnited States nicxvan
I think this is safe to close, there is no rollback method that is mentioned in the issue summary, a different solution was committed.
- ๐บ๐ธUnited States smustgrave
Thank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
FYI: with this done, I think it's time to re-assess ๐ ServerClientConversionTrait Active and friends, aka make a decision on whether to keep
ClientServerConversionTrait
because it is good enough, or whether to transition to something else/better. -
wim leers โ
committed 4bfbe90d on 0.x authored by
phenaproxima โ
Issue #3521137 by phenaproxima, wim leers, catch, larowlan: XB's storing...
-
wim leers โ
committed 4bfbe90d on 0.x authored by
phenaproxima โ
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
wim leers โ credited larowlan โ .
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
As a byproduct, the
TestDataUtilitiesTrait
that @tedbow introduced in ๐ Convert test cases to use PHP arrays instead of JSON strings where possible Fixed to ease test development pain during initial development of XB, will largely be obsolete โ that's what I asked for in #13, and which @phenaproxima almost completely finished! ๐คฉIn fact โฆ since I'm feeling under the weather and my mind doesn't allow me to tackle anything complex right now, I just persevered and refactored it away:
TestDataUtilitiesTrait
is GONE! No more need to remember to wrap an array in a::encodeXBData()
! ๐ฅณ All thanks to the one crucial insight by @phenaproxima! ๐So: we'll not only make interacting with XB config less painful for site builders/XB users, but also for us developing XB, and hence improve development velocity slightly :)
P.S.: I'd still don't like that
->getValue(), TRUE
has 7 matches in the codebase, but that's far better than the hundreds this MR removed. So, for the sake of iterative progress, didn't expand scope to that. Also: once ๐ Allow field types to control how properties are mapped to and from storage Needs work lands, XB won't have to work around that flaw in Drupal core anymore. If somebody wants to take that on: see attached PoC patch to get you going. - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Bumping to per โจ Create a schema for "allowed_html" which provides a better config diff Needs work .
- ๐ฌ๐งUnited Kingdom joachim
I just did a workaround for this problem over at ๐ ContentEntityDenormalizer uses the field map, and so is unaware of bundle fields Active .
- ๐ณ๐ฑNetherlands balintbrews Amsterdam, NL
I think our end-to-end test coverage should be focused on the end user's experience. React's
<StrictMode>
is wonderful for development, and you're right that if it makes our app behave differently, that's most likely a bug. The kind of problems<StrictMode>
potentially surfaces during development, we should fix and verify at the unit testing layer using Vitest, which we recently introduced in ๐ Compile Tailwind CSS globally for code components Active . - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
@sandip There's a round of feedback on that MR, and there's also ๐ Create loadAutoSave() helper function Active ๐
- @omkar-pd opened merge request.
- First commit to issue fork.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks, @jatingupta40! Not passing tests yet, but a great start!
- ๐ฌ๐งUnited Kingdom catch
Just ran into ๐ Layout builder doesn't support bundle computed field Closed: duplicate
I think we should take this out of key/value.
We could have field module implement similar logic in it's bundle field info hook instead maybe.
- ๐ฎ๐ณIndia sandip
@wim leers, Thanks for the issue:) I noticed someone has already taken care of this issue before me. Appreciate the opportunity. I'll keep an eye out for more tasks like this ๐
- ๐ฌ๐งUnited Kingdom catch
Thanks!
Next up for anyone following along is ๐ Pass RenderContext around in the Renderer Active .
-
larowlan โ
committed 5f80b431 on 11.x
Issue #2511330 by catch, wim leers, larowlan, godotislate, fabianx:...
-
larowlan โ
committed 5f80b431 on 11.x
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Committed to 11.x - thanks!
Published the change notice. - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Putting back to RTBC because all the changes from my last review where I changed the status were either trivial or reverted.
I manually confirmed we still have the bubbling check from the other point.Given the changes here would have been fine for catch to self RTBC I think it is OK for me to commit this still.
- Issue created by @tedbow
- @jatingupta40 opened merge request.
- First commit to issue fork.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This will eventually end up unblocking ๐ [PoC] Introduce a `ContentTypeTemplate` config entity Active , because for that (and for performance reasons) we'll need to do that 3rd bullet point.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
@sandip If you're interested in doing more of this valuable work: ๐ Rename `FieldForComponentSuggester` to `StructuredDataSourceSuggester` Active ๐๐ค
-
wim leers โ
committed 64ac169f on 0.x authored by
sandip โ
Issue #3522734 by sandip, wim leers, meghasharma, larowlan: Rename `...
-
wim leers โ
committed 64ac169f on 0.x authored by
sandip โ
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks so much, @sandip, this feels way better! ๐
- Issue created by @wim leers
Automatically closed - issue fixed for 2 weeks with no activity.
- ๐ณ๐ฟNew Zealand quietone
It has been quiet here for 9 years, indicating no interest in pursuing this idea. I am going to close this now.
If that is wrong and there is interest in this re-open the issue and add a comment. Or open a new issue and reference this one.
- ๐ฎ๐ณIndia sandip
I have rename all the SdcProp usage but still some tests seems failed. I am not getting why it is so. @wim leers and @ larowlan can you please take a look into it.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Left some questions on the MR
The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐ง๐ทBrazil carolpettirossi Campinas - SP
MR !7432 applies successfully to Drupal 11 and solves the WSOD on pages with many content/nodes/taxonomies displayed.
The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐บ๐ธUnited States effulgentsia
smustgrave โ credited effulgentsia โ .
- ๐ฉ๐ชGermany hchonov ๐ช๐บ๐ฉ๐ช๐ง๐ฌ
smustgrave โ credited hchonov โ .
- ๐บ๐ธUnited States smustgrave
Closed ๐ Move entity preparation from form controller to entity class: "last changed" timestamp not updated and "create new revision" setting not respected when updating entities via Entity API Postponed: needs info with overlap to this.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
wim leers โ credited larowlan โ .
- ๐ฎ๐ณIndia sandip
Thanks @larowlan for the feedback.. I am working on rename rest of the SdcProp usage.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Tagging for colleagues as this is a bug bear for the Pinto work Mohit has been doing
- ๐ฎ๐ณIndia meghasharma
I have verified the changes related to renaming SdcPropToFieldTypePropMatcher to JsonSchemaFieldInstanceMatcher and SdcPropJsonSchemaType to JsonSchemaType.
1) Old class names (SdcPropToFieldTypePropMatcher, SdcPropJsonSchemaType) have been completely removed from the codebase.
2) New class names (JsonSchemaFieldInstanceMatcher, JsonSchemaType) are being used consistently throughout the module.
Everything looks good - @sandip opened merge request.
- ๐จ๐ญSwitzerland berdir Switzerland
Even if we'd only support composer, there are still things like submodules that have their own dependencies.
- ๐บ๐ธUnited States dww
Indeed. While ๐ Deprecate/remove the ability to update a module from a URL and authorize.php Active is done, ๐ฑ [meta] Deprecate tarballs, because they are incompatible with Composer-managed dependencies, Automatic Updates, Project Browser, and release managers' health Active is not. So I agree thereโs still value in locking this down.