]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - client/src/app/app.component.scss
Copy to clipboard (#142)
authorJulien Lemaire <sticmac@outlook.fr>
Mon, 11 Dec 2017 16:59:39 +0000 (11:59 -0500)
committerChocobozzz <me@florianbigard.com>
Mon, 11 Dec 2017 16:59:39 +0000 (17:59 +0100)
commitc7e1e432b0e5d321ff2331cf3ddff56c43500788
tree753cdd499a0f04059869a96f41fb6a20d8eef258
parented9f9f5fb04437b8dcf164fd0ae9c29b90826096
Copy to clipboard (#142)

* Copy buttons on share view

Ugly but working buttons to copy video url and video iframe code.

Add ngx-clipboard dependency to allow easy copy to clipboard directive.

* Designed copy buttons

Using some css (scss) rules to make buttons look better.

* First version on copy feedback

Little success alert message on copy.

Fix lint errors

Move dependencies to dev dependencies

* Update button design

* Use of notifications service

Provides feedback of copy action to the user through the
angular2-notifications module.
client/package.json
client/src/app/app.component.scss
client/src/app/videos/+video-watch/video-share.component.html
client/src/app/videos/+video-watch/video-share.component.scss [new file with mode: 0644]
client/src/app/videos/+video-watch/video-share.component.ts
client/src/app/videos/+video-watch/video-watch.module.ts
client/yarn.lock