mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #30993
[Bug 1513665] [NEW] Replace zeroclipboard with a non-flash alternative
Public bug reported:
On the Secret URLs page, we added the zeroclipboard library to allow
users to click a clipboard icon and have the URL copied to their
clipboard. Unfortunately, since then Flash has started dying in a bad
way, and now this sort of Flash-based clipboard widget is on the way
out, and can cause browsers to pop up warning messages and such.
Now, there is no way to accomplish exactly this same functionality (copy
to clipboard) without Flash currently. But, there are some useable
alternatives. The one that seems to be poised to replace the click-to-
copy pattern, is that you click and it automatically selects the full
text, so that you then just have to hit "control-C" instead of first
dragging to select it all.
Jen recently added this little clipboard library to the styleguide.php
script. It works pretty good, so we may as well adopt it for the Secret
URL screen as well.
http://zenorocha.github.io/clipboard.js/
** Affects: mahara
Importance: Low
Assignee: Aaron Wells (u-aaronw)
Status: Confirmed
** Tags: flash snack-sized usability
** Changed in: mahara
Milestone: None => 16.04.0
** Changed in: mahara
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara
Importance: Undecided => Medium
** Changed in: mahara
Status: New => Confirmed
** Tags added: flash snack-sized usability
** Changed in: mahara
Importance: Medium => Low
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1513665
Title:
Replace zeroclipboard with a non-flash alternative
Status in Mahara:
Confirmed
Bug description:
On the Secret URLs page, we added the zeroclipboard library to allow
users to click a clipboard icon and have the URL copied to their
clipboard. Unfortunately, since then Flash has started dying in a bad
way, and now this sort of Flash-based clipboard widget is on the way
out, and can cause browsers to pop up warning messages and such.
Now, there is no way to accomplish exactly this same functionality
(copy to clipboard) without Flash currently. But, there are some
useable alternatives. The one that seems to be poised to replace the
click-to-copy pattern, is that you click and it automatically selects
the full text, so that you then just have to hit "control-C" instead
of first dragging to select it all.
Jen recently added this little clipboard library to the styleguide.php
script. It works pretty good, so we may as well adopt it for the
Secret URL screen as well.
http://zenorocha.github.io/clipboard.js/
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1513665/+subscriptions
Follow ups
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2018-04-05
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Kristina Hoeppner, 2017-11-21
-
[Bug 1513665] A change has been merged
From: Mahara Bot, 2017-11-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2017-11-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Niranjan, 2017-11-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Cecilia Vela Gurovic, 2017-11-07
-
[Bug 1513665] A patch has been submitted for review
From: Mahara Bot, 2017-11-07
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2017-09-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Kristina Hoeppner, 2017-03-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2016-10-21
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2016-10-20
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Aaron Wells, 2016-04-28
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Robert Lyon, 2016-01-19
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Aaron Wells, 2015-11-14
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Aaron Wells, 2015-11-14
-
[Bug 1513665] Re: Get an HTML5 "click-to-copy" widget
From: Aaron Wells, 2015-11-11
-
[Bug 1513665] Re: Replace zeroclipboard with a non-flash alternative
From: Aaron Wells, 2015-11-09