Commit Graph

66132 Commits

Author SHA1 Message Date
Mateusz Mandera
072f234269 confirmation: Rename REALM_CREATION to NEW_REALM_USER_REGISTRATION.
Clears up some naming confusion - `REALM_CREATION_LINK_VALIDITY_DAYS` is
a setting which describes the validaty period of RealmCreationKey, not
of Confirmation with REALM_CREATION type. Now that the latter is called
NEW_REALM_USER_REGISTRATION, there should be no confusion about this.
2025-08-04 18:41:00 -07:00
Aman Agrawal
8207eaab55 left_sidebar: Refactor to support user's navigation view preference.
Co-authored-by: Aditya Chaudhary <aditya.chaudhary1558@gmail.com>
2025-08-04 18:33:36 -07:00
Aman Agrawal
87aaf6dd4d left_sidebar: Remove unused home-link class. 2025-08-04 18:33:36 -07:00
Aditya Kumar Kasaudhan
a0ae465b46 sidebar: Refactor left sidebar navigation list import.
This commit refactors to import the full
`left_sidebar_navigation_area` module instead of
individual functions. This allows calling multiple
functions easily and prepares for upcoming navigation
view changes.
2025-08-04 18:33:36 -07:00
Prakhar Pratyush
e3c500cebe onboarding: Add highlighted-element class to <b> in onboarding modals.
This commit adds 'highlighted-element' class to <b> tags in
the following onboarding modals:
* introduce inbox view modal
* introduce recent conversations view modal
* introduce resolve topic modal
* introduce first channel created modal

'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-04 18:25:49 -07:00
Prakhar Pratyush
4070f5e512 onboarding: Remove <b> from the headings of introduce zulip view modals.
This commit removes bold from the heading of:
* introduce inbox view modal
* introduce recent conversations view modal
2025-08-04 18:25:49 -07:00
Prakhar Pratyush
d73397a221 onboarding: Remove channel name from channel created modal heading.
This commit removes the channel name from the heading of the
first channel created modal.
2025-08-04 18:25:49 -07:00
Shubham Padia
3ae0c4c68b help-beta: Make tight and loose lists look the same. 2025-08-04 13:25:15 -07:00
Shubham Padia
c6a0e79342 help-beta: Insert steps around ordered lists.
We remove the ol > li margin rule to space out ordered list items since
that was the result of us overriding an upstream margin rule in
steps.css.

We inserted Steps inside include files only if they are not entirely
composed of an ordered list. If they are, they will eventually be
wrapped inside FlattenedSteps and wrapping these macros with Steps will
not give us the results we desire.
2025-08-04 13:25:15 -07:00
Shubham Padia
502c8072b0 help-beta: Use steps component instead of using steps.css.
Using steps.css right now might feel like the more convenient way out,
but it might introduce friction in upgrades when the upstream code
changes. To tackle that, we convert FlattenList to FlattenedSteps and
explicitly use the steps component.
2025-08-04 13:25:15 -07:00
Anders Kaseorg
00ada0130f install-shellcheck: Upgrade ShellCheck from 0.10.0 to 0.11.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-04 13:23:33 -07:00
Sahil Batra
524442bf44 streams-ui: Add UI to update and archive channel folders.
This commit adds edit and delete buttons in the dropdown
list for folder.

Fixes #35498.
2025-08-04 13:22:11 -07:00
Sahil Batra
da53d5b978 dropdown-widget: Handle button click in a separate click handlers.
This commit refactors code for DropdownWidget to handle clicks
on edit and delete buttons in a separate click event handler
and not in the handler for selecting one of the items in
dropdown.

This is important to make sure that selected value stored for
dropdown widget is not updated on clicking the icon.
2025-08-04 13:22:11 -07:00
Sahil Batra
072516c2bb channel-folders: Update unique name constraint.
This commit updates code to require unique names for only
non-archived folders in a realm, which means a folder can
use a name which is being used by an archived folder.
2025-08-04 13:22:11 -07:00
Sahil Batra
e70d8c7a80 streams-ui: Reset folder dropdown if selected folder is archived.
This commit adds live-update code to reset the dropdown when user
is changing the folder for a channel or setting the folder for a
new channel and the selected folder is archived.
2025-08-04 13:22:11 -07:00
Sahil Batra
7be824d090 settings: Move function to set up folder widget dropdown. 2025-08-04 13:22:11 -07:00
Sahil Batra
e7cb472188 dropdown-widget: Pass aria-label for icon buttons in options.
This commit updates code to pass aria-label for icon buttons
in dropdown widget options so that they can be used in
dropdown_list.hbs template instead of directly defining them
in the template file.

We currently show buttons in saved snippets dropdown only
so defining the labels in template file worked correctly
but it is good to pass them as variables so that it is
simpler to add buttons for other dropdowns when required.
2025-08-04 13:22:11 -07:00
Karl Stolley
b87d22c9fa rendered_markdown: Remove now-unnecessary layout adjustments. 2025-08-04 12:55:53 -07:00
Karl Stolley
2d68beda07 me_messages: Improve grid, layout. 2025-08-04 12:55:53 -07:00
Karl Stolley
a07ed96526 message_row: Align content, not items. 2025-08-04 12:55:53 -07:00
Prakhar Pratyush
55cceeaca1 test_push_notifications: Use assertCountEqual for unordered token list.
The order of token values returned by the database query isn't
guaranteed, so 'assertEqual' fails in a flaky way.

This commit uses 'assertCountEqual' to fix that.
2025-08-04 11:33:53 -07:00
Maneesh Shukla
74148f2e0b desktop-notification-banner: Remove the banner form the org settings.
The `update_desktop_notification_banner` line removed had been added in #34865,
to handle the case of opening the default user settings panel after previously opening
the personal; notifications settings panel, and is no longer required.
2025-08-04 10:02:07 -07:00
Niloth P
52fb13a2f6 generate-integration-docs-screenshot: Use bot-name option to set email.
Previously, only one bot can be created using the
generate-integration-docs-screenshot script for each integration. This
was because the bot's email was constructed using the integration's
name.

