This pull request adds a new feature to the ModuleDetailsComponent that allows users to copy the name and manufacturer of a module with a simple click. It imports the Clipboard module from @angular/cdk/clipboard and adds a new method copyModuleNameAndManufacturer() that copies the text to be copied to the clipboard.
Summary
Added import for Clipboard module from @angular/cdk/clipboard
Added copyModuleNameAndManufacturer() method to ModuleDetailsComponent that copies the name and manufacturer of a module to the clipboard
Fixes #113.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
👇 Click on the image for a new way to code review
####
[![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/Polyterative/Patcher/114/bb5e64f9/231caf4cfff264d622cc02c634ad04affd3565c8.svg)](https://app.codesee.io/r/reviews?pr=114&src=https%3A%2F%2Fgithub.com%2FPolyterative%2FPatcher)
#### Legend
PR Feedback (click)
Description
This pull request adds a new feature to the
ModuleDetailsComponent
that allows users to copy the name and manufacturer of a module with a simple click. It imports theClipboard
module from@angular/cdk/clipboard
and adds a new methodcopyModuleNameAndManufacturer()
that copies the text to be copied to the clipboard.Summary
Clipboard
module from@angular/cdk/clipboard
copyModuleNameAndManufacturer()
method toModuleDetailsComponent
that copies the name and manufacturer of a module to the clipboardFixes #113.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: