10
Views
0
Comments
[CopyToClipboard_Utils] Could use some improvement
copytoclipboard-utils
Reactive icon
Forge asset by Vinayak Siddhiwal
Application Type
Reactive

Hi,

some remarks about this asset (besides the question : do we really need yet another copy to clipboard)

  • there are a ton of unused dependencies lingering in it
  • the only thing it offers is a webblock, but it is an entire reactive application with all the common and layouts stuff
  • it has a testscreen inside of it
  • for what is essentially a webblock with some javascript, it eats 3 AO as a consequence of the 2 previous points
  • your logic after the attempt to copy is incorrect
    • on error, nothing is done, no feedback and no event towards parent
    • on succes, in case parent indicated 'no feedback message', it raises both a succes and error event towards the parent


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.