Thus, the bot-name commandline option would not work if a bot already
exists for the integration.

Now, we create the email by cleaning the bot-name value, if passed.
2025-08-04 10:00:02 -07:00
Niloth P
0d30435b29 generate-integration-docs-screenshot: Fix usage of fixtureless options.
Fixed copy paste error in loading commandline options for
fixtureless-integrations.
2025-08-04 10:00:02 -07:00
Alya Abbott
0e49bde571 help: Document setting for whether to use folders in left sidebar. 2025-08-04 09:59:03 -07:00
Alya Abbott
e3fe8f3911 help: Add related links. 2025-08-04 09:59:03 -07:00
Alya Abbott
7f68ccfa3d help: Move alternate instructions into tabs. 2025-08-04 09:59:03 -07:00
Shubham Padia
ec72c46ed6 help-beta: All lists should start with one after conversion.
The format step was converting our ordered list items to have
incremental numbering instead of using `1.` for every list item. This
was not because of any remark-lint rule, but because of
`remark-stringify` which auto increments any lists it processes. We
followed the recommended fix from
ae2f941d88/packages/remark-lint-ordered-list-marker-value/readme.md (L185)

We also don't need remark-lint-ordered-list-marker-value package, since
that is already part of the markdown style guide with the value we
desire. Setting it to false was a mistake in the first place.
2025-08-04 09:58:14 -07:00
Shubham Padia
baa87f3f0c help-beta: Run format step in the conversion tool. 2025-08-04 09:55:18 -07:00
Lauryn Menard
7a9b78f1f5 settings: Add user setting to ignore channel folders in left sidebar.
Fixes #35573.
2025-08-01 09:18:19 -07:00
Lauryn Menard
624988d498 help-beta: Rename "identifier" to "target" in NavigationSteps. 2025-08-01 09:15:12 -07:00
Lauryn Menard
9a25e97c40 help-beta: Adjust icon class names in the conversion process.
Use the icon's name, in camelcase, with the suffix "Icon" for
icon class names in the new help center documentation. E.g.,
zulip-icon-external-link becomes ExternalLinkIcon and fa fa-plus
becomes PlusIcon.
2025-08-01 09:13:05 -07:00
Maneesh Shukla
e5864eb103 banners: Use "fit-content" width for organization settings banners.
This commit updates the organization settings banners to use
`width: fit-content`, ensuring they no longer span the full available
width. While this change does not yet support wrapping the action button
to a new line, it works reliably for these banners.

Currently, flex-wrap is set to `nowrap` to prevent buttons from wrapping
to the next line, as using `min-content` or `fit-content` forces
wrapping when space runs out. This approach limits the banner width to
its content size while maintaining layout consistency.

Making this as a separate commit since this is an experimental change
and we can tinker this later when we have a solid solution.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
021af590e6 upload-stat: Redesign upload space stats banners.
Fixes: #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
da5c411054 banners: Redesign the invitation permission banners.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
13b78b7039 banners: Redesign mobile push notifications banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
b0241bfa3c banners: Redesign group info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
3651748d31 banners: Redesign stream info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
a93a015b21 banners: Redesign organization upgrade banners.
This commit redesigns the upgrade and sponsorship banners by adding
AVAILABLE_ON_STANDARD, UPGRADE_ACCESS_BANNER, and
UPGRADE_OR_SPONSORSHIP_BANNER.

Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
85d8c225a3 banners: Convert banners into plain text.
This commits convert the banners of "Settings > Default user settings"
and "Personal > Bots" into plain text. Also, change the plain text of
"Personal > Bots" to be more descriptive.

Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
e52ee6ee98 banners: Remove the permission banners from Settings/ Users.
This commit removes the permission banners from Settings / Users / Users
and Settings / Users / Deactivated.

Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
deaa6390a8 banners: Redesign the permission banners.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Evy Kassirer
8f783c53c0 left_sidebar: Display folder unread counters like channel counters.
Discussion here:
https://chat.zulip.org/#narrow/channel/101-design/topic/channel.20folder.20unread.20count.20styling/with/2232873
2025-07-31 23:50:25 -07:00
Karl Stolley
6d4cd1b9d0 compose: Correct faulty logic for determining attention state. 2025-07-31 11:30:00 -07:00
Lauryn Menard
71640d53d8 help: Standardize Welcome Bot and Notification Bot styling.
In the help center, we want these two system bots to be referred
to as names: capitalize both words, no bold, no links, no "the"
before the bot's name.
2025-07-31 11:29:09 -07:00
Alya Abbott
e0bd534433 help: Move tip about changing uploaded file name into instructions. 2025-07-30 19:23:32 -07:00
Pratik Chanda
c62938a1b1 message_send: Fix update draft error when message send fails.
Currently, we save a draft copy in case message send fails on server
but this only saves a copy of message when it has savable message
length. Short message doesn't save a copy and throws an error.

This commit introduces a new option `force_save` to `update_draft`
and saves any message regardless of message length if passed true.
2025-07-30 18:14:19 -07:00
Alya Abbott
39895b0c3d help: Improve resolve topic page.
- Update for dedicated permissions setting.
- Make last section more user-oriented.
2025-07-30 18:02:30 -07:00
Alya Abbott
622729f444 help: Add automatic mark as read setting to resolved topic page. 2025-07-30 18:02:30 -07:00
Lauryn Menard
f712fa975e help: Make extra content about outgoing bots one paragraph. 2025-07-30 18:00:40 -07:00