discourse/app/views/layouts
Robin Ward e3b1d1a718
DEV: Improve Ember CLI's bootstrap logic (#12792)
* DEV: Give a nicer error when `--proxy` argument is missing

* DEV: Improve Ember CLI's bootstrap logic

Instead of having Ember CLI know which URLs to proxy or not, have it try
the URL with a special header `HTTP_X_DISCOURSE_EMBER_CLI`. If present,
and Discourse thinks we should bootstrap the application, it will
instead stop rendering and return a HTTP HEAD with a response header
telling Ember CLI to bootstrap.

In other words, any time Rails would otherwise serve up the HTML for the
Ember app, it stops and says "no, you do it."

* DEV: Support asset filters by path using a new options object

Without this, Ember CLI's bootstrap would not get the assets it wants
because the path it was requesting was different than the browser path.
This adds an optional request header to fix it.

So far this is only used by the styleguide.
2021-04-23 10:24:42 -04:00
..
_head.html.erb Replace base_uri with base_path (#10879) 2020-10-09 12:51:24 +01:00
application.html.erb DEV: Improve Ember CLI's bootstrap logic (#12792) 2021-04-23 10:24:42 -04:00
crawler.html.erb FEATURE: Implement browser update in crawler view (#12448) 2021-03-22 19:41:42 +02:00
email_template.html.erb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.html.erb UI: Add viewport meta tag to embedded topics layout 2019-09-12 14:14:32 -04:00
finish_installation.html.erb FIX: Remove unused JS from "finish installation" page (#12263) 2021-03-02 19:19:19 +01:00
no_ember.html.erb DEV: add class to body of no_ember layout so it can targeted in CSS 2020-06-25 16:17:19 -04:00
publish.html.erb FIX: adds google tracking to page publishing (#12090) 2021-02-15 19:00:35 +01:00