1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/webroot/rsrc/css/core
epriestley 9d3a722eb1 When proxying an "{image ...}" image fails, show the user an error message
Summary:
Depends on D19192. Ref T4190. Ref T13101. Instead of directly including the proxy endpoint with `<img src="..." />`, emit a placeholder and use AJAX to make the request. If the proxy fetch fails, replace the placeholder with an error message.

This isn't the most polished implementation imaginable, but it's much less mysterious about errors.

Test Plan: Used `{image ...}` for valid and invalid images, got images and useful error messages respectively.

Maniphest Tasks: T13101, T4190

Differential Revision: https://secure.phabricator.com/D19193
2018-03-08 07:03:26 -08:00
..
core.css Make PHUITwoColumnView a little more printable 2017-09-25 19:56:22 +00:00
remarkup.css When proxying an "{image ...}" image fails, show the user an error message 2018-03-08 07:03:26 -08:00
syntax.css Scope syntax css rules to direct descendants only in diffs 2017-03-27 10:25:37 -07:00
z-index.css Remove Differential "objectives" UI 2017-05-30 17:58:49 -07:00