Files
zulip/tools
Tim Abbott 729c09074a js: Avoid href="#" for buttons with a JavaScript click handler.
As seen in
https://chat.zulip.org/#narrow/stream/9-issues/topic/edit.20history.20bug/near/1320430,
clicking such a link takes you to the user's default view if the click
handler throws an exception before doing preventDefault().

There hrefs also have the negative effect of having your browser claim
that clicking the link will navigate you to the default view, which it
won't.

Comes with a linter rule to prevent future instances, since it seems
there are some recently added ones, though they are likely the result
of copy/paste.
2022-02-08 17:38:12 -08:00
..
2022-02-07 18:51:06 -08:00
2022-02-07 18:51:06 -08:00
2022-02-07 18:51:06 -08:00
2022-01-21 17:26:14 -08:00
2022-02-07 18:51:06 -08:00
2020-09-14 16:22:23 -07:00
2021-09-17 17:05:18 -07:00
2022-01-21 17:26:14 -08:00
2021-11-05 17:44:24 -07:00
2022-02-07 18:51:06 -08:00
2021-03-24 12:12:04 -07:00

This directory contains scripts that are used in building, managing, testing, and other forms of work in a Zulip development environment. Note that tools that are also useful in production belong in scripts/ or should be Django management commands.

For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.