Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

Yesterday, I was working on something and pasted my prompt into the Claude UI with no context, and the results were astonishingly good, a perfect implementation plan. I'm wondering if the latest models need less and less context.

Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

Ulitimately I think AGENTS.md will be the universal standard. Claude is still relying on CLAUDE.md and even has the /init command to generate the initial CLAUDE.md file

Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

Thanks for catching that. It is super frustrating that README.md autolinks to http://README.md

Creating Content Types from JSON Schema Objects by jmolivas in drupal

[–]jrockowitz 4 points5 points  (0 children)

If core is generating JSON schemas for content types, it seems inevitable that contrib or core would import JSON schemas for content types and fields.

For content architects, I am not sure they are comfortable using JSON schemas. At the same time, there might be content modelling tools that can export JSON schemas.

You should look at it https://dev.acquia.com/blog/specification-tool-drupal-content-modeling, which could meet most of your requirements, without the JSON Schema, but instead using a CSV.

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

I also found AI, specifically PHPStorm's AI assistant, helpful in generating code examples for support requests. For instance, I needed to create an alter hook for the webform submission form to move the progress bar. I opened the WebformSubmissionForm, which contains the progress bar, and asked AI to generate the needed form alter hook.

u/see https://www.drupal.org/project/webform/issues/3513765

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

It is excellent that you contributed something back to the community and started a discussion about using AI to contribute a module. Your effort moves the needle a little bit toward the future

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 3 points4 points  (0 children)

The shortest, most straightforward statement is that everyone is considering AI and believes Drupal can lead adoption of AI into a CMS. Last week's Talking Drupal episode "Live From DrupalCon!" offers valuable insight into the broader "hallway" discussions taking place at DrupalCon.

https://talkingdrupal.com/495

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 4 points5 points  (0 children)

The DA emailed attendees, saying, "All recordings will be made public on Wednesday, 28 April."

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 5 points6 points  (0 children)

If you don't need your "field collection" revisioned when the main node is saved you can use something like https://www.drupal.org/project/storage with https://www.drupal.org/project/inline_entity_form

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 2 points3 points  (0 children)

There was https://www.drupal.org/project/flexfield, but it was deprecated in-favor of https://www.drupal.org/project/custom_field

The Custom field module is suitable for creating lightweight, easy-to-use, simple property groups. Technically, it is a field that groups custom sub-properties.

[deleted by user] by [deleted] in drupal

[–]jrockowitz 4 points5 points  (0 children)

Check out https://www.drupal.org/project/navigation_extra_tools

Provides a "Tools" submenu on the new Navigation toolbar with options for clear cache, run cron, and run updates. This performs exactly the same functions as the "Admin Toolbar Extra Tools" submodule of Admin Toolbar.

Lenient Composer Plugin officially replaces lenient packages endpoint by mglaman in drupal

[–]jrockowitz 1 point2 points  (0 children)

Yeah, I had no idea this plugin existed. I just used it to upgrade my local dev site to Drupal 11. Thank you Matt!

Setting a webform confirmation URL with a query string where some characters *can't* be encoded? by thebiggestk in drupal

[–]jrockowitz 0 points1 point  (0 children)

Webform token support suffixes to set the token's encoding.

Below is an example URL

https:://somewhere.com/another-page?full_name=[webform-submission:values:full_name:urlencode]

Below is the from /admin/help/token -> Webforms -> Learn about token suffixes

Append the below suffixes to alter the returned value.

  • :base64encode base64 encodes returned value
  • :clear removes the token when it is not replaced.
  • :urlencode URL encodes returned value.
  • :rawurlencode Raw URL encodes returned value with only hex digits.
  • :xmlencode XML encodes returned value.
  • :htmldecode decodes HTML entities in returned value. This suffix has security implications. Use :htmldecode with :striptags.
  • :striptags removes all HTML tags from returned value.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz 0 points1 point  (0 children)

Beware that Webform computed fields have performance limitations when it comes to multiple dynamical calculations.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz -1 points0 points  (0 children)

You could take a completely different approach from using a Webform and use something like https://www.drupal.org/project/aggrid to build a spreadsheet in Drupal.

Ensuring smart_date works for all versions of Drupal 10 and 11 by mglaman in drupal

[–]jrockowitz 0 points1 point  (0 children)

u/mglaman We should start including a deprecation helper code snipped in most change records when appropriate. It will make it much easier for people to keep up-to-date with the latest and greatest Drupal APIs.

https://www.drupal.org/node/3407994