Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rfellows
Copy link
Contributor

  • center pasted elements on screen. zoom out to fit them if needed
  • offset pasted components if the originally copied content is still in view

NIFI-13977

Review this in conjunction with the associated backend changes from PR #9535

* center pasted elements on screen. zoom out to fit them if needed
* offset pasted components if the originally copied content is still in view
@rfellows rfellows added the new ui Pull requests for work relating to the new user interface being developed. label Nov 18, 2024
Copy link
Contributor

@mcgilman mcgilman left a 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.

Comment on lines 137 to 142
// this.store
// .select(selectCopiedSnippet)
// .pipe(takeUntilDestroyed(this.destroyRef))
// .subscribe((copiedSnippet) => {
// this.copiedSnippet = copiedSnippet;
// });
Copy link
Contributor

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)
Copy link
Contributor

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) {}
Copy link
Contributor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new ui Pull requests for work relating to the new user interface being developed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants