-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closes: #9525 - Add split button functionality to table rows #9562
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
Closes: #9525 - Add split button functionality to table rows #9562
Conversation
|
Per my comment here, the intent of FR #9525 is to split the dropdown button into separate link and dropdown components as in this example, rather than to add another button (which largely detracts from the purpose of the dropdown menu). |
|
I will implement the changes accordingly. Thanks for the feedback! |
|
Before pushing the updated changes @jeremystretch - Do you feel it is necessary to retain the first action in the dropdown menu along with it being the direct link, or should it be removed from the dropdown and only accessible through the direct link? |
|
@huntabyte the first action should only appear as the direct link and not in the dropdown menu. |
|
Excellent work, @huntabyte! Thanks for this! |


Fixes: #9525
Utilizing the extra_buttons argument within the ActionsColumn class, I added an additional button that takes the user directly to the edit page, removing a click from the workflow.
The edit button was added through the actions of the NetBoxTable. The existing Edit link inside the dropdown is retained but can be removed if requested by maintainers/users.