-
Notifications
You must be signed in to change notification settings - Fork 397
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
feat: add the ability to copy module import to the clipboard #754
base: main
Are you sure you want to change the base?
Conversation
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.
Thank you for the contribution!
Can you please post a screenshot in the OP?
src/app/shared/doc-viewer/docs-api-module-import/docs-api-module-import.ts
Show resolved
Hide resolved
@@ -0,0 +1,50 @@ | |||
import { Component, Input, AfterViewInit, OnInit } from "@angular/core"; | |||
import { MatSnackBar } from "@angular/material/snack-bar"; | |||
import { CopierService } from "../../copier/copier.service"; |
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.
We should probably look at replacing the CopierService
with the new https://material.angular.io/cdk/clipboard/overview.
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.
I was wondering about the CopierService
, but left it that way for consistency. There are other components which are using it as well, for example the ExampleViewer
component. It might be a good idea to switch to Clipboard
with separate PR.
src/app/shared/doc-viewer/docs-api-module-import/docs-api-module-import.ts
Outdated
Show resolved
Hide resolved
src/app/shared/doc-viewer/docs-api-module-import/docs-api-module-import.ts
Outdated
Show resolved
Hide resolved
@Splaktar this PR is ready for review. |
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.
Thank you for making those updates. Sorry for the delay in getting to this review.
Something happened with your last update/rebase. I don't think that this change should have 49 changed files and many of them seem to be coming from other commits. Can you please rebase your commit on top of the latest master
and force push it up again?
src/app/shared/doc-viewer/docs-api-module-import/docs-api-module-import.ts
Outdated
Show resolved
Hide resolved
src/app/shared/doc-viewer/docs-api-module-import/docs-api-module-import.ts
Show resolved
Hide resolved
5f9167f
to
213876c
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
7986326
to
213876c
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
52356af
to
6ea712d
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Hello @Splaktar, |
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.
Hi, |
OK, the other PR looks like it's ready to go, hopefully we can merge that soon. Can you please rebase this PR as well? |
Reason for change: angular/components#19200 (comment)
…le-import.ts Co-authored-by: Michael Prentice <[email protected]>
c4c8f64
to
c48df0a
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
@googlebot I consent |
Closes #628
Related changes: