1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 01:38:48 +02:00
phorge-phorge/src/aphront
epriestley 114ed6c7fe DarkConsole: fix rendering, move request log, load over ajax
Summary:
This accomplishes three major goals:

  # Fixes phutil_render_tag -> phutil_tag callsites in DarkConsole.
  # Moves the Ajax request log to a new panel on the left. This panel (and the tabs panel) get scrollbars when they get large, instead of making the page constantly scroll down.
  # Loads the panel content over ajax, instead of dumping it into the page body / ajax response body. I've been planning to do this for about 3 years, which is why the plugins are architected the way they are. This should make debugging easier by making response bodies not be 50%+ darkconsole stuff.

Additionally, load the plugins dynamically (the old method predates library maps and PhutilSymbolLoader).

Test Plan:
{F30675}

  - Switched between requests and tabs, reloaded page, saw same tab.
  - Used "analyze queries", "profile page", triggered errors.
  - Verified page does not load anything by default if dark console is closed with Charles.
  - Generally banged on it a bit.

Reviewers: vrana, btrahan, chad

Reviewed By: vrana

CC: aran

Maniphest Tasks: T2432

Differential Revision: https://secure.phabricator.com/D4692
2013-01-28 18:45:32 -08:00
..
__tests__ Add passthru to AphrontRequest 2012-12-11 17:27:02 -08:00
configuration DarkConsole: fix rendering, move request log, load over ajax 2013-01-28 18:45:32 -08:00
console DarkConsole: fix rendering, move request log, load over ajax 2013-01-28 18:45:32 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
response DarkConsole: fix rendering, move request log, load over ajax 2013-01-28 18:45:32 -08:00
sink Share more HTTPSink code 2012-12-25 06:17:45 -08:00
AphrontController.php Throw instead of log for invalid properties 2012-12-18 16:15:01 -08:00
AphrontRequest.php Don't require phabricator.base-uri to be configured 2013-01-22 13:57:02 -08:00
AphrontURIMapper.php Delete license headers from files 2012-11-05 11:16:51 -08:00