-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
enhancementNew feature or requestNew feature or requesttriageA new issue that needs triageA new issue that needs triage
Description
Package
next (Drupal module)
Describe the feature request
Problem
The NextEntityTypeConfigForm is using the AJAX method 'replace' which can cause DOM replacement issues. The correct method should be 'replaceWith' for proper
element replacement.
Current Behavior
- AJAX callbacks in NextEntityTypeConfigForm use 'method' => 'replace'
- This affects form interactions and dynamic content updates
Expected Behavior
- AJAX callbacks should use 'method' => 'replaceWith' for proper DOM element replacement
Additional Enhancement
The CacheTag revalidator currently has no configuration options, making it less flexible for different caching strategies. Adding configuration options would
allow users to:
- Choose which cache tags to revalidate (entity tags, list tags)
- Add custom cache tags
- Better control cache invalidation behavior
Files Affected
- modules/next/src/Form/NextEntityTypeConfigForm.php
- modules/next/src/Plugin/Next/Revalidator/CacheTag.php
Proposed Solution
- Update AJAX method from 'replace' to 'replaceWith' in form callbacks
- Add configuration form to CacheTag revalidator with options for:
- Individual entity cache tags
- Entity list cache tags
- Additional custom cache tags - Improve user experience with contextual help text and examples
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttriageA new issue that needs triageA new issue that needs triage