diff --git a/.github/labeler-config-srvaroa.yml b/.github/labeler-config-srvaroa.yml index 177a35f06..4117ec478 100644 --- a/.github/labeler-config-srvaroa.yml +++ b/.github/labeler-config-srvaroa.yml @@ -63,9 +63,6 @@ labels: files: - 'app/core/src/main/resources/static/.*' - 'app/proprietary/src/main/resources/static/.*' - - 'app/core/src/main/java/stirling/software/SPDF/controller/web/.*' - - 'app/core/src/main/java/stirling/software/SPDF/UI/.*' - - 'app/proprietary/src/main/java/stirling/software/proprietary/security/controller/web/.*' - 'frontend/**' - 'frontend/.*' - 'frontend/**/.*' diff --git a/ADDING_TOOLS.md b/ADDING_TOOLS.md index d24641b00..85775d8dd 100644 --- a/ADDING_TOOLS.md +++ b/ADDING_TOOLS.md @@ -1,6 +1,6 @@ # Adding New React Tools to Stirling PDF -This guide covers how to add new PDF tools to the React frontend, either by migrating existing Thymeleaf templates or creating entirely new tools. +This guide covers how to add new PDF tools to the React frontend. ## Overview @@ -188,7 +188,7 @@ import { use[ToolName]Tips } from "../components/tooltips/use[ToolName]Tips"; const [ToolName] = (props: BaseToolProps) => { const tips = use[ToolName]Tips(); - + // In your steps array: steps: [ { @@ -257,22 +257,14 @@ Update translation files. **Important: Only update `en-GB` files** - other langu - Add `options.*` keys if your tool has settings with descriptions **Tooltip Writing Guidelines:** -- **Use simple, everyday language** - avoid technical terms like "converts interactive elements" +- **Use simple, everyday language** - avoid technical terms like "converts interactive elements" - **Focus on benefits** - explain what the user gains, not how it works internally - **Use concrete examples** - "text boxes become regular text" vs "form fields are flattened" - **Answer user questions** - "What does this do?", "When should I use this?", "What's this option for?" - **Keep descriptions concise** - 1-2 sentences maximum per section - **Use bullet points** for multiple benefits or features -## 6. Migration from Thymeleaf -When migrating existing Thymeleaf templates: - -1. **Identify Form Parameters**: Look at the original `