Add paste above/below buttons in automation editor#51495
Open
MikeDev96 wants to merge 1 commit intohome-assistant:devfrom
Open
Add paste above/below buttons in automation editor#51495MikeDev96 wants to merge 1 commit intohome-assistant:devfrom
MikeDev96 wants to merge 1 commit intohome-assistant:devfrom
Conversation
There was a problem hiding this comment.
Hi @MikeDev96
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed change
This PR adds "Paste above" and "Paste below" options to the context menu on trigger, condition & action rows in the automation editor.
Currently, pasting via the UI always appends due to the location of the "Add *" button, requiring the user to then drag the item to the correct position. This change allows direct pasting relative to any existing items which makes it much easier to build and reorganise complex scripts/automations.
This is especially beneficial for new users who may not be familiar with the existing cut/paste keyboard shortcuts (which only appends).
Screenshots
Type of change
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
To help with the load of incoming pull requests: