Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

feat: useClipboard hook #2270

Merged
merged 2 commits into from Jun 27, 2020
Merged

feat: useClipboard hook #2270

merged 2 commits into from Jun 27, 2020

Conversation

dated
Copy link
Contributor

@dated dated commented Jun 26, 2020

Summary

Refactors the Clipboard component using the Async Clipboard API and adds the useClipboard hook.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@dated dated requested a review from faustbrian as a code owner June 26, 2020 18:26
@ghost ghost added Complexity: High More than 256 lines changed. Type: Feature The issue is a request for new functionality. labels Jun 26, 2020
@dated dated mentioned this pull request Jun 26, 2020
3 tasks
@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #2270 into 3.0-react will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           3.0-react     #2270     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
=============================================
  Files             24       192    +168     
  Lines            142      1763   +1621     
  Branches          18       315    +297     
=============================================
+ Hits             142      1763   +1621     
Flag Coverage Δ
#unit 100.00% <100.00%> (?)
Impacted Files Coverage Δ
src/app/components/Button/Button.tsx 100.00% <ø> (ø)
src/app/components/Card/Card.tsx 100.00% <ø> (ø)
src/app/components/Card/CardControl.tsx 100.00% <ø> (ø)
src/app/components/Address/Address.tsx 100.00% <100.00%> (ø)
src/app/components/Address/utils.ts 100.00% <100.00%> (ø)
src/app/components/Alert/Alert.tsx 100.00% <100.00%> (ø)
src/app/components/Badge/Badge.styles.ts 100.00% <100.00%> (ø)
src/app/components/Badge/Badge.tsx 100.00% <100.00%> (ø)
src/app/components/Breadcrumbs/Breadcrumbs.tsx 100.00% <100.00%> (ø)
src/app/components/Button/Button.styles.ts 100.00% <100.00%> (ø)
... and 219 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04ae5dd...66277bc. Read the comment docs.

@faustbrian faustbrian merged commit 5757ba5 into 3.0-react Jun 27, 2020
@ghost ghost deleted the feat/clipboard-hook branch June 27, 2020 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: High More than 256 lines changed. Type: Feature The issue is a request for new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants