Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add auto-copy to export flow #252

Open
justinkambic opened this issue May 18, 2022 · 4 comments
Open

[Enhancement] Add auto-copy to export flow #252

justinkambic opened this issue May 18, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@justinkambic
Copy link
Contributor

Feature summary

I want the recorder to copy my finished script to the clipboard after I stop the recording session.

Why is this feature important?

The flow for copying JS directly from the recorder today requires two extra clicks and some of our internal users have noted that it would be preferable to them if we made the recorder push the generated JS to the clipboard when the session ends.

Linked resources

No response

Additional information

No response

@justinkambic justinkambic added the enhancement New feature or request label May 18, 2022
@shahzad31
Copy link
Contributor

it definitely looks good for an opinionated feature :)

@lucasfcosta
Copy link
Contributor

lucasfcosta commented May 18, 2022

Thanks for filling this one up! Just one small concern that came to my mind: can we indicate we'll interfere with the user's clipboard if we do decide to do this?

I'm the kind of person who relies too much on their clipboard so personally I'd feel quite sad if the recorder did end-up overwriting something I was holding there and I lost it forever, so making it explicit before users click to finish their journey would be nice.

An alternative would be to put a copy to clipboard button elsewhere so users have direct access to it and only have to click once.

@shahzad31
Copy link
Contributor

@lucasfcosta that's a great point. May be show a temporary toast, which says, "Copy recorded script to clipboard, it can contain as small action button" if we don't want an explicit button right on the main view.

@paulb-elastic
Copy link
Contributor

I'm not sure I'd want this to be automatic.

For one, as others have said - I might have something in the clipboard I don’t want overridden, but also, a user’s not actually going know that this is happening, so is kind of a hidden feature.

I think it would be better for the user to initiate the action (such as a copy-to-clipboard icon).

/cc @drewpost / @hbharding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants