feature: Add row clone button to headers tables #3650
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Resolves #3649
As in #3649, a button to clone a row in the header table
Row cloned is placed at the bottom of the table, and contains all attributes of the row
For parity, code exists for:
I'm not familiar with tailwind, and I'm happy for changes to be made to my crude usage of
to space the buttons, as I'm sure such a solution existsExisting state:
After changes:
Request:
Folder:
Collection:
I'd like to add that the level of code duplication in the project makes it unwelcoming to contribute too. It is also one of the reasons that this PR is only for headers, as covering every row usage (that I can see) expands a simple change to 9 different cases, which could reasonably be two or three, and code tallying well over 100 lines. That is not a small change in my view
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.