Since the KB rework, there is now a custom file upload component. There is no known reason to keep jquery-file-uploader around, and after my PRs to remove FancyTree and RateIt get merged, this is the last dependency that is keeping the ancient jQuery UI dependency around and therefore the only thing left keeping me from finalizing the migration away from Webpack to Vite.
Then, the long-abandoned qTip2 dependency remains as the only dependency that requires jQuery AFAIK.
Further, It would look more professional if every file input looked the same.
I already tried looking at this but there are more changes needed with it than I want to do at the moment; I don't want to mess too much with the new KB code at this point.
At least:
- The component is not fully independent of the new KB code. Some of the file upload functionality seems to only exist for the KB.
- The template does not initialize the JS for the component.
- There is no compatibility with the existing file handler code on the server side.
- Component styles are only built with its use in a modal in mind (too large). The component would need to at least support a "small" variant with less padding and adjusting the upload list to be more compact.
- No support for an "onlyimages" option.
Since the KB rework, there is now a custom file upload component. There is no known reason to keep jquery-file-uploader around, and after my PRs to remove FancyTree and RateIt get merged, this is the last dependency that is keeping the ancient jQuery UI dependency around and therefore the only thing left keeping me from finalizing the migration away from Webpack to Vite.
Then, the long-abandoned qTip2 dependency remains as the only dependency that requires jQuery AFAIK.
Further, It would look more professional if every file input looked the same.
I already tried looking at this but there are more changes needed with it than I want to do at the moment; I don't want to mess too much with the new KB code at this point.
At least: