You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm currently using the Label Studio Community Edition for various labeling tasks. However, I find that the inability to include custom scripts (e.g., JavaScript injections in the Labeling Interface) severely limits my ability to implement custom validations and dynamic UI behavior (such as intercepting the Submit button to call external webhooks before submission). This restriction forces users to either modify the source code or rely on workarounds that are not ideal.
Describe the solution you'd like
I would like to request that the Label Studio Community Edition also support the use of custom scripts in the Labeling Interface. This feature would allow users to add their own JavaScript code to:
Intercept the Submit button and perform pre-submission validations via a webhook.
Display error messages or custom prompts based on validation results.
Enhance the overall interactivity and flexibility of the labeling UI.
Describe alternatives you've considered
Currently, users must either:
Modify the Label Studio source code to inject custom scripts, which increases maintenance overhead and complicates updates.
Use browser extensions or reverse-proxy methods to inject custom scripts, which are less reliable and harder to manage across different environments.
Both approaches are suboptimal compared to having native support for custom scripting in the Community Edition.
Additional context
Custom scripting capabilities are essential for tailoring the labeling experience to specific workflows, especially when complex validation logic or integration with external systems is required. Enabling this feature in the open-source version would empower the community to build more dynamic and responsive annotation interfaces without waiting for enterprise features. Attached are some mockups and examples demonstrating how custom scripts can improve the labeling process by allowing real-time validation and error feedback.
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for reaching out with your feature request and for providing detailed context about your needs.
At this time, the ability to include custom scripts within the Labeling Interface is supported only in the Enterprise Edition of Label Studio. In the Enterprise version, you can add custom JavaScript to intercept actions (such as the Submit button), perform pre‐submission validations via external webhooks, and enhance the UI. You can find full details in our Enterprise documentation here: Custom Scripts for Label Studio Enterprise.
In the Community Edition, we do not currently support native custom scripting. This design decision helps us ensure:
• Security & Stability: Allowing arbitrary script injections can introduce security risks and affect the stability of the open‐source product.
• Maintainability: Keeping the Community Edition lean minimizes the complexity of code maintenance and eases updates.
We understand that not being able to inject custom scripts can be limiting if you have complex validation or dynamic UI requirements. The workaround options you mentioned—modifying the source code or using browser extensions—are not ideal, which is exactly why we offer these advanced features in our Enterprise offering.
If advanced custom scripting is critical for your workflows, we recommend considering an upgrade to the Enterprise Edition where these capabilities are officially supported. Meanwhile, I have noted your feedback, and I’ll be sure to pass your request along to our product team to help inform future enhancements to the Community Edition.
Please let me know if you have any further questions or if I can help in any other way.
Is your feature request related to a problem? Please describe.
I'm currently using the Label Studio Community Edition for various labeling tasks. However, I find that the inability to include custom scripts (e.g., JavaScript injections in the Labeling Interface) severely limits my ability to implement custom validations and dynamic UI behavior (such as intercepting the Submit button to call external webhooks before submission). This restriction forces users to either modify the source code or rely on workarounds that are not ideal.
Describe the solution you'd like
I would like to request that the Label Studio Community Edition also support the use of custom scripts in the Labeling Interface. This feature would allow users to add their own JavaScript code to:
Describe alternatives you've considered
Currently, users must either:
Both approaches are suboptimal compared to having native support for custom scripting in the Community Edition.
Additional context
Custom scripting capabilities are essential for tailoring the labeling experience to specific workflows, especially when complex validation logic or integration with external systems is required. Enabling this feature in the open-source version would empower the community to build more dynamic and responsive annotation interfaces without waiting for enterprise features. Attached are some mockups and examples demonstrating how custom scripts can improve the labeling process by allowing real-time validation and error feedback.
The text was updated successfully, but these errors were encountered: