Layer5: Notify user when the code block content is copied

Created on 4 Apr 2021  路  6Comments  路  Source: layer5io/layer5

Current Behavior

Currently When clicking on Copy button ,the command is getting copied ,but there is no notification to the user that the command is copied.

Desired Behavior

Notify user On Clicking Copy Button on CodeBlock component that the command is copied.


[Optional] Screenshots / Mockups

https://user-images.githubusercontent.com/44670961/113516703-598ed580-9599-11eb-891c-729a1057f9e2.mp4

[Optional] Alternatives

Refer to mehery.io Codeblock Component.

https://user-images.githubusercontent.com/44670961/113516816-ffdadb00-9599-11eb-8a0e-bdbc65fddc37.mp4


Contributor Resources

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

first-timers-only frameworgatsby frameworreact good first issue help wanted kinenhancement

All 6 comments

Can you assign this to me?

Thankyou @arsen1c !! Happy Contributing 馃憤馃徎 馃榿

can i work on this ? @chinmaym07

hey what's the step to reproduce?

Hey @rijusougata13 Thankyou for showing interest !!
Let @arsen1c try work on this issue. meanwhile you can try your hands on other available issues .
You can navigate to https://layer5.io/service-mesh-management/meshery/getting-started to reproduce the above issue or you can navigate to any blog where this Code Block Component is used & click on the copy button inside the code block then you will be able to identify the issue.

@chinmaym07 @Nikhil-Ladha Can we close this issue now?

Was this page helpful?
0 / 5 - 0 ratings