discourse/app/assets/stylesheets/common
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
..
admin UX: Tweak spacing in the admin dashboard (#13557) 2021-06-28 23:35:31 +02:00
base FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
components UX: margin improvement for mobile alerts 2021-06-25 09:18:06 +08:00
foundation UX: Adjust list and onebox margins (#13131) 2021-05-25 23:52:33 -04:00
select-kit FIX: Adding multiple auto tags in watched words admin UI (#13421) 2021-06-17 13:42:16 -04:00
d-editor.scss UX: Twitter onebox layout adjustments (#13181) 2021-05-27 15:35:32 +10:00
font-variables.scss DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
input_tip.scss DEV: Cleanup variables/mixins SCSS imports (#11618) 2021-01-05 14:05:34 -05:00
printer-friendly.scss FIX: Clean up topic-timer-info CSS classes, add edit button, and improve UI (#12080) 2021-02-16 12:07:30 +10:00
software-update-prompt.scss DEV: Do not always include software update HTML in DOM (#13291) 2021-06-07 09:40:03 -04:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: Fix mobile progress bar button alignment (#13442) 2021-06-18 15:23:57 -04:00