zulip/web
evykassirer c3bee2038a message edit: Use a default error message for failed edits.
Bug reported here:
https://chat.zulip.org/#narrow/stream/464-kandra-js-errors/topic/Error.3A.20The.20partial.20.40partial-block.20could.20not.20be.20found/near/1673466

The reported issue was for a message edit request, and it was
happening because `channel.xhr_error_message` can return the
empty string sometimes, and `render_compose_banner` shows the
banner text if it exists and otherwise tries to render a
`@partial-block`. Unfortunately the empty string acts as falsy
in the template, leading to the partial block error.

This commit adds a default error message that was removed
in 96680e95fb.

It also adds a check to not show an error banner at all if
`readyState` is 0, which means the request was cancelled.
2023-11-08 09:47:32 -08:00
..
e2e-tests buddy list: Rename user_presences to buddy-list-users-matching-view. 2023-10-31 16:06:07 -07:00
generated
html
images inbox: Improve look of empty inbox view. 2023-10-20 17:13:33 -07:00
shared icons: Add chevron-down svg icon for dropdowns. 2023-11-07 16:55:34 -08:00
src message edit: Use a default error message for failed edits. 2023-11-08 09:47:32 -08:00
styles settings-ui: Change <select> style using custom chevron-down icon. 2023-11-07 16:55:34 -08:00
templates settings-ui: Replace chevron-down fa-icon with svg icon. 2023-11-07 16:55:34 -08:00
tests compose_ui: Use Intl.ListFormat rather than .join(", "). 2023-11-07 13:18:57 -08:00
third bootstrap: Remove bootstrap-dropdown library. 2023-10-21 10:54:32 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-10-09 14:16:23 -07:00
debug-require-webpack-plugin.ts eslint: Forbid unchecked casts in TypeScript. 2023-10-26 09:54:30 -07:00
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json urls: Show sponsorship page on a new URL. 2023-11-06 14:55:14 -08:00
webpack.config.ts webpack_public_path: Replace with webpack 5 publicPath: "auto" setting. 2023-10-16 10:36:27 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00