[Replacements] Populate "Additional Source" field from GET parameters
ShadyGuy123 opened this issue · comments
The New Replacement page currently requires a post_id
parameter for the replacement target, and allows an upload_url
parameter for the replacement source (inherited from file_input.vue).
It'd be handy for extensions and userscripts to also allow an additional_source
or similar parameter for the "Additional Source" field.
Details
It should be possible to do something like this
e621ng/app/javascript/src/javascripts/uploader/uploader.vue.erb
Lines 405 to 407 in 330fb7c
just like the Upload page does, because it already uses the sources component, but that's as far as I've got since I'm not familiar with Ruby on Rails or Vue