zulip/static
akshatdalton 5d35892bc9 linkifiers: Add helper function to handle API errors.
This commit adds a helper function named `handle_linkifier_api_error`
to `static/js/settings_linkifiers.js`. As the name suggests, this
function handles the error returned from the API, specifically
for operations on linkifiers (like adding linkifier).

This is a prep commit for `Add setting to edit linkifiers`.
Related issue: #10830.

The main motive to add this helper function is to avoid copying
substantial blocks of code, as it tends to result in someone later
fixing bugs in only one of the two places.
2021-04-14 01:33:29 -07:00
..
assets eslint: Forbid CommonJS variables in ES6 modules. 2021-03-23 01:42:43 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images logos: Golf harder with svgo 2.3.0. 2021-04-07 21:05:01 -07:00
js linkifiers: Add helper function to handle API errors. 2021-04-14 01:33:29 -07:00
shared emoticon_translation: Update comment for precise object length. 2021-04-01 16:52:32 -07:00
styles integrations page: Add "Create your own" button. 2021-04-13 21:03:48 -07:00
templates templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
third Revert "markdown: Add support to shorten GitHub links." 2021-04-02 15:52:34 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00