dozzle icon indicating copy to clipboard operation
dozzle copied to clipboard

Nice to have: Copy line from context menu

Open Coteh opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. It would be cool if I could instantly copy a line via a menu option. My in-progress PR (#1639) contains a new context menu for each line where this kind of option could be a great fit.

Describe the solution you'd like The context menu will have an option to copy that specific line to clipboard.

Describe alternatives you've considered Nice to have feature but can definitely come handy for especially long lines.

Coteh avatar Mar 04 '22 17:03 Coteh

That would be awesome. You can also use https://vueuse.org/core/useclipboard/#useclipboard since I have it already included in package.json

amir20 avatar Mar 04 '22 22:03 amir20

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 26 '22 21:03 stale[bot]

Let's keep this open

amir20 avatar Mar 29 '22 18:03 amir20

@Coteh Do you plan to work on this? Otherwise I plan to close it. It should be an easy change. The only reason I haven't done it is because the dropdown only show up during search. Not sure if it would make sense for drop down to always be there. That's a bit more work.

amir20 avatar Sep 26 '22 16:09 amir20

I wonder if clicking on the timestamp part of the line would be a nice compromise to allow for easy copy but without cluttering up the view with dropdown icons. What do you think?

Coteh avatar Sep 26 '22 18:09 Coteh

That's an interesting idea. But probably confusing as one wouldn't expect clicking timestamp to copy. Maybe this is not worth doing since people could just select and copy?

amir20 avatar Sep 26 '22 20:09 amir20

Yeah I would say select and copy is sufficient at the moment, and I would be ok with this issue being closed.

Coteh avatar Sep 26 '22 22:09 Coteh