You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For users with the feature flag #11 active, display the new "Copy" action in the Studio menu #50. Clicking it should use the new backend copy API from #51 to copy the component onto the clipboard. Display the status as a toast per the wireframes:
@ali-hugo It turns out that these existing Studio "toasts" don't support a "Complete" message; they just disappear when they're done. So it can say "Copying component" with the gear spinning, but there's no easy way to display "Copied!" without the gear spinning, and if I do so it would be different than all the other similar notifications in Studio. I can still find a way to implement it but it will take longer. How important is the "Copied!" success message? I can always create a separate task to implement it later if we have extra time.
@bradenmacdonald If there's time left over, I think it might be worthwhile implementing the success message. Here's why: When a component is duplicated, something happens on the screen (i.e. a second version of the component appears), but when a component is copied, nothing changes on the screen, so the user doesn't get any confirmation that the copy was successful.
That said, it would be interesting to see how test users cope without the success message, so we could always leave it off for now, and add it if usability testing proves it to be necessary. What do you think?
Activity
[-]Copy Component into clipboard[/-][+]Copy/paste: implement "Copy" menu in frontend[/+]bradenmacdonald commentedon Mar 17, 2023
@ali-hugo It turns out that these existing Studio "toasts" don't support a "Complete" message; they just disappear when they're done. So it can say "Copying component" with the gear spinning, but there's no easy way to display "Copied!" without the gear spinning, and if I do so it would be different than all the other similar notifications in Studio. I can still find a way to implement it but it will take longer. How important is the "Copied!" success message? I can always create a separate task to implement it later if we have extra time.
ali-hugo commentedon Mar 20, 2023
@bradenmacdonald If there's time left over, I think it might be worthwhile implementing the success message. Here's why: When a component is duplicated, something happens on the screen (i.e. a second version of the component appears), but when a component is copied, nothing changes on the screen, so the user doesn't get any confirmation that the copy was successful.
That said, it would be interesting to see how test users cope without the success message, so we could always leave it off for now, and add it if usability testing proves it to be necessary. What do you think?
bradenmacdonald commentedon Mar 21, 2023
@ali-hugo Sure, I think we'll have time so I should be able to take that on.