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

Upgrade ember-cli & Clipboard handling. #64

Merged
merged 5 commits into from
Oct 26, 2015
Merged

Upgrade ember-cli & Clipboard handling. #64

merged 5 commits into from
Oct 26, 2015

Conversation

rwjblue
Copy link
Contributor

@rwjblue rwjblue commented Oct 26, 2015

Includes:

  • All changes from click-to-copy updates to remove Flash dependency #58
  • Upgrades to latest ember-cli
  • Fixes test .jshintrc to properly warn on unused variables
  • Fix all the tests with unused variables
  • Fix a few tests that were not providing MockAnalytics properly.
  • Ensure this.set is not called when destroying click-to-copy

gib and others added 5 commits October 26, 2015 15:19
This tees up a fix for issue #387.

Removes Zeroclipboard in favor of Clipboard:
- no flash dependency
- offers a nice “Press ⌘+C to copy” message (configurable) for safari
and browsers that don’t support JS setting the clipboard

Updates the `click-to-copy` component:
- can set all the success / error messages in the tooltips
- can set the trigger text the user clicks to copy
- isolated css
- no more anchor tag with `#` href that would reload the page in
browsers without Flash

Tests will fail due to various ember package updates. Thanks to
@rwjblue for the help and offering to look at these failures.

Thanks @sandersonet for the testing help!
@rwjblue
Copy link
Contributor Author

rwjblue commented Oct 26, 2015

@gib since this replaces #58 (and includes all of your changes), I'm going to close #58.

rwjblue added a commit that referenced this pull request Oct 26, 2015
Upgrade ember-cli & Clipboard handling.
@rwjblue rwjblue merged commit 0ef7dca into aptible:master Oct 26, 2015
@rwjblue rwjblue deleted the clipboard-copy-rj branch October 26, 2015 19:25
@gib
Copy link
Contributor

gib commented Oct 26, 2015

Thank you @rwjblue!!

skylar-anderson pushed a commit to skylar-anderson/dashboard.aptible.com that referenced this pull request Apr 21, 2016
Closes aptible#387 with
a new plug in that does not use flash,
[Clipboard.js](http://zenorocha.github.io/clipboard.js/).

Thanks @rwjblue for the help on the shared updates:
aptible/ember-cli-aptible-shared#64

Got some help from @sandersonet on this too. Thanks and go team!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants