Tags

Tags give the ability to mark specific points in history as being important
  • 1.2.0

    Key Changes & New Features
    Drupal 12 Compatibility: The module is now fully ready for Drupal 12 while maintaining backward compatibility with Drupal 11 and Drupal 10.1+.
    
    New Dedicated Renderer Service: Extracted the rendering logic out of the procedural hook layer into a dedicated service (mobile_native_share.renderer). The service implements MobileNativeShareRendererInterface, making it incredibly easy to programmatically generate and reuse the share button render array inside custom blocks, controllers, or routes.
    
    New Display Mode Configurations: Added a new configuration option in the admin settings form allowing administrators to choose between three display modes:
    
    Icon and Text (Default)
    
    Icon Only
    
    Text Only
    
    Accessibility (a11y) & Twig/CSS Optimizations
    Refactored the Twig template to use semantically correct <button type="button"> tags instead of <a> anchors.
    
    Improved screen-reader support: added dynamic aria-label handling for the Icon Only display mode, and marked decorative icons with alt="" aria-hidden="true".
    
    Enhanced keyboard navigation by adding explicit :focus styles.
    
    Improved user experience by increasing color contrast and optimizing the clickable touch area for the icon.
    
    Security & Validation Enhancements
    Robust Icon Field Validation: Added full form validation for the custom icon path in MobileNativeShareSettings::validateForm().
    
    The field now explicitly checks if the entered value is a proper URL or a valid relative path, ensuring it points only to allowed image extensions (png, jpg, jpeg, gif, svg).
    
    Moved the stripDangerousProtocols sanitization layer directly into the form validation state to prevent unsafe or malicious protocols from being saved into the configuration database.
    
    Gracefully handles empty inputs, safely falling back to the module's default SVG icon.
  • 1.0.4

    46279dd1 · fix issues ·
  • 1.0.1

    6ae2ff0d · remove debug ·