zulip/web
Lalit Kumar Singh cfe2ddb091 ui_report: Reuse `channel.xhr_error_message` function in `error` method.
We should reuse the `channel.xhr_error_message` in `ui_report` to reduce
code duplication.

Also, I changed the type of `message` parameter to `string` instead of
`string | null` so that we do not need to alter the types of the functions
that depends on the return value of `xhr_error_message`.
2023-08-31 13:47:16 -07:00
..
e2e-tests icons: Reference new icons from templates and JS. 2023-08-21 17:13:43 -07:00
generated
html
images styles: Remove Firefox override for dropdown appearance. 2023-07-24 13:10:03 -07:00
shared icons: Fix the 'Unmute' topic icon. 2023-08-31 12:02:07 -07:00
src ui_report: Reuse `channel.xhr_error_message` function in `error` method. 2023-08-31 13:47:16 -07:00
styles settings: Align notification play button in a flex layout. 2023-08-31 12:06:32 -07:00
templates settings: Align notification play button in a flex layout. 2023-08-31 12:06:32 -07:00
tests ui_report: Reuse `channel.xhr_error_message` function in `error` method. 2023-08-31 13:47:16 -07:00
third emoji: Match emoji sequences in markdown. 2023-08-23 16:18:15 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js babel: Include "transform-optional-chaining" in presets. 2023-08-14 16:07:16 -07:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json stats: Add stats page_params to `webpack.assets.json`. 2023-08-24 10:43:38 -07:00
webpack.config.ts dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00