Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(#542): remove deprecated version key from ddev dockerfile, upda… #694

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

BrianGilbert
Copy link
Member

@BrianGilbert BrianGilbert commented Jul 16, 2024

Summary by CodeRabbit

  • New Features

    • Added new dependencies and updated versions of various Drupal core packages and contributed modules.
    • Introduced new configuration settings for mail notification, session cookie name uniqueness, and state caching.
  • Improvements

    • Updated revision and logging configurations for various block content and system settings.
    • Enhanced pagination settings across multiple views configurations.
    • Improved documentation and structure in the README and other guides for better clarity and usability.
  • Bug Fixes

    • Adjusted image upload settings and fixed outdated URLs in several configuration files.
    • Removed obsolete module references and configuration fields.

Copy link

changeset-bot bot commented Jul 16, 2024

⚠️ No Changeset found

Latest commit: e62d32a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

coderabbitai bot commented Jul 16, 2024

Walkthrough

The changes predominantly consist of configuration updates for a Drupal project, including version updates, dependency additions, and setting adjustments across various configuration files. Key modifications involve updating the PHP and MariaDB versions, changing revision field values from 0 to false, and enhancing documentation clarity. Additionally, pagination settings have been added to various views, while some parameters have been removed or updated for better security and functionality.

Changes

File Path Change Summary
CONTRIBUTING.md Restructured content with updated sections on contributing, bug reports, and pull requests.
README.md Formatting adjustments and minor textual modifications for clarity.
docs/drupal/.ddev/config.yaml Updated PHP version from 8.2 to 8.4 and MariaDB version from 10.3 to 10.6.
docs/drupal/.ddev/docker-compose.env.yaml Removed the version key and its value '3.6'.
docs/drupal/composer.json Updated Drupal core package versions and added new dependencies.
docs/drupal/config/sync/block_content.type...yml Changed revision field values from 0 to false in multiple block content configuration files.
docs/drupal/config/sync/core.extension.yml Added new module layout_builder_expose_all_field_blocks and removed sdc module entry.
docs/drupal/config/sync/editor.editor...yml Modified image upload settings and updated max_size field values.
docs/drupal/config/sync/jsonapi.settings.yml Added new configuration keys for default_config_hash, langcode, read_only, and maintenance_header_retry_seconds.
docs/drupal/config/sync/language/es/views...yml Added labels, descriptions, and display titles for related recipes.
docs/drupal/config/sync/node.type...yml Updated help field values from an empty string to null in multiple node type configuration files.
docs/drupal/config/sync/system...yml Updated logging field from 1 to true and country field default value from empty string to null.
docs/drupal/config/sync/taxonomy.vocabulary...yml Added new_revision field with false value.
docs/drupal/config/sync/views.view...yml Added pagination_heading_level: h4 to various view configuration files.
docs/drupal/web/.htaccess Added directive AddType image/webp .webp to handle WebP image files.
docs/drupal/web/autoload.php Removed reference to core/modules/statistics/statistics.php from the documentation block.
docs/drupal/web/sites/default/default.services.yml Introduced new parameter security.enable_super_user and updated comments on session management.
docs/drupal/web/sites/default/default.settings.php Updated database configuration details and added state caching settings.
docs/drupal/web/sites/development.services.yml Added comments on overriding container parameters for debugging purposes.
docs/drupal/web/sites/example.sites.php Updated URLs in comments for multi-site support.
docs/nuxt/content/guide/README.md Enhanced structure and clarity of the DruxtJS documentation.
docs/nuxt/content/guide/client.md Revised DruxtClient documentation for clarity and consistency.
docs/nuxt/content/guide/deprecations.md Clarified deprecation of the hash argument in druxt/addResource method.
docs/nuxt/content/guide/devtools.md Enhanced clarity regarding Vue.js Devtools integration with DruxtJS.
docs/nuxt/content/guide/getting-started.md Improved structure and clarity for getting started with Druxt.js.
docs/nuxt/content/guide/multilingual.md Enhanced organization and clarity regarding multilingual support in Druxt.
docs/nuxt/content/guide/proxy.md Updated content for clarity regarding proxy configuration.
docs/nuxt/content/guide/storybook.md Enhanced clarity and structure for Storybook integration documentation.
docs/nuxt/content/guide/theming.md Improved structure and clarity regarding theming in Druxt.

Poem

🐇 In the world of Drupal's code,
Changes come, a fresh new load.
Configs tweaked, dependencies grown,
Fields and modules newly shown.
With bits of JSON and YAML's might,
Our Drupal site now shines so bright.
Hopping on to future's light,
A rabbit's work is never quite light. 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@BrianGilbert BrianGilbert requested a review from Decipher July 16, 2024 05:12
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0e8d98a and a21cb35.

Files ignored due to path filters (1)
  • docs/drupal/composer.lock is excluded by !**/*.lock
Files selected for processing (38)
  • docs/drupal/.ddev/docker-compose.env.yaml (1 hunks)
  • docs/drupal/composer.json (2 hunks)
  • docs/drupal/config/sync/block_content.type.banner_block.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.basic.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.disclaimer_block.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.footer_promo_block.yml (1 hunks)
  • docs/drupal/config/sync/core.extension.yml (1 hunks)
  • docs/drupal/config/sync/editor.editor.basic_html.yml (1 hunks)
  • docs/drupal/config/sync/editor.editor.full_html.yml (1 hunks)
  • docs/drupal/config/sync/jsonapi.settings.yml (1 hunks)
  • docs/drupal/config/sync/language/es/views.view.related_recipes.yml (2 hunks)
  • docs/drupal/config/sync/node.type.article.yml (1 hunks)
  • docs/drupal/config/sync/node.type.page.yml (1 hunks)
  • docs/drupal/config/sync/node.type.recipe.yml (1 hunks)
  • docs/drupal/config/sync/system.cron.yml (1 hunks)
  • docs/drupal/config/sync/system.date.yml (1 hunks)
  • docs/drupal/config/sync/system.site.yml (1 hunks)
  • docs/drupal/config/sync/taxonomy.vocabulary.recipe_category.yml (1 hunks)
  • docs/drupal/config/sync/taxonomy.vocabulary.tags.yml (1 hunks)
  • docs/drupal/config/sync/views.view.archive.yml (1 hunks)
  • docs/drupal/config/sync/views.view.block_content.yml (1 hunks)
  • docs/drupal/config/sync/views.view.content.yml (1 hunks)
  • docs/drupal/config/sync/views.view.featured_articles.yml (1 hunks)
  • docs/drupal/config/sync/views.view.files.yml (2 hunks)
  • docs/drupal/config/sync/views.view.glossary.yml (1 hunks)
  • docs/drupal/config/sync/views.view.media.yml (2 hunks)
  • docs/drupal/config/sync/views.view.media_library.yml (1 hunks)
  • docs/drupal/config/sync/views.view.moderated_content.yml (2 hunks)
  • docs/drupal/config/sync/views.view.recipes.yml (1 hunks)
  • docs/drupal/config/sync/views.view.related_recipes.yml (2 hunks)
  • docs/drupal/config/sync/views.view.taxonomy_term.yml (1 hunks)
  • docs/drupal/config/sync/views.view.user_admin_people.yml (1 hunks)
  • docs/drupal/config/sync/views.view.watchdog.yml (1 hunks)
  • docs/drupal/web/autoload.php (1 hunks)
  • docs/drupal/web/sites/default/default.services.yml (2 hunks)
  • docs/drupal/web/sites/default/default.settings.php (7 hunks)
  • docs/drupal/web/sites/development.services.yml (1 hunks)
  • docs/drupal/web/sites/example.sites.php (2 hunks)
Files skipped from review due to trivial changes (30)
  • docs/drupal/.ddev/docker-compose.env.yaml
  • docs/drupal/config/sync/block_content.type.basic.yml
  • docs/drupal/config/sync/block_content.type.disclaimer_block.yml
  • docs/drupal/config/sync/block_content.type.footer_promo_block.yml
  • docs/drupal/config/sync/core.extension.yml
  • docs/drupal/config/sync/editor.editor.basic_html.yml
  • docs/drupal/config/sync/editor.editor.full_html.yml
  • docs/drupal/config/sync/jsonapi.settings.yml
  • docs/drupal/config/sync/language/es/views.view.related_recipes.yml
  • docs/drupal/config/sync/node.type.article.yml
  • docs/drupal/config/sync/node.type.page.yml
  • docs/drupal/config/sync/node.type.recipe.yml
  • docs/drupal/config/sync/system.cron.yml
  • docs/drupal/config/sync/system.date.yml
  • docs/drupal/config/sync/system.site.yml
  • docs/drupal/config/sync/taxonomy.vocabulary.recipe_category.yml
  • docs/drupal/config/sync/taxonomy.vocabulary.tags.yml
  • docs/drupal/config/sync/views.view.archive.yml
  • docs/drupal/config/sync/views.view.block_content.yml
  • docs/drupal/config/sync/views.view.content.yml
  • docs/drupal/config/sync/views.view.featured_articles.yml
  • docs/drupal/config/sync/views.view.glossary.yml
  • docs/drupal/config/sync/views.view.media_library.yml
  • docs/drupal/config/sync/views.view.taxonomy_term.yml
  • docs/drupal/config/sync/views.view.user_admin_people.yml
  • docs/drupal/config/sync/views.view.watchdog.yml
  • docs/drupal/web/autoload.php
  • docs/drupal/web/sites/default/default.services.yml
  • docs/drupal/web/sites/development.services.yml
  • docs/drupal/web/sites/example.sites.php
Additional comments not posted (9)
docs/drupal/config/sync/block_content.type.banner_block.yml (1)

9-9: Approved change to revision management.

The change from 0 to false in the revision field likely indicates a shift from numeric to boolean management of revisions. This is a standard practice for simplifying configuration.

Please ensure that this change does not adversely affect any existing content where revisions were previously enabled.

docs/drupal/composer.json (2)

75-78: Highlight on patch documentation.

Documenting patches applied to modules like drupal/decoupled_router and drupal/jsonapi_menu_items is an excellent practice for traceability.

Ensure that these patches are re-evaluated with each new release of the related modules to confirm if they are still necessary or have been incorporated upstream.


21-28: Approved updates and additions to dependencies.

Updating Drupal core packages to 10.3.1 and adding modules such as drupal/jsonapi_menu_items and drupal/jsonapi_resources are crucial for maintaining up-to-date functionality.

Ensure comprehensive testing is conducted to verify that the new and updated packages integrate smoothly with the existing codebase.

Verification successful

Verified integration of new dependencies.

The new dependencies drupal/jsonapi_menu_items and drupal/jsonapi_resources are correctly integrated into the project as evidenced by their presence in the composer.json and composer.lock files, as well as multiple references throughout the codebase.

  • docs/drupal/composer.json
  • docs/drupal/composer.lock
  • docs/drupal/config/sync/core.extension.yml
  • docs/nuxt/content/guide/multilingual.md
  • docs/nuxt/content/modules/menu/README.md
  • examples/_deprecated/menu-edit/pages/index.vue
  • packages/menu/src/menu.js
  • packages/menu/src/typedefs/menuOptions.js
  • packages/menu/README.md
  • test/__fixtures__/get/*.json

Ensure comprehensive testing is conducted to verify that the new and updated packages integrate smoothly with the existing codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify integration of new and updated packages.

# Test: Check for any integration issues in test logs or by running a composer update in a test environment.
echo "Run composer update and check test logs for integration issues."

Length of output: 136


Script:

#!/bin/bash
# Search for the new dependencies in the composer.json file
rg 'drupal/jsonapi_menu_items|drupal/jsonapi_resources' docs/drupal/composer.json

# Check for any references to these new dependencies in the codebase
rg 'jsonapi_menu_items|jsonapi_resources' src/

Length of output: 309


Script:

#!/bin/bash
# Locate potential source directories
fd --type d --max-depth 2

# Check for any references to these new dependencies in the located source directories
fd --type d --max-depth 2 | xargs -I {} rg 'jsonapi_menu_items|jsonapi_resources' {}

Length of output: 8023

docs/drupal/config/sync/views.view.recipes.yml (1)

95-95: Approved addition of pagination heading level.

Setting pagination_heading_level: h4 enhances accessibility by providing a proper semantic structure for pagination controls.

Verify that this change positively impacts the accessibility of the site, possibly by conducting an accessibility audit.

Verification successful

Approved addition of pagination heading level.

Setting pagination_heading_level: h4 enhances accessibility by providing a proper semantic structure for pagination controls. This change is consistent with the configuration across other views in the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of the pagination heading level change on accessibility.

# Test: Conduct an accessibility audit to ensure the heading level change meets accessibility standards.
echo "Conduct an accessibility audit focusing on pagination controls."

Length of output: 136


Script:

#!/bin/bash
# Search for the usage of `pagination_heading_level` in the codebase to understand its impact.

# Find all occurrences of `pagination_heading_level` in the codebase
rg 'pagination_heading_level'

Length of output: 1277

docs/drupal/config/sync/views.view.related_recipes.yml (1)

Line range hint 159-190: Approved enhancements to filtering capabilities.

Updating the plugin_id to entity_target_id and adding target_entity_type_id: taxonomy_term under filters enhance the view's filtering capabilities, making it more specific and functional.

Verify that these changes function correctly and enhance the user experience as intended.

Verification successful

Changes verified in the configuration file.

The plugin_id is correctly set to entity_target_id, and target_entity_type_id is set to taxonomy_term in the views.view.related_recipes.yml file.

  • plugin_id: entity_target_id is present.
  • target_entity_type_id: taxonomy_term is present.

Recommend manually verifying the functionality of these filters to ensure they work as intended in the test environment.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the functionality of the updated filtering capabilities.

# Test: Check the view configuration in a test environment to ensure the filters are working as expected.
echo "Check the functionality of filters in a test environment."

Length of output: 124


Script:

#!/bin/bash
# Verify the presence and correctness of `plugin_id` and `target_entity_type_id` in the views.view.related_recipes.yml file.

# Search for `plugin_id` in the file
echo "Checking for plugin_id in views.view.related_recipes.yml:"
rg 'plugin_id: entity_target_id' docs/drupal/config/sync/views.view.related_recipes.yml

# Search for `target_entity_type_id` in the file
echo "Checking for target_entity_type_id in views.view.related_recipes.yml:"
rg 'target_entity_type_id: taxonomy_term' docs/drupal/config/sync/views.view.related_recipes.yml

Length of output: 547

docs/drupal/config/sync/views.view.moderated_content.yml (1)

438-438: Approved: Added pagination heading level for accessibility.

The addition of pagination_heading_level: h4 enhances accessibility and SEO by providing a proper HTML structure for pagination links.

docs/drupal/config/sync/views.view.media.yml (1)

137-137: Approved: Optimized image loading settings.

The settings for image_style as thumbnail and image_loading attribute set to lazy are excellent for optimizing performance by reducing initial page load times.

docs/drupal/config/sync/views.view.files.yml (1)

538-538: Approved: Added pagination heading level for better accessibility.

The addition of pagination_heading_level: h4 enhances accessibility and SEO by providing a proper HTML structure for pagination links.

docs/drupal/web/sites/default/default.settings.php (1)

80-80: Update to database configuration details.

The database name in the MySQL configuration example has been updated to database_name. This change should be reflected in any documentation and scripts that reference the old database name.

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (0e8d98a) to head (a21cb35).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #694   +/-   ##
========================================
  Coverage    96.19%   96.19%           
========================================
  Files           91       91           
  Lines         2367     2367           
  Branches       511      511           
========================================
  Hits          2277     2277           
  Misses          75       75           
  Partials        15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🔭 Outside diff range comments (1)
docs/drupal/config/sync/views.view.glossary.yml (1)

The glossary view should be enabled for production use

Based on the configuration, this is a core content glossary view that:

  • Provides an A-Z listing of all content
  • Is accessible via the main menu at path /glossary
  • Includes important content metadata (title, author, last update)
  • Has proper access controls (requires 'access content' permission)
  • Is properly configured with pagination and AJAX loading

Since all other views in the system are enabled (status: true) and this view provides useful content navigation functionality that's meant to be accessible from the main menu, it should be enabled for production use.

🔗 Analysis chain

Line range hint 4-4: Verify if view should be enabled.

The view is currently disabled (status: false). Please verify if this is intentional or if the view should be enabled for production use.


Let me gather more information about the glossary view specifically to understand its purpose and configuration.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if other views in the system are enabled
rg "status: true" docs/drupal/config/sync/views.view.*.yml -A 1

Length of output: 3647


Script:

#!/bin/bash
# Check the glossary view configuration
cat docs/drupal/config/sync/views.view.glossary.yml

Length of output: 12587

🧹 Nitpick comments (17)
docs/drupal/config/sync/node.type.page.yml (1)

10-10: LGTM! Standardizing help text representation.

The change from empty string to null for the help field follows Drupal's configuration best practices by being more explicit about the absence of help text. This change is part of a broader standardization effort across content types.

This standardization improves configuration maintainability and makes it clearer when help text is intentionally omitted versus accidentally empty.

docs/drupal/config/sync/block_content.type.banner_block.yml (1)

9-9: LGTM! Improved type semantics for revision flag.

The change from 0 to false for the revision field improves semantic clarity by using a boolean value instead of an integer to represent the revision flag. This is part of a consistent update across block content types.

Using proper boolean values instead of integers for flags improves configuration readability and reduces potential confusion about valid values.

docs/drupal/config/sync/core.entity_view_display.media.image.media_library.yml (1)

24-26: LGTM! Comprehensive lazy loading implementation.

The addition of lazy loading to media library thumbnails completes the performance optimization across different entity types. This is particularly beneficial for media library views which often display multiple images simultaneously.

Consider updating the project's documentation to mention this performance optimization and its potential impact on initial page load times.

docs/drupal/config/sync/core.entity_view_display.media.remote_video.media_library.yml (1)

24-26: LGTM! Performance optimization through lazy loading.

The addition of lazy loading for media thumbnails is a good performance optimization that will help reduce initial page load times. This change is part of a consistent pattern applied across multiple media types.

Consider monitoring the impact on performance metrics like Largest Contentful Paint (LCP) and First Input Delay (FID) after this change.

docs/nuxt/content/guide/deprecations.md (2)

8-8: Address the TODO comment about moving to API documentation.

The TODO comment indicates this content should be moved to API documentation. Consider creating a dedicated API documentation section for deprecation notices to improve documentation organization.

Would you like me to help create a new API documentation file and migrate this content?


19-20: Code examples could be more comprehensive.

While the examples show both deprecated and current usage, consider adding:

  1. A complete example showing the context where this is typically used
  2. Any migration steps for users updating from older versions

Also applies to: 25-26

docs/nuxt/content/guide/storybook.md (1)

Line range hint 21-24: Consider adding version requirements.

The installation instructions should specify any version requirements or compatibility information for the Storybook dependencies.

docs/nuxt/content/guide/proxy.md (2)

Line range hint 39-46: Enhance multi-site configuration documentation.

The multi-site configuration example would benefit from:

  1. A brief explanation of when to use this configuration
  2. Any considerations or limitations when using custom paths

Line range hint 51-65: Add security considerations for proxy configuration.

When configuring proxies, it's important to consider security implications. Consider adding a section about:

  1. Potential security risks when proxying requests
  2. Best practices for securing proxy configurations
  3. Rate limiting considerations
docs/nuxt/content/guide/devtools.md (1)

51-51: Add hyphens to "up-to-date"

The compound adjective "up to date" should be hyphenated when used as a modifier.

-ensure that both Vue.js Devtools and DruxtJS are up to date.
+ensure that both Vue.js Devtools and DruxtJS are up-to-date.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~51-~51: It appears that hyphens are missing in the adjective “up-to-date”.
Context: ...at both Vue.js Devtools and DruxtJS are up to date. - Consult the [Vue.js Devtools documen...

(UP_TO_DATE_HYPHEN)

docs/nuxt/content/guide/multilingual.md (1)

Line range hint 16-29: Consider adding syntax highlighting to composer patches

The JSON code block would be more readable with proper syntax highlighting for the patch URLs.

-```json
+"```jsonc
 "drupal/druxt": {
     // Patch for multilingual support
     "https://www.drupal.org/project/druxt/issues/3273228": "https://git.drupalcode.org/project/druxt/-/merge_requests/9.diff"
 },
docs/nuxt/content/guide/theming.md (1)

62-64: Use consistent comment style in code examples

The inline comment uses a different style than other code examples. Consider using Vue template comments for consistency.

-    // This will be wrapped by a DruxtBlock Wrapper component.
+    <!-- This will be wrapped by a DruxtBlock Wrapper component -->
docs/nuxt/content/guide/README.md (1)

31-33: Update list style for consistency

The unordered lists should use dashes (-) instead of asterisks (*) to comply with markdown style guidelines.

Apply this formatting change:

- * **Nuxt Modules**: Enhance your application with powerful features from the [Nuxt modules list](https://modules.nuxtjs.org/).
- * **Drupal Modules**: Extend your site's capabilities with modules from the [Drupal modules list](https://www.drupal.org/project/project_module).
- * **Druxt Modules**: Bridge the gap between Drupal and Nuxt.js, making decoupled development easier. Browse the [Druxt modules list](/modules) for more information.
+ - **Nuxt Modules**: Enhance your application with powerful features from the [Nuxt modules list](https://modules.nuxtjs.org/).
+ - **Drupal Modules**: Extend your site's capabilities with modules from the [Drupal modules list](https://www.drupal.org/project/project_module).
+ - **Druxt Modules**: Bridge the gap between Drupal and Nuxt.js, making decoupled development easier. Browse the [Druxt modules list](/modules) for more information.

Also applies to: 41-43, 53-55

🧰 Tools
🪛 Markdownlint (0.37.0)

31-31: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


32-32: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


33-33: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

docs/nuxt/content/guide/client.md (1)

119-119: Fix code block language identifier

There's a typo in the language identifier for the code block.

-```jjs
+```js
docs/nuxt/content/guide/getting-started.md (1)

12-23: Consider expanding Docker/DDEV setup instructions

While Docker is recommended for local development, the setup instructions could benefit from:

  • Prerequisites for Docker and DDEV installation
  • Link to DDEV documentation
  • Basic DDEV commands for starting/stopping the environment
CONTRIBUTING.md (1)

18-20: Fix formatting and grammar issues

Several issues need attention:

  1. Avoid using bare URLs (line 18)
  2. Missing comma after "When reporting bugs"
  3. Consider restructuring for better readability
-One of the easiest ways to contribute to Druxt is to open issues, giving as much detail as possible to make it easier other contributors and maintainers: http://github.com/druxt/druxt.js/issues/new/choose
-
-When reporting bugs please make sure to provide detailed steps to reproduce the issue, and when possible provide a Gitpod workspace snapshot to demonstrate the issue.
+One of the easiest ways to contribute to Druxt is to open issues, giving as much detail as possible to make it easier for other contributors and maintainers: [Create New Issue](http://github.com/druxt/druxt.js/issues/new/choose)
+
+When reporting bugs, please make sure to provide detailed steps to reproduce the issue, and when possible, provide a Gitpod workspace snapshot to demonstrate the issue.
🧰 Tools
🪛 LanguageTool

[typographical] ~20-~20: It seems that a comma is missing.
Context: ...s/issues/new/choose When reporting bugs please make sure to provide detailed steps to ...

(IF_PLEASE_COMMA)

🪛 Markdownlint (0.37.0)

18-18: null
Bare URL used

(MD034, no-bare-urls)

README.md (1)

57-57: Consider hyphenating compound adjective.

Change "open source" to "open-source" when used as a compound adjective modifying "project".

-Druxt is an open source project, built by the community for the community.
+Druxt is an open-source project, built by the community for the community.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~57-~57: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rg/slack) ## Contributing Druxt is an open source project, built by the community for the...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a21cb35 and e62d32a.

⛔ Files ignored due to path filters (1)
  • docs/drupal/composer.lock is excluded by !**/*.lock
📒 Files selected for processing (62)
  • CONTRIBUTING.md (5 hunks)
  • README.md (3 hunks)
  • docs/drupal/.ddev/config.yaml (1 hunks)
  • docs/drupal/.ddev/docker-compose.env.yaml (0 hunks)
  • docs/drupal/composer.json (3 hunks)
  • docs/drupal/config/sync/block_content.type.banner_block.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.basic.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.disclaimer_block.yml (1 hunks)
  • docs/drupal/config/sync/block_content.type.footer_promo_block.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_form_display.media.image.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.audio.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.document.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.image.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.image.medium_8_7.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.remote_video.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.media.video.media_library.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.user.user.compact.yml (1 hunks)
  • docs/drupal/config/sync/core.entity_view_display.user.user.default.yml (1 hunks)
  • docs/drupal/config/sync/core.extension.yml (1 hunks)
  • docs/drupal/config/sync/editor.editor.basic_html.yml (0 hunks)
  • docs/drupal/config/sync/editor.editor.full_html.yml (1 hunks)
  • docs/drupal/config/sync/jsonapi.settings.yml (0 hunks)
  • docs/drupal/config/sync/language/es/views.view.related_recipes.yml (2 hunks)
  • docs/drupal/config/sync/node.type.article.yml (1 hunks)
  • docs/drupal/config/sync/node.type.page.yml (1 hunks)
  • docs/drupal/config/sync/node.type.recipe.yml (1 hunks)
  • docs/drupal/config/sync/search.settings.yml (0 hunks)
  • docs/drupal/config/sync/system.cron.yml (1 hunks)
  • docs/drupal/config/sync/system.date.yml (1 hunks)
  • docs/drupal/config/sync/system.site.yml (1 hunks)
  • docs/drupal/config/sync/taxonomy.vocabulary.recipe_category.yml (1 hunks)
  • docs/drupal/config/sync/taxonomy.vocabulary.tags.yml (1 hunks)
  • docs/drupal/config/sync/views.view.archive.yml (1 hunks)
  • docs/drupal/config/sync/views.view.block_content.yml (1 hunks)
  • docs/drupal/config/sync/views.view.content.yml (1 hunks)
  • docs/drupal/config/sync/views.view.featured_articles.yml (1 hunks)
  • docs/drupal/config/sync/views.view.files.yml (2 hunks)
  • docs/drupal/config/sync/views.view.glossary.yml (1 hunks)
  • docs/drupal/config/sync/views.view.media.yml (2 hunks)
  • docs/drupal/config/sync/views.view.media_library.yml (1 hunks)
  • docs/drupal/config/sync/views.view.moderated_content.yml (2 hunks)
  • docs/drupal/config/sync/views.view.recipes.yml (1 hunks)
  • docs/drupal/config/sync/views.view.related_recipes.yml (2 hunks)
  • docs/drupal/config/sync/views.view.taxonomy_term.yml (1 hunks)
  • docs/drupal/config/sync/views.view.user_admin_people.yml (1 hunks)
  • docs/drupal/config/sync/views.view.watchdog.yml (1 hunks)
  • docs/drupal/recipes/README.txt (1 hunks)
  • docs/drupal/web/.htaccess (1 hunks)
  • docs/drupal/web/autoload.php (0 hunks)
  • docs/drupal/web/sites/default/default.services.yml (4 hunks)
  • docs/drupal/web/sites/default/default.settings.php (7 hunks)
  • docs/drupal/web/sites/development.services.yml (1 hunks)
  • docs/drupal/web/sites/example.sites.php (2 hunks)
  • docs/nuxt/content/guide/README.md (1 hunks)
  • docs/nuxt/content/guide/client.md (2 hunks)
  • docs/nuxt/content/guide/deprecations.md (1 hunks)
  • docs/nuxt/content/guide/devtools.md (1 hunks)
  • docs/nuxt/content/guide/getting-started.md (2 hunks)
  • docs/nuxt/content/guide/multilingual.md (4 hunks)
  • docs/nuxt/content/guide/proxy.md (5 hunks)
  • docs/nuxt/content/guide/storybook.md (1 hunks)
  • docs/nuxt/content/guide/theming.md (3 hunks)
💤 Files with no reviewable changes (5)
  • docs/drupal/.ddev/docker-compose.env.yaml
  • docs/drupal/web/autoload.php
  • docs/drupal/config/sync/editor.editor.basic_html.yml
  • docs/drupal/config/sync/search.settings.yml
  • docs/drupal/config/sync/jsonapi.settings.yml
✅ Files skipped from review due to trivial changes (9)
  • docs/drupal/config/sync/block_content.type.disclaimer_block.yml
  • docs/drupal/config/sync/taxonomy.vocabulary.recipe_category.yml
  • docs/drupal/config/sync/taxonomy.vocabulary.tags.yml
  • docs/drupal/config/sync/block_content.type.basic.yml
  • docs/drupal/config/sync/views.view.user_admin_people.yml
  • docs/drupal/web/sites/example.sites.php
  • docs/drupal/web/sites/development.services.yml
  • docs/drupal/recipes/README.txt
  • docs/drupal/config/sync/views.view.files.yml
🧰 Additional context used
🪛 LanguageTool
docs/nuxt/content/guide/deprecations.md

[style] ~15-~15: ‘Prior to’ might be wordy. Consider a shorter alternative.
Context: ...n deprecated. Version: >= 0.6.0 Prior to 0.6.0, the DruxtStore store used a `h...

(EN_WORDINESS_PREMIUM_PRIOR_TO)

CONTRIBUTING.md

[typographical] ~20-~20: It seems that a comma is missing.
Context: ...s/issues/new/choose When reporting bugs please make sure to provide detailed steps to ...

(IF_PLEASE_COMMA)


[style] ~26-~26: As a shorter alternative for ‘able to’, consider using “can”.
Context: ...------------ ### Pull requests If you are able to resolve an issue, or have improvements ...

(BE_ABLE_TO)


[grammar] ~28-~28: A verb may be missing.
Context: ...rocess to create a Pull request: 1. If this a new issue, make sure to open a bug re...

(THIS_MISSING_VERB)


[grammar] ~30-~30: This sentence should probably be started with a verb instead of the noun ‘Setup’. If not, consider inserting a comma for better clarity.
Context: ...ure request. 2. Fork the repository. 3. Setup a development environment (see [steps b...

(SENT_START_NN_DT)

docs/nuxt/content/guide/devtools.md

[uncategorized] ~51-~51: It appears that hyphens are missing in the adjective “up-to-date”.
Context: ...at both Vue.js Devtools and DruxtJS are up to date. - Consult the [Vue.js Devtools documen...

(UP_TO_DATE_HYPHEN)

README.md

[uncategorized] ~57-~57: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rg/slack) ## Contributing Druxt is an open source project, built by the community for the...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🪛 Markdownlint (0.37.0)
CONTRIBUTING.md

18-18: null
Bare URL used

(MD034, no-bare-urls)


33-33: null
Bare URL used

(MD034, no-bare-urls)


132-132: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


138-138: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


148-148: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


172-172: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

docs/nuxt/content/guide/README.md

31-31: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


32-32: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


33-33: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


41-41: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


42-42: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


43-43: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


53-53: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


54-54: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


55-55: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

🔇 Additional comments (51)
docs/drupal/config/sync/system.date.yml (1)

5-5: LGTM! Verify Drupal's handling of null country value.

The change from empty string to null for country.default aligns with similar configuration updates across the project. However, let's verify Drupal's handling of this value.

✅ Verification successful

Change from empty string to null is safe for country default setting

The change to null for country.default in system.date.yml is safe and follows Drupal's configuration patterns. From examining the configuration file:

  1. The setting is part of Drupal's core date configuration
  2. The null value is consistent with other default settings in the file
  3. When no country is selected, null is the appropriate semantic value
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check how Drupal handles null values for country.default
# Look for related configuration handling code and documentation

# Search for country default handling in Drupal core
rg -A 3 "country.*default" docs/drupal

# Check for any existing issues or discussions about country default values
rg -A 3 "country.*default.*null" docs/drupal

Length of output: 87


Script:

#!/bin/bash
# Let's broaden our search to find any related configuration files and patterns

# Find all YAML files in the Drupal config directory
fd -e yml -e yaml . docs/drupal/config

# Search for any country-related configurations
rg -g '*.{yml,yaml}' -i 'country' docs/drupal

# Look for similar null value patterns in other config files
rg -g '*.{yml,yaml}' 'default: null' docs/drupal/config

Length of output: 36178


Script:

#!/bin/bash
# Let's examine the full content of system.date.yml and look for any related configuration files

# Get the full content of system.date.yml
cat docs/drupal/config/sync/system.date.yml

# Look for any files that might reference or depend on system.date settings
rg -g '*.{php,yml,yaml}' -i "system\.date" docs/drupal

Length of output: 301

docs/drupal/config/sync/editor.editor.full_html.yml (2)

57-57: LGTM! The change improves configuration consistency.

Setting max_size: null is more semantically correct than an empty string and aligns with how max_dimensions is configured. This allows the system-wide upload limits to take effect.


Line range hint 57-61: Verify system-wide upload limits are properly configured.

Since image upload constraints are now defaulting to system values, ensure that appropriate limits are configured at the system level (php.ini and Drupal settings).

docs/drupal/config/sync/language/es/views.view.related_recipes.yml (3)

1-2: LGTM: View metadata translations are properly configured

The Spanish translations for the view label and description are grammatically correct and follow Drupal's configuration schema.


27-28: LGTM: Block display configuration is properly translated

The block description translation is consistent with the view's title and follows Drupal's configuration schema.


Line range hint 7-25: Verify translation consistency across views

The translations look correct, but we should ensure they maintain consistency with other views in the system.

✅ Verification successful

Translations are consistent with other views in the system

The translations in views.view.related_recipes.yml align perfectly with the established patterns across other views in the Spanish translations:

  • "submit_button: Aplicar" is consistently used across most views (except admin views which use "Filtro")
  • "reset_button_label: Restablecer" is used uniformly across all views
  • "exposed_sorts_label: 'Ordenar por'" is consistently implemented in all views
  • The "exception: title: Todo(s)" pattern is also used in other views like taxonomy_term, files, and media_library
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for translation consistency across view configurations
# Look for similar translation patterns in other Spanish view configurations

# Search for exposed form translations in other Spanish view configurations
echo "Checking exposed form translations consistency..."
rg -l "submit_button: Aplicar" "docs/drupal/config/sync/language/es/views.view.*.yml"
rg -l "reset_button_label: Restablecer" "docs/drupal/config/sync/language/es/views.view.*.yml"
rg -l "exposed_sorts_label: 'Ordenar por'" "docs/drupal/config/sync/language/es/views.view.*.yml"

# Search for exception translations
echo "Checking exception translations consistency..."
rg -l "exception:\s+title: Todo\(s\)" "docs/drupal/config/sync/language/es/views.view.*.yml"

Length of output: 969


Script:

#!/bin/bash
# Let's first verify if the directory structure exists and list Spanish translation files
echo "Checking directory structure and Spanish translation files..."
fd . docs/drupal/config/sync/language/es/

# If the above shows files exist, let's try a more flexible search for translation patterns
echo "Searching for translation patterns..."
rg "submit_button:|reset_button_label:|exposed_sorts_label:|exception:" docs/drupal/config/sync/language/es/

Length of output: 21827

docs/drupal/config/sync/views.view.related_recipes.yml (2)

159-159: LGTM! Improved semantic accuracy with entity_target_id plugin.

The change from 'numeric' to 'entity_target_id' plugin is more appropriate for handling taxonomy term references.


190-190: Verify the view configuration after plugin changes.

The addition of target_entity_type_id: taxonomy_term complements the plugin change. However, we should verify that:

  1. The view still functions correctly with these changes
  2. No other views are affected if they share this configuration
✅ Verification successful

The view configuration change is isolated and safe

The target_entity_type_id: taxonomy_term addition in the related_recipes view is correctly configured and isolated. Based on the verification:

  1. The field_recipe_category is only used in this specific view (views.view.related_recipes.yml)
  2. The taxonomy term relationship is properly configured as part of the recipe_category argument
  3. No other views share this exact configuration that could be affected by the change
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for other views that might be affected by this change

# Look for other views using field_recipe_category
rg -l "field_recipe_category_target_id" "docs/drupal/config/sync/views.view.*.yml"

# Check for any views using the old numeric plugin with taxonomy terms
rg --multiline --multiline-dotall 'plugin_id: numeric.*?field: .*?taxonomy' "docs/drupal/config/sync/views.view.*.yml"

Length of output: 365


Script:

#!/bin/bash
# Let's first verify if the directory structure is different
fd "views.view" --type f

# Then check for any yml files that might contain the relevant configurations
fd ".yml$" --type f | grep -i "view"

# As a fallback, let's check all yml files in the repository
fd ".yml$" --type f

Length of output: 46647


Script:

#!/bin/bash
# Let's check the content of related_recipes view and other views that might use field_recipe_category
rg -l "field_recipe_category" docs/drupal/config/sync/views.view.*.yml

# Then let's examine the content of related_recipes view specifically
cat docs/drupal/config/sync/views.view.related_recipes.yml

# And check for any other views using taxonomy term relationships
rg "type: taxonomy_term" docs/drupal/config/sync/views.view.*.yml

Length of output: 10907

docs/drupal/config/sync/system.cron.yml (1)

6-6: LGTM! Type correction from integer to boolean

The change from 1 to true for the logging configuration is semantically equivalent and aligns with Drupal's configuration standards for boolean values.

docs/drupal/config/sync/block_content.type.footer_promo_block.yml (1)

9-9: LGTM! Type correction from integer to boolean

The change from 0 to false for the revision configuration is semantically equivalent and aligns with Drupal's configuration standards for boolean values.

docs/drupal/config/sync/node.type.article.yml (1)

10-10: LGTM! Consistent with other content type changes.

The help field change matches the standardization applied to other content types.

docs/drupal/config/sync/node.type.recipe.yml (1)

16-16: LGTM: Standardized help field representation

The change from empty string to null for the help field follows Drupal's configuration best practices and maintains consistency with similar changes in article and page content types.

docs/drupal/config/sync/core.entity_form_display.media.image.media_library.yml (1)

20-22: LGTM: Complete field configuration restored

The field configuration properties (type, weight, region) are properly defined for the media image field, ensuring correct form display handling in the media library.

docs/drupal/config/sync/core.extension.yml (2)

36-36: Verify Layout Builder module dependencies and configuration

The addition of layout_builder_expose_all_field_blocks module looks correct. However, please ensure:

  1. All required dependencies are met
  2. The module is compatible with the current Layout Builder configuration
✅ Verification successful

Let me gather more information about the Layout Builder configuration and dependencies.


Layout Builder dependencies are properly configured

The verification shows that:

  • The layout_builder module is enabled with weight 0
  • The layout_discovery module (required dependency) is enabled
  • Layout Builder fields are properly configured for article, page, and recipe content types
  • The new module layout_builder_expose_all_field_blocks has the same weight (0) as its parent module
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for Layout Builder related configuration files
fd -e yml -e yaml . | grep -i "layout_builder"

# Check for any potential configuration that might be affected
rg -l "layout_builder_expose_all_field_blocks" .

Length of output: 694


Script:

#!/bin/bash
# Check if layout_builder is enabled and its configuration
cat docs/drupal/config/sync/core.extension.yml

# Check content of layout builder field configurations to understand current setup
cat docs/drupal/config/sync/field.field.node.article.layout_builder__layout.yml
cat docs/drupal/config/sync/field.field.node.page.layout_builder__layout.yml
cat docs/drupal/config/sync/field.field.node.recipe.layout_builder__layout.yml

Length of output: 3042


Line range hint 1-1: Note: Discrepancy in PR scope

The PR title mentions removing a deprecated version key from DDEV dockerfile, but the provided files only contain Drupal configuration changes. Please verify if:

  1. The dockerfile changes are missing from this review
  2. The PR title needs to be updated to reflect the actual changes
docs/drupal/config/sync/core.entity_view_display.user.user.default.yml (1)

26-28: LGTM! Performance optimization through lazy loading.

The addition of lazy loading for user pictures is a good performance optimization. This change follows Drupal's best practices and is consistent with similar changes across other entity types.

Let's verify if this change is consistently applied across all relevant image fields:

✅ Verification successful

Lazy loading is consistently implemented across image fields

The verification confirms that lazy loading is properly implemented across the codebase:

  • User pictures are configured with lazy loading
  • Media image fields in various view modes (responsive_3x2, square, medium_8_7, media_library) have lazy loading enabled
  • The only exception is the hero image (scale_crop_7_3_large view mode) which correctly uses eager loading, as it's typically above the fold

The change is consistent with Drupal's image loading best practices and properly implemented across the relevant configurations.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for any image field configurations that might be missing the lazy loading attribute
rg -l 'type: image' docs/drupal/config/sync/ | xargs rg -L 'image_loading:\s+attribute: lazy'

Length of output: 95


Script:

#!/bin/bash
# Let's first find all files containing image field configurations
rg -l "field.*type: image" docs/drupal/config/sync/

# Then let's examine the content of these files to check image loading settings
echo "=== Examining image field configurations ==="
rg "field.*type: image" -A 5 docs/drupal/config/sync/

Length of output: 513


Script:

#!/bin/bash
# Let's examine the complete configuration of both image fields to verify lazy loading
echo "=== User Picture Configuration ==="
cat docs/drupal/config/sync/field.field.user.user.user_picture.yml

echo -e "\n=== Media Image Configuration ==="
cat docs/drupal/config/sync/field.field.media.image.field_media_image.yml

# Also check the related display configurations
echo -e "\n=== Related Display Configurations ==="
rg -l "field_media_image|user_picture" docs/drupal/config/sync/core.entity_view_display.*.yml | xargs cat

Length of output: 43751

docs/drupal/config/sync/core.entity_view_display.user.user.compact.yml (1)

24-26: LGTM! Consistent implementation in compact view mode.

The lazy loading configuration matches the implementation in the default view mode, maintaining consistency across different view modes.

docs/drupal/config/sync/core.entity_view_display.media.audio.media_library.yml (1)

24-26: LGTM! Performance optimization through lazy loading.

The addition of lazy loading for thumbnails is a good performance optimization that follows web best practices.

docs/drupal/config/sync/core.entity_view_display.media.video.media_library.yml (1)

24-26: LGTM! Consistent implementation across media types.

The lazy loading configuration matches the implementation in other media types, maintaining consistency throughout the media library.

docs/drupal/config/sync/core.entity_view_display.media.document.media_library.yml (1)

24-26: LGTM! Completes lazy loading implementation across media types.

The lazy loading configuration is consistently implemented across all media types (audio, video, document), providing a uniform performance optimization throughout the media library.

docs/drupal/config/sync/core.entity_view_display.media.image.medium_8_7.yml (1)

29-31: LGTM! Consistent lazy loading implementation.

The addition of lazy loading for the main image field aligns with the broader optimization strategy and is particularly beneficial for this medium_8_7 view mode.

docs/drupal/config/sync/views.view.archive.yml (1)

46-46: Verify heading level choice for pagination.

The addition of a pagination heading level improves accessibility, but please verify that h4 is appropriate within the page's heading hierarchy. This should be lower than the main content headings but higher than any sub-components.

Let's check the heading structure in related templates:

✅ Verification successful

Heading level choice for pagination is consistent with site-wide pattern

The h4 heading level for pagination is verified to be consistent across all views in the site, including watchdog, user admin, taxonomy term, recipes, and other key views. This standardization indicates a deliberate design choice for the heading hierarchy across the platform.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for heading patterns in theme templates
rg -l "h[1-6]" --type html --type twig

Length of output: 189


Script:

#!/bin/bash
# Search for heading patterns in theme templates with broader file patterns
rg -l "h[1-6]" -g "*.html" -g "*.twig" -g "*.html.twig"

# Also check for view template patterns specific to archive view
rg -l "archive.*view" -g "*.html" -g "*.twig" -g "*.html.twig"

# Look for pagination templates
rg -l "pagination" -g "*.html" -g "*.twig" -g "*.html.twig"

# Check other view configurations for heading level patterns
rg "pagination_heading_level" -g "*.yml"

Length of output: 1918

docs/drupal/config/sync/views.view.recipes.yml (1)

95-95: LGTM: Semantic HTML improvement for accessibility

The addition of pagination_heading_level: h4 enhances accessibility by providing proper heading hierarchy in the pagination section.

docs/drupal/config/sync/views.view.featured_articles.yml (1)

95-95: LGTM: Consistent semantic HTML structure

The addition of pagination_heading_level: h4 maintains consistency with other view configurations while improving accessibility.

docs/drupal/web/.htaccess (1)

25-27: LGTM: Enhanced support for WebP images

The addition of WebP MIME type configuration is correctly placed and properly configured, enabling proper handling of WebP images by the server.

docs/drupal/config/sync/views.view.taxonomy_term.yml (1)

46-46: LGTM! Accessibility improvement for pagination heading.

The addition of pagination_heading_level: h4 enhances the semantic structure of the pagination section, improving accessibility for screen readers.

docs/drupal/config/sync/views.view.glossary.yml (1)

213-213: LGTM! Accessibility improvement for pagination heading.

The addition of pagination_heading_level: h4 maintains consistency with other views while improving accessibility.

docs/drupal/config/sync/views.view.block_content.yml (1)

290-290: LGTM! Accessibility improvement for pagination heading.

The addition of pagination_heading_level: h4 maintains consistency with other views while improving accessibility. The configuration is particularly well-suited for the admin interface with appropriate items per page (50) for content block management.

docs/drupal/config/sync/views.view.content.yml (1)

258-258: LGTM! Accessibility improvement for pagination.

The addition of pagination_heading_level: h4 enhances the semantic structure of the pagination section, improving accessibility and maintaining consistency across views.

docs/drupal/config/sync/views.view.watchdog.yml (1)

457-457: LGTM! Consistent pagination heading implementation.

The addition of pagination_heading_level: h4 maintains consistency with other views while improving the semantic structure of the watchdog view's pagination.

docs/drupal/config/sync/views.view.moderated_content.yml (2)

5-6: LGTM! Required dependencies for content moderation.

The addition of workflows.workflow.editorial and content_moderation dependencies properly declares the view's requirements for moderation functionality.

Also applies to: 8-8


438-438: LGTM! Consistent pagination heading implementation.

The addition of pagination_heading_level: h4 maintains consistency with other views while improving the semantic structure of the moderated content view's pagination.

docs/drupal/config/sync/views.view.media.yml (2)

137-139: Performance optimization: Lazy loading for thumbnails

The addition of lazy loading for thumbnails is a good performance optimization that will help reduce initial page load time and save bandwidth.


542-542: Accessibility improvement: Semantic heading level for pagination

Adding a semantic heading level for pagination improves accessibility by providing better structure for screen readers.

docs/drupal/config/sync/views.view.media_library.yml (1)

156-156: Accessibility improvement: Consistent heading level for pagination

The addition of the pagination heading level maintains consistency with other views and improves accessibility.

docs/nuxt/content/guide/storybook.md (1)

9-9: Verify the image path and existence.

Please ensure the referenced image /images/druxt-block-storybook.png exists in the repository.

✅ Verification successful

Image path is correctly referenced and file exists

The image file druxt-block-storybook.png exists at the correct location in docs/nuxt/static/images/, which is properly referenced in the markdown file as /images/druxt-block-storybook.png.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if the referenced image exists
fd -t f "druxt-block-storybook.png" docs/nuxt/static/images docs/nuxt/public/images

Length of output: 203

docs/nuxt/content/guide/devtools.md (1)

6-46: Excellent documentation restructuring!

The documentation has been significantly improved with:

  • Clear section organization
  • Detailed step-by-step instructions
  • Comprehensive usage guidelines
  • Visual aids with proper captions
docs/nuxt/content/guide/multilingual.md (1)

Line range hint 6-29: Well-structured multilingual documentation!

The documentation has been effectively organized with:

  • Clear feature overview
  • Comprehensive setup instructions
  • Detailed patch requirements
docs/nuxt/content/guide/theming.md (1)

Line range hint 6-41: Great improvements to theming documentation!

The documentation has been enhanced with:

  • Clear navigation structure
  • Well-organized sections
  • Detailed component examples
docs/nuxt/content/guide/README.md (1)

6-55: Documentation structure and content look great!

The content is well-organized, clear, and provides comprehensive guidance for users getting started with DruxtJS. The sections flow logically from introduction to detailed implementation.

🧰 Tools
🪛 Markdownlint (0.37.0)

31-31: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


32-32: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


33-33: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


41-41: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


42-42: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


43-43: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


53-53: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


54-54: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


55-55: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

docs/nuxt/content/guide/client.md (1)

Line range hint 8-129: Documentation is comprehensive and well-structured

The content provides clear explanations and well-formatted examples for using the DruxtClient. The progression from basic setup to advanced usage is logical and easy to follow.

docs/nuxt/content/guide/getting-started.md (1)

Line range hint 6-119: Documentation is clear and well-organized

The getting started guide provides comprehensive instructions with a logical flow from requirements to implementation. The code examples and configuration snippets are clear and properly formatted.

docs/drupal/composer.json (2)

28-30: ⚠️ Potential issue

Major version upgrade to Drupal 11

The upgrade to Drupal 11 core packages is a significant change that requires careful testing.

✅ Verification successful

Let me check the composer.lock file to see the exact version constraints.


Drupal 11 upgrade appears compatible with installed modules

The composer.lock analysis shows that:

  • Core packages are consistently set to version 11.1.0
  • All dependent modules have version constraints that include Drupal 11 compatibility (^11)
  • No modules are strictly bound to Drupal 10 or earlier versions
  • The only reference to Drupal 10 is in modules that support multiple versions (e.g., ^9.5 || ^10 || ^11)
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for any remaining Drupal 10 dependencies that might cause compatibility issues
rg -l "drupal/core.*\^10" 

Length of output: 53


Script:

#!/bin/bash
# Check the content of composer.lock for Drupal 10 dependencies
rg "drupal/core" -A 5 docs/drupal/composer.lock

Length of output: 10255


11-23: Verify the druxt repository configuration

The repository configuration has been restructured to pull drupal/druxt from a specific git repository. This change appears to be related to Drupal 11 compatibility work.

✅ Verification successful

Repository configuration for drupal/druxt is correctly implemented

The composer.lock file confirms that:

  • The package is successfully being pulled from the specified git repository
  • It's using the correct branch 3429976-d11_ready
  • The package is properly locked at commit 33bc284c
  • The stability flag is appropriately set for this development version

The repository configuration in composer.json is working as intended and the package is being resolved correctly.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Verify if the specified git repository is accessible and contains the required branch
gh api repos/drupalcode/druxt-3429976/branches/3429976-d11_ready

Length of output: 211


Script:

#!/bin/bash
# Check if there are any references to the druxt repository URL in other files
rg -l "git.drupalcode.org/issue/druxt-3429976" --type-add 'lock:*.lock' --type lock

# Check for any documentation or README files that might explain this change
fd -e md -e txt | xargs rg -l "druxt.*3429976"

# Look for any composer.lock files to verify the current druxt version
fd composer.lock$ | xargs cat | grep -A 10 -B 10 "drupal/druxt"

Length of output: 1711

docs/drupal/.ddev/config.yaml (1)

11-11: LGTM: MariaDB version update

The update to MariaDB 10.6 is a good choice as it's a stable version with long-term support.

docs/drupal/web/sites/default/default.services.yml (2)

41-44: Documentation improvements for session management are helpful.

The added documentation about session synchronization across subdomains and session cookie name generation provides valuable context for configuration.

Also applies to: 54-58


206-229: Enhanced CORS documentation improves security awareness.

The detailed documentation for CORS headers helps developers understand the security implications of each setting.

docs/drupal/web/sites/default/default.settings.php (2)

147-147: Documentation URL updated to reference newer MySQL version.

The MySQL documentation link has been updated to version 8.0, which is appropriate for current installations.


358-364: Improved reverse proxy security documentation.

The enhanced documentation about reverse proxy configuration and security implications provides better guidance for secure deployment.

README.md (2)

15-22: Documentation links are better structured.

The reformatting of links with bold labels and consistent formatting improves readability.


62-62: Cloud development setup instructions are clear.

The instructions for cloud development using gitpod.io are well-documented and include both text instructions and a clickable button.

Comment on lines +32 to +38
"drupal/druxt": "dev-3429976-d11_ready",
"drupal/jsonapi_hypermedia": "^1.10.0",
"drupal/simple_oauth": "^5.2.5",
"drupal/tome": "^1.12.0",
"drush/drush": "^12"
"drupal/jsonapi_menu_items": "^1.2",
"drupal/jsonapi_resources": "^1.2",
"drupal/simple_oauth": "^6.0@beta",
"drupal/tome": "^1.13",
"drush/drush": "^13"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Review stability of development dependencies

Several concerning dependency changes:

  1. Using a development branch for drupal/druxt
  2. Using a beta version for drupal/simple_oauth

These could introduce stability issues in production.

Consider:

  • Pinning to stable versions where possible
  • Adding explicit stability flags in composer.json
  • Documenting the risks in release notes

@@ -1,14 +1,14 @@
name: druxtjs-drupal
type: drupal10
docroot: web
php_version: "8.2"
php_version: "8.4"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Reconsider PHP 8.4 upgrade

PHP 8.4 is currently in development and not recommended for production use. Consider using PHP 8.3 which is the latest stable version.

-php_version: "8.4"
+php_version: "8.3"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
php_version: "8.4"
php_version: "8.3"

Comment on lines +2 to +5
# Toggles the super user access policy. If your website has at least one user
# with the Administrator role, it is advised to set this to false. This allows
# you to make user 1 a regular user, strengthening the security of your site.
security.enable_super_user: true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Review security implications of enabling super user access.

The security.enable_super_user parameter is set to true by default. This configuration could pose security risks in production environments.

Consider setting this to false by default and documenting the security implications more explicitly in the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant