diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 5c3fcfee6c..3a34b328f5 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -18,7 +18,7 @@ celerity_register_resource_map(array( ), 'aphront-dark-console-css' => array( - 'uri' => '/res/056b0c12/rsrc/css/aphront/dark-console.css', + 'uri' => '/res/0417eb95/rsrc/css/aphront/dark-console.css', 'type' => 'css', 'requires' => array( @@ -61,24 +61,6 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/css/aphront/headsup-action-list-view.css', ), - 'aphront-list-filter-view-css' => - array( - 'uri' => '/res/50a790ae/rsrc/css/aphront/list-filter-view.css', - 'type' => 'css', - 'requires' => - array( - ), - 'disk' => '/rsrc/css/aphront/list-filter-view.css', - ), - 'aphront-pager-view-css' => - array( - 'uri' => '/res/73ec8cd5/rsrc/css/aphront/pager-view.css', - 'type' => 'css', - 'requires' => - array( - ), - 'disk' => '/rsrc/css/aphront/pager-view.css', - ), 'aphront-panel-view-css' => array( 'uri' => '/res/8f9f3632/rsrc/css/aphront/panel-view.css', @@ -134,6 +116,24 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/css/aphront/typeahead.css', ), + 'aphront-pager-view-css' => + array( + 'uri' => '/res/73ec8cd5/rsrc/css/aphront/pager-view.css', + 'type' => 'css', + 'requires' => + array( + ), + 'disk' => '/rsrc/css/aphront/pager-view.css', + ), + 'aphront-list-filter-view-css' => + array( + 'uri' => '/res/50a790ae/rsrc/css/aphront/list-filter-view.css', + 'type' => 'css', + 'requires' => + array( + ), + 'disk' => '/rsrc/css/aphront/list-filter-view.css', + ), 'phabricator-standard-page-view' => array( 'uri' => '/res/0d41ea7c/rsrc/css/application/base/standard-page-view.css', @@ -297,15 +297,6 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/css/application/objectselector/object-selector.css', ), - 'owners-path-editor-css' => - array( - 'uri' => '/res/f40dc6b1/rsrc/css/application/owners/owners-path-editor.css', - 'type' => 'css', - 'requires' => - array( - ), - 'disk' => '/rsrc/css/application/owners/owners-path-editor.css', - ), 'phabricator-profile-css' => array( 'uri' => '/res/259ad37f/rsrc/css/application/people/profile.css', @@ -315,6 +306,15 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/css/application/people/profile.css', ), + 'owners-path-editor-css' => + array( + 'uri' => '/res/f40dc6b1/rsrc/css/application/owners/owners-path-editor.css', + 'type' => 'css', + 'requires' => + array( + ), + 'disk' => '/rsrc/css/application/owners/owners-path-editor.css', + ), 'phabricator-ui-example-css' => array( 'uri' => '/res/365a10f1/rsrc/css/application/uiexample/example.css', @@ -360,6 +360,16 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/css/core/syntax.css', ), + 'multirow-row-manager' => + array( + 'uri' => '/res/330d076b/rsrc/js/application/core/MultirowRowManager.js', + 'type' => 'js', + 'requires' => + array( + 0 => 'javelin-lib-dev', + ), + 'disk' => '/rsrc/js/application/core/MultirowRowManager.js', + ), 'javelin-behavior-dark-console' => array( 'uri' => '/res/020b0265/rsrc/js/application/core/behavior-dark-console.js', @@ -371,7 +381,7 @@ celerity_register_resource_map(array( ), 'javelin-behavior-phabricator-object-selector' => array( - 'uri' => '/res/4fe735af/rsrc/js/application/core/behavior-object-selector.js', + 'uri' => '/res/c0f12b29/rsrc/js/application/core/behavior-object-selector.js', 'type' => 'js', 'requires' => array( @@ -399,15 +409,15 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/js/application/core/behavior-workflow.js', ), - 'multirow-row-manager' => + 'javelin-behavior-error-log' => array( - 'uri' => '/res/330d076b/rsrc/js/application/core/MultirowRowManager.js', + 'uri' => '/res/c57a323f/rsrc/js/application/core/behavior-error-log.js', 'type' => 'js', 'requires' => array( 0 => 'javelin-lib-dev', ), - 'disk' => '/rsrc/js/application/core/MultirowRowManager.js', + 'disk' => '/rsrc/js/application/core/behavior-error-log.js', ), 'javelin-behavior-differential-add-reviewers' => array( @@ -499,17 +509,6 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/js/application/diffusion/behavior-pull-lastmodified.js', ), - 'javelin-behavior-herald-rule-editor' => - array( - 'uri' => '/res/48108130/rsrc/js/application/herald/herald-rule-editor.js', - 'type' => 'js', - 'requires' => - array( - 0 => 'herald-rule-editor', - 1 => 'javelin-lib-dev', - ), - 'disk' => '/rsrc/js/application/herald/herald-rule-editor.js', - ), 'herald-rule-editor' => array( 'uri' => '/res/ec8e2110/rsrc/js/application/herald/HeraldRuleEditor.js', @@ -523,6 +522,17 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/js/application/herald/HeraldRuleEditor.js', ), + 'javelin-behavior-herald-rule-editor' => + array( + 'uri' => '/res/48108130/rsrc/js/application/herald/herald-rule-editor.js', + 'type' => 'js', + 'requires' => + array( + 0 => 'herald-rule-editor', + 1 => 'javelin-lib-dev', + ), + 'disk' => '/rsrc/js/application/herald/herald-rule-editor.js', + ), 'path-typeahead' => array( 'uri' => '/res/42fb76c3/rsrc/js/application/herald/PathTypeahead.js', @@ -544,17 +554,6 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/js/application/maniphest/behavior-transaction-controls.js', ), - 'javelin-behavior-owners-path-editor' => - array( - 'uri' => '/res/7568aa22/rsrc/js/application/owners/owners-path-editor.js', - 'type' => 'js', - 'requires' => - array( - 0 => 'owners-path-editor', - 1 => 'javelin-lib-dev', - ), - 'disk' => '/rsrc/js/application/owners/owners-path-editor.js', - ), 'owners-path-editor' => array( 'uri' => '/res/b01c1ca9/rsrc/js/application/owners/OwnersPathEditor.js', @@ -568,6 +567,17 @@ celerity_register_resource_map(array( ), 'disk' => '/rsrc/js/application/owners/OwnersPathEditor.js', ), + 'javelin-behavior-owners-path-editor' => + array( + 'uri' => '/res/7568aa22/rsrc/js/application/owners/owners-path-editor.js', + 'type' => 'js', + 'requires' => + array( + 0 => 'owners-path-editor', + 1 => 'javelin-lib-dev', + ), + 'disk' => '/rsrc/js/application/owners/owners-path-editor.js', + ), 'javelin-magical-init' => array( 'uri' => '/res/76614f84/rsrc/js/javelin/init.dev.js', diff --git a/src/aphront/console/core/DarkConsoleCore.php b/src/aphront/console/core/DarkConsoleCore.php index afb9d09350..2b9582f28c 100644 --- a/src/aphront/console/core/DarkConsoleCore.php +++ b/src/aphront/console/core/DarkConsoleCore.php @@ -124,7 +124,7 @@ final class DarkConsoleCore { $panel_markup[] = javelin_render_tag( 'div', array( - 'class' => 'dark-console-panel', + 'class' => 'dark-console-panel dark-console-panel-'.$key, 'style' => $style, 'sigil' => 'dark-console-panel', ), diff --git a/src/aphront/console/plugin/errorlog/DarkConsoleErrorLogPlugin.php b/src/aphront/console/plugin/errorlog/DarkConsoleErrorLogPlugin.php index 0f140f582b..a3352c5023 100644 --- a/src/aphront/console/plugin/errorlog/DarkConsoleErrorLogPlugin.php +++ b/src/aphront/console/plugin/errorlog/DarkConsoleErrorLogPlugin.php @@ -46,39 +46,62 @@ class DarkConsoleErrorLogPlugin extends DarkConsolePlugin { $data = $this->getData(); $rows = array(); - foreach ($data as $row) { - switch ($row['event']) { - case 'error': - $file = $row['file']; - $line = $row['line']; - break; - case 'exception': - $file = $row['exception']->getFile(); - $line = $row['exception']->getLine(); - break; + $details = ''; + + foreach ($data as $index => $row) { + $file = $row['file']; + $line = $row['line']; + + $tag = phutil_render_tag( + 'a', + array( + 'onclick' => jsprintf('show_details(%d)', $index), + ), + phutil_escape_html($row['str'].' at ['.basename($file).':'.$line.']')); + $rows[] = array($tag); + + $details .= + '
'. + $details.''. + '