-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[NIFI-13977] - Updated Copy/Paste in UI to align with new backend API #9536
base: main
Are you sure you want to change the base?
Conversation
* center pasted elements on screen. zoom out to fit them if needed * offset pasted components if the originally copied content is still in view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @rfellows! Just noted a few minor things below.
// this.store | ||
// .select(selectCopiedSnippet) | ||
// .pipe(takeUntilDestroyed(this.destroyRef)) | ||
// .subscribe((copiedSnippet) => { | ||
// this.copiedSnippet = copiedSnippet; | ||
// }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have been removed?
|
||
return from( | ||
this.snippetService.copySnippet(response.snippet.id, pasteLocation, processGroupId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SnippetService.copySnippet
is no longer user and can be deleted.
|
||
@Injectable() | ||
export class CopyEffects { | ||
constructor(private actions$: Actions) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions$
is unused and can be removed.
…ressed. added some minor positioning fixes as well.
…ressed. added some minor positioning fixes as well.
NIFI-13977
Review this in conjunction with the associated backend changes from PR #9535