Closed reubengt closed 4 years ago
Yep that's definitely going to change,just put that in for the sake of having something there(it was a pen emoji before) I'm still unsure what the best place to prompt the user for a name is.
Clipboard library was for browser support tbh, async clipboard api is fairly new, and document.execCommand("copy") requires text to be selected. In our case we don't really have text, the button has an attribute which has the link as its value.
Saw a couple hacky solutions to temporarily append a textarea to the dom, copy text from it, then delete it.
Seemed unnecessary. I'll check again if there's an easier way to implement this for out specific use case(button to copy the current url to clipboard)
branched off #34 so merge that first.
reloading the uuid url now works, and loads comments as well except for one bug #36 fixed invite button.
the invite button now copies the invite link to the clipboard and shows a success popup.