Een hart voor de Drupal Community

Bij make it fly geloven we sterk in Drupal en Open Source software in het algemeen. We maken dagelijks gebruik van vele open source componenten en de vele Drupal modules die beschikbaar zijn. We dragen actief ons steentje bij aan de community door zelf patches, modules en documentatie te voorzien, daarnaast zijn enkele teamleden ook actief in de Drupal User Group vzw.

Een overzicht van onze bijdragen aan de Drupal community vind je terug op onze Drupal.org pagina. Naast het actief meerwerken aan de Drupal community, zetten we ook andere ontwikkelaars op weg door vragen te beantwoorden op Drupal Answers.

  1. Compatibility with block_uuid storage patch

    Sven Decabooter

    Problem/Motivation

    I am using the core patch #3180702: Export block UUID with custom Layout Builder blocks to store a block UUID in config, to allow Layout Builder blocks to be added via default_content export / import functionality.

    This does not work together with the logic in this module. The blocks do get translated via AI, but the translation is not correctly saved.

    Steps to reproduce

    Try this module with the patch mentioned above applied.

    Proposed resolution

    Some conditional logic could be added to make this work for sites that have this patch applied, while still working as expected for most sites that wouldn't have this patch applied.

  2. AI Translate: controller override not triggered if installed via recipe

    Sven Decabooter

    Problem/Motivation

    I enable and configure the ai_translate module via a recipe. After recipe installation, the translation controller is not overridden, so not showing the "Translate using ..." link.

    When explicitly saving the configuration form, it does work. Seems like this is triggered by \Drupal\ai_translate\Form\AiTranslateSettingsForm::submitForm. But upon recipe installation, this does not get triggered...

    Steps to reproduce

    Install the module via a recipe, and try to translate a content item.

  3. Wrong URL in ai_translate documentation

    Sven Decabooter

    Merge request added. This probably also can be committed to 1.0.x and 1.2.x branch, but I made the MR against 1.1.x, since I'm actively working with that branch.

  4. Wrong URL in ai_translate documentation

    Sven Decabooter

    Problem/Motivation

    Page at https://project.pages.drupalcode.org/ai/modules/ai_translate/ mentions 2. Navigate to /admin/config/ai/ai_translate, but the URL is /admin/config/ai/ai-translate instead.

  5. Allow the Provider Configuration section to be closed by default

    Sven Decabooter

    I added a MR to add this functionality. Whether or not the Provider Configuration fieldset is open by default or not, is managed via config. The default setting for this config is to remain open, to keep backwards compatibility.

  6. Add AJAX functionality to dynamically update fields based on provider and model

    Sven Decabooter

    Tested with OpenAI, and getting the following errors:

    Warning: Undefined array key "fids" in Drupal\media_library\Form\FileUploadForm->validateUploadElement() (line 212 of /var/www/html/web/core/modules/media_library/src/Form/FileUploadForm.php)

    ypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 212 of /var/www/html/web/core/modules/media_library/src/Form/FileUploadForm.php).

    Haven't investigated the root cause yet...

  7. sourceEditing plugin no longer gets enabled automatically in 1.1.x

    Sven Decabooter

    Problem/Motivation

    Issue #3499702: AI CKEditor requires the Source CKEditor button added logic to automatically enable the CKEditor5 'sourceEditing' plugin, in the response text textarea, since this is needed for the Completion plugin to work.

    However, in branch 1.1.x most of the logic is still there, except the flag to enable this functionality on the response_text text_format form element. This seems to be missing, probably because this is now handled in the generic AiCKEditorPluginBase class.

    Steps to reproduce

    - Use AI module 1.1.x - Enable the AI CKeditor module - Enable the Completion ("Generate with AI") plugin - Do NOT add the source code button to your CKEditor5 toolbar by default - Try using the Completion plugin in your CKEditor5-powered text area - this will fail (as described in #3499702: AI CKEditor requires the Source CKEditor button).

    Proposed resolution

    - Re-add the logic from #3499702: AI CKEditor requires the Source CKEditor button to active this for the Completion plugin.

Sven Decabooter - Drupal Developer

"Onze teamleden bouwen zelf ook mee aan ons geliefde Drupal, en daar zijn we trots op"

Sven Decabooter
Drupal developer

Betrouwbare technologie, naadloze prestaties. Dat zijn onze Drupal-oplossingen.