discourse/app
Andrei Prigorshnev a2e0da16a7
FEATURE: use native file picker in composer (#13552)
We want to remove completely our custom modal for uploading files in composer and directly trigger the system file picker.

This PR makes it happen. The fix is pretty simple since we already weren't using our custom modal on mobile. We just need to start using the same hidden <input type="file"> that we already use on mobile.

It seems to be pretty tricky to test opening a system modal so I haven't added new tests. We already have other tests for file uploading though. We directly trigger jquery-File-Upload plugin hooks in those tests - 3dda926cb2/app/assets/javascripts/discourse/tests/acceptance/composer-attachment-test.js (L89).
2021-06-30 12:45:47 +04:00
..
assets FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
controllers FEATURE: add staff action logs for watched words (#13574) 2021-06-30 11:22:46 +05:30
helpers FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
jobs FIX: Remove legacy topic timer code (#13544) 2021-06-29 09:16:25 +10:00
mailers FIX: Do not show In Reply To for group SMTP emails (#13541) 2021-06-28 13:19:17 +10:00
models FEATURE: add staff action logs for watched words (#13574) 2021-06-30 11:22:46 +05:30
serializers FIX: topic level bookmark button (#13530) 2021-06-28 12:24:23 +04:00
services FEATURE: add staff action logs for watched words (#13574) 2021-06-30 11:22:46 +05:30
views FIX: Improve participant display in group SMTP emails (#13539) 2021-06-28 10:42:06 +10:00