Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Web UI copy-to-clipboard not working #483
Note: This is not a UA-client issue, but I file it here for you to re-route it accordingly.
That failing button is defined as:
Affected Browsers (What is in Bionic as of today):
The css is from the vanilla framework, inspection shows
Based on that I guessed that some JS in the vanilla framework would assign an onclick to this class, but I haven't found any JS other than the google analytics. Of course my 20 year old web-foo might just be outdated.
But knowing that we use that style all over out tutorials and such I tried there and it worked fine e.g. on provisioning maas
Inspecting (and comparing) that showed the same button tech:
But the broken (contracts.canonical.com) had no Event Listeners at all on that button.
This seems to be the missing code
And knowing that we find in the main page the loaders:
And the broken page has nothing there:
Please fix https://auth.contracts.canonical.com/ to carry the code to be active on that copy-to-clipboard button
referenced this issue
May 7, 2019
As mentioned, this is an issue with the UA frontend not ua-client or ua-contracts specifically. Forwarding this issue to the appropriate project https://github.com/canonical-web-and-design/ua-token