BigW Consortium Gitlab
fix display hook error message ## What does this MR do? Fix hook error message display. ## Are there points in the code the reviewer needs to double check? Probably Hook will return the plain multi line text. It is better `pre` tag than `h4`. I thought of another good looking display, but I did not come up with it.😓 ## Why was this MR needed? When the hook returns an STDERR, "Merge in progress" button spinning forever. Due to javascript's error. ## Screenshots (if relevant) When update hook returns an error like ``` XXXXXXXX YYYYYYYY ZZZZZZZZ ``` ![screen_shot](/uploads/8dac77972a309dfcb72c741dffbd7270/screen_shot.png) ## What are the relevant issue numbers? Closes #24020 See merge request !7775
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
behaviors | Loading commit data... | |
boards | Loading commit data... | |
environments | Loading commit data... | |
extensions | Loading commit data... | |
fixtures | Loading commit data... | |
graphs | Loading commit data... | |
lib/utils | Loading commit data... | |
u2f | Loading commit data... | |
vue_common_components | Loading commit data... | |
.eslintrc | Loading commit data... | |
abuse_reports_spec.js.es6 | Loading commit data... | |
activities_spec.js.es6 | Loading commit data... | |
awards_handler_spec.js | Loading commit data... | |
bootstrap_linked_tabs_spec.js.es6 | Loading commit data... | |
build_spec.js.es6 | Loading commit data... | |
dashboard_spec.js.es6 | Loading commit data... | |
datetime_utility_spec.js.es6 | Loading commit data... | |
diff_comments_store_spec.js.es6 | Loading commit data... | |
gl_dropdown_spec.js.es6 | Loading commit data... | |
gl_field_errors_spec.js.es6 | Loading commit data... | |
header_spec.js | Loading commit data... | |
issue_spec.js | Loading commit data... | |
labels_issue_sidebar_spec.js.es6 | Loading commit data... | |
line_highlighter_spec.js | Loading commit data... | |
merge_request_spec.js | Loading commit data... | |
merge_request_tabs_spec.js | Loading commit data... | |
merge_request_widget_spec.js | Loading commit data... | |
new_branch_spec.js | Loading commit data... | |
notes_spec.js | Loading commit data... | |
pretty_time_spec.js.es6 | Loading commit data... | |
project_title_spec.js | Loading commit data... | |
right_sidebar_spec.js | Loading commit data... | |
search_autocomplete_spec.js | Loading commit data... | |
shortcuts_issuable_spec.js | Loading commit data... | |
signin_tabs_memoizer_spec.js.es6 | Loading commit data... | |
smart_interval_spec.js.es6 | Loading commit data... | |
spec_helper.js | Loading commit data... | |
subbable_resource_spec.js.es6 | Loading commit data... | |
syntax_highlight_spec.js | Loading commit data... | |
zen_mode_spec.js | Loading commit data... |