A copy over button to export and share my custom settings with teammates or coworkers conveniently.
Work done:
A copy button on options popup to copy the current settings to clipboard as a JSON string
A paste button on the options popup to load JSON formatted settings from clipboard ( currently not supported in firefox )
Currently just disabling the functionality on firefox if navigator.clipboard.readText is not available
I'm willing to work further on polishing this feature if this feature is desirable enough to be merged with main. so i'm adding the work remaining section and asking for feedback on what i can improve.
Work remaining:
Didn't add the functionality on mobile view yet
It is possible to add a textbox for user to manually paste the copied JSON string and then load it from there for browsers where the clipboard.readText api is not supported.
Feedback needed -
Added two icons for copy and paste which both occupy 1.3kb which seems too big for just a simple icon. i could try png but i noticed almost every icon in the site uses svg so kept the svg ones. Let me know if there are smaller/better svg icons or if i should try png/webp icons.
The copy and paste buttons are positioned so that the buttons are always at the top of the options popup ( which is part of the processor settings ) But by default processor settings part is hidden and only encoder settings part is visible so as a result the paste button is also invisible by default. it is only visible when user chooses an encoder. Should i keep it as it is or move the buttons to encoder settings section?
Adresses feature request #1299
A copy over button to export and share my custom settings with teammates or coworkers conveniently.
Work done:
currently not supported in firefox
)navigator.clipboard.readText
is not availableWork remaining:
clipboard.readText
api is not supported.Feedback needed -