-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
Feature : Add project action button #1552
Comments
diegoaces
changed the title
Add project action button
Feature : Add project action button
Sep 6, 2024
This sounds like the
Have you tried using that one? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to add a new functionality at the project level, but there is no way to add an action button in the projects. After researching, I found that a React component can be created and associated with the project list item, so I wrote the necessary code to implement it.
The PluginsAPI.Dashboard.addProjectActionButton method allows adding a view at the project level and is based on PluginsAPI.Dashboard.addTaskActionButton, which works at the task level.
How to use with a custom plugin:
PluginsAPI.Dashboard.addProjectActionButton(['plugin-name/build/Example.js'], function (args, Component) { return React.createElement(Component, {projectId: project.id}); } );
The text was updated successfully, but these errors were encountered: