discourse/app/assets/stylesheets
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
..
common FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
desktop FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
mobile FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
vendor FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
admin.scss Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
color_definitions.scss DEV: Move color definition functions to mixins (#12511) 2021-03-24 18:35:52 -04:00
common.scss DEV: refactor font sizing into css custom variables (#12746) 2021-04-28 17:21:59 -07:00
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
desktop_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
embed.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
mobile_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
publish.scss DEV: Remove SCSS color vars fallbacks (#13035) 2021-05-12 08:56:15 -04:00
publish_desktop.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_desktop_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
test_helper.scss FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
testem.scss DEV: Add colors/styling to Ember CLI and qunit tests (#12617) 2021-04-06 11:48:44 -04:00
wcag.scss FIX: Specificity and other fixes for WCAG colors (#13082) 2021-05-20 16:28:03 +10:00
wizard.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00