zulip/tools/lib
jai2201 6f9e97921d pm_section: Create collapsible private messages section.
This commit introduces the change of rendering private messages
section as collapsible, whose data-fetching logic came with zulip#21357.

We now have separated out `Private messages` from `top_left_corner`
section and shifted it below the `global_filters` in a different
separate section along with stream list with common scroll bar
in left-sidebar.

The new PM section will be opened by-default on loading the page
and will have a toggle-icon in its header, clicking on which makes the
section collapse/expand accordingly.

In default view, only recent 5 PM threads would be shown
and would append the active conversation as the 6th one at last
if not present in those 5, similar to how topics list work.

In PM section with unreads, a maximum of 8 conversations
would be shown and rest of them would be hidden behind
the 'more conversations' li-item, clicking on which takes
to the zoomedIn view of PM section where all the present
PM threads would be visible and rest of the sections of left-sidebar
will get collapsed.

Fixes #20870.

Co-authored-by: Aman Agrawal <amanagr@zulip.com>
2022-10-26 13:47:08 -07:00
..
__init__.py
capitalization.py pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
git-tools.bash lint: Add .bash extension for tools/lib/git-tools.bash. 2021-06-25 09:01:13 -07:00
gitlint-rules.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
html_branches.py dead code: Kill off most of html_branches. 2021-12-02 09:49:10 -08:00
pretty_print.py template_parser: Spell “Handlebars” correctly. 2022-09-09 00:34:36 -07:00
provision.py tools: Add missing spaces in concatenated string literals. 2022-10-24 14:52:49 -07:00
provision_inner.py provision: Avoid distutils; keep PROVISION_VERSION as a tuple. 2022-07-20 22:03:30 -07:00
sanity_check.py sanity_check: Improve output for manual installation. 2021-04-01 10:54:56 -07:00
template_parser.py template_parser: Spell “Handlebars” correctly. 2022-09-09 00:34:36 -07:00
test_script.py test_script: Don’t crash on second Puppeteer run. 2022-10-13 19:56:47 -07:00
test_server.py python: Simplify stdio flushing using print(…, flush=True). 2021-06-09 14:05:31 -07:00