Skip to content

baikho/drupal-tooler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal Tooler

Chrome Extension Drupal.org License: MIT Last Commit Stars

Drupal Tooler Icon A lightweight Chrome Extension that enhances Drupal.org issue pages with useful tools for developers.

✅ Features

📦 Composer Patch Button

  • Adds a "Composer" column to patch file tables on issue pages

  • Generates a valid Composer patch entry like:

    "drupal/[project_name]": {
      "#123456: Issue title": "https://www.drupal.org/files/issues/..."
    }

💬 Reply Button

  • Adds a 💬 "Reply" icon button to each comment on issue pages. When clicked:
  • Appends a permalink to the comment (e.g. <a href="#comment-14937840">#13</a>)

🛠 GitLab MR Patch Composer

  • Detects GitLab merge requests in the issue fork block
  • Creates a table showing:
    • MR number (e.g. !8)
    • Patch download link (.patch)
    • "Copy" button with Composer patch JSON

👀 Inline Patch Previews

Adds a "Preview" button next to each patch file on issue pages.

  • Expands a full-width row below the patch row
  • Fetches and displays patch contents inline
  • Adds syntax highlighting:
    • ✅ Light green for added lines
    • ❌ Light red for removed lines
  • Great for reviewing diffs without leaving the page

🏷 OP Comment Badging

Adds a small "OP" badge next to the username of the original poster on issue comments.

  • Makes it easy to identify the person who opened the issue
  • Clean, minimalist styling using Drupal brand color

📸 Screenshots

Drupal Tooler


🛠 Installation

Available on the Chrome Web Store.

Or install manually:

  1. Clone or download the repository
  2. Visit chrome://extensions in your browser
  3. Enable Developer Mode
  4. Click Load unpacked
  5. Select the project folder

📦 License

MIT — go wild and contribute back!