-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add a custom button to the left of the 'import' button? #6910
Comments
Hello, You can add a custom button to the Data Manager toolbar by creating a new “instrument” and inserting it into the toolbar configuration where you want it to appear (for example, before the “import-button”). Here’s a simple outline of how you might do it:
That’s it! Your custom button should then show up in the toolbar to the left of the “Import” button. Try this and let us know. Thank you,
|
After completing these tasks, only run the Django backend service? |
Hello,
• Make your changes to the code. • In the Label Studio frontend repository (for example, in “web/”), run something like:
• Run a development server (e.g., “npm start” or “yarn start”) for the Data Manager. • Point your Label Studio instance to that dev server by setting the environment variables or config so it loads the toolbar scripts directly from your local dev server. • This way, changes immediately appear without rebuilding each time. Hope this helps! Thank you,
|
How to add a custom button to the left of the 'import' button?
The text was updated successfully, but these errors were encountered: