Commit Graph

67030 Commits

Author SHA1 Message Date
Shubham Padia
c3fdee6ed0 help: Add canonical URL pointing to zulip.com.
Partially fixes #35110.

We ideally want this only for self hosted installations since we want to
point them to the right canonical URL. But we can have this for all
pages since for zulip.com, this will be a self referencing URL.
2025-10-06 22:22:34 -07:00
Shubham Padia
94f8198072 help: Redirect web app URLs to web app proxy port.
Help center dev server always runs on a port different than the web
app. We have relative URLs pointing to the web app in the help
center, but they are not on the port help center is running on. We
redirect instead to our web app proxy port.
2025-10-06 22:21:39 -07:00
Shubham Padia
9fa09f8f87 help: Make canonical URL for the root to be /help/.
We also make sure that /help/ is accessible when using the dev server.

We add vite as a dependency. v7 of vite is the latest version but using
that causes type problems for PluginOptions since astro uses vite v6.
Therefore we pin vite to v6 for now.

This commit also runs `pnpm dedupe` for `tinyglobby` pinning it to
0.2.15 instead of the previous 0.2.14 in the lockfile.
2025-10-06 22:21:39 -07:00
Alex Vandiver
72e3b94855 docs: Document how push notifications require a real email address. 2025-10-06 22:20:02 -07:00
Alex Vandiver
afd7c4b1d1 register_remote_server: Check for NS records, now just A/AAAA.
We shouldn't declare that the domain doesn't exist, if it has a valid
NS record but no A/AAAA.
2025-10-06 22:20:02 -07:00
Alex Vandiver
a0e5be7f2e register_remote_server: Be more explicit about example.com emails. 2025-10-06 22:20:01 -07:00
Alex Vandiver
fc42c70346 register_remote_server: Explain why we're validating the domain. 2025-10-06 22:20:01 -07:00
Shubham Padia
44d1343158 css: Remove redundant border-color for message rows.
The dark component out of the light-dark() of
--color-message-list-border is hsl(0deg 0% 0% / 40%), which is the same
as the color we specify in dark_theme.css.

- .recipient_row already uses the above variable, so it's entry is not
  needed in dark_theme.css
- .message_row uses the same variable as well.
- .overlay-message-row does not have a direct border. Although
  .message_row nested inside it does. It already uses the above
  variable, so we can remove this entry as well.
2025-10-06 17:44:11 -07:00
Shubham Padia
f6d972048b css: Remove redundant border related css for .preview_message_area.
We removed the border declaration in #29953. We do not need the
border-radius anymore, nor the border-color declaration in
dark_theme.css.
2025-10-06 17:44:11 -07:00
Shubham Padia
de2126d240 subscriptions: Use light-dark() instead of dark_theme.css for stream-row.
Fixes part of #35881.

We extract out relevant colors from dark_theme.css for .stream-row and
.group-row and place them in light-dark(). We also transform all these
colors for .group-row and .stream-row into variables.

We use the alpha value for hsl() colors as a stand-in for the opacity we
were defining in dark_theme.css.
2025-10-06 17:44:11 -07:00
Shubham Padia
567e8f369e css: Move out background-color hsl(0deg 0% 0% / 20%) out of dark_theme.
Fixes part of #35881.
2025-10-06 17:44:05 -07:00
Shubham Padia
c96caded1f subscriptions: Use existing variable for .subscriber-list-box.
Fixes part of #35881.

Instead of having all the rules in the dark_theme.css, we use the
existing variable which uses `light-dark()`.

We also create a new variable color-border-settings-radio-input-parent,
since the existing variable was not created for that radio input and
they should be allowed to change independently.
2025-10-06 17:44:00 -07:00
Shubham Padia
ee298be34b subscriptions: Replace svg with .sub-unsub-icon in dark_theme.css.
We missed doing so in #36047.
2025-10-06 17:43:23 -07:00
Evy Kassirer
9d532baa94 pill_input: Use flex-grow 1 on all input pills.
This extends existing styling for pills for search and org permissions,
to fix a bug in the invite users modal. Continues work in #34371, which
tested other input elements.

Fixes bug reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/pasting.20invite.20email.20addresses
2025-10-06 17:32:58 -07:00
Alex Vandiver
ef238f2bf5 docs: Update some broken links. 2025-10-06 17:31:38 -07:00
Karl Stolley
5ce956c9bb compose: Clear recipient-focused timeout before setting another. 2025-10-06 16:41:09 -07:00
Prakhar Pratyush
7a96ca2412 onboarding_steps: Retry with backoff when marking a step as read fails.
Earlier, transient errors while marking an onboarding step as read
resulted in blueslip reporting - which is not required.

This commit updates the logic to retry with backoff in case of error.

Signed-off-by: Prakhar Pratyush <prakhar@zulip.com>
2025-10-06 12:18:57 -07:00
Evy Kassirer
ce56be02bc hotkey: Convert module to typescript. 2025-10-06 11:01:01 -07:00
Evy Kassirer
7c90d2cee5 compose_setup: Convert module to typescript. 2025-10-03 18:21:16 -07:00
Evy Kassirer
02f1a624f7 filter: Standardize type of has_topic's stream_id. 2025-10-03 18:21:16 -07:00
Sayam Samal
a8387a6487 dark_theme: Clean up input styles in dark_theme.css.
Fixes part of #35135.
2025-10-03 18:18:27 -07:00
Karl Stolley
31e5e8f636 left_sidebar: Remove open-menu outline on zoomed channel. 2025-10-03 16:59:46 -07:00
Karl Stolley
f82a1f3002 left_sidebar: Correct filter backgrounds on active-filter zoom. 2025-10-03 16:59:46 -07:00
Karl Stolley
d61e86faff left_sidebar: Clarify and correct active-filter hover backgrounds. 2025-10-03 16:59:46 -07:00
Karl Stolley
1b164c680e left_sidebar: Clarify hover backgrounds on active filters. 2025-10-03 16:59:46 -07:00
Karl Stolley
3b4c5abd82 left_sidebar: Specify app background color on checkmark. 2025-10-03 16:59:46 -07:00
Karl Stolley
00e437caa7 sidebars: Remove unnecessary opaque color variant.
There is no longer any opacity in the
--color-background-hover-narrow-filter, so the opaque
variant just adds noise and the potential for drift
from the original color.
2025-10-03 16:59:46 -07:00
Karl Stolley
023fd27bcb left_sidebar: Remove unnecessary dark-mode color. 2025-10-03 16:59:46 -07:00
Tim Abbott
9361a3cffe test_classes: Give useful error when using /json/ URLs wrong. 2025-10-03 15:49:20 -07:00
Tim Abbott
981fd35288 test_channel_creation: Fix misuse of test helper APIs.
This mix of authentication and endpoints used here was incoherent, and
throws an exception following the next commit.
2025-10-03 15:49:20 -07:00
Niloth P
6469fc5395 integration-docs: Add missing example screenshots.
For Asana, Discourse, GitHub Actions, Phabricator, Puppet integrations
that previously did not have any example screenshots.

The screenshot images were generated in the prior commit.
2025-10-03 15:38:03 -07:00
Niloth P
e69a596612 integrations: Generate example screenshots for fixtureless integrations.
- Updates the existing example screenshots for all fixtureless
integrations that do not involve threaded messages.
- Adds 5 new screenshot files for integrations that did not previously
have an example screenshot. The images are used by the integration
docs only in the following commit though.

The screenshot configurations were added in prior commits.
2025-10-03 15:38:03 -07:00
Niloth P
1f4267f3e0 integrations: Add screenshot configs for monitoring integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
d70b099644 integrations: Add screenshot configs for productivity integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
433f43a9b4 integrations: Add screenshot configs for communication integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
f5e925b26b integrations: Add screenshot configs for the project management type.
of integrations that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
24eab61ab0 integrations: Add screenshot configs for deployment integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
7f2161bffa integrations: Add screenshot configs for fixtureless CI integrations. 2025-10-03 15:38:03 -07:00
Niloth P
65d01b553b integrations: Add screenshot configs for fixtureless VCS integrations.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Niloth P
23a8e26741 integrations: Load optional fields for fixtureless screenshot configs.
The hardcoded content (topic and message) for the screenshot configs are
loaded from `fixtureless_integrations.py`. Add a new
FIXTURELESS_SCREENSHOT_CONFIG_OPTIONAL_FIELDS dict to maintain the
optional fields of fixtureless screenshot configs, and load both into
FIXTURELESS_SCREENSHOT_CONFIG.

This commit does not set any screenshot configs, but only adds the
framework.
2025-10-03 15:38:03 -07:00
Niloth P
c7a6fcaf88 integrations: Add new file for fixtureless screenshot configs registry.
This does not include any screenshot configs, just defining the format,
and loading FIXTURELESS_SCREENSHOT_CONFIG from the file.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Niloth P
aed6d37ecd docs: Improve sections of the "Documenting an integration" doc.
This commit generally improves the formatting and phrasing in certain
sections of the page, and is kept separate to distinguish these changes
from the content-related doc updates in the upcoming commits.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Evy Kassirer
d9fded98ff search: Remove outline for focused pills in the typeahead.
Reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/extraneous.20box.20when.20clicking.20on.20search.20pill.20in.20typeahead/near/2268435
2025-10-03 10:49:55 -07:00
Evy Kassirer
034353b22d compose: Use compose_state.message_content for preview rendering.
Followup to #36048. Since the trimming done by the compose_state
function is designed to not impact the actual Markdown rendering of a
message, it's safe to simplify the code path in this way.
2025-10-03 10:48:08 -07:00
Evy Kassirer
3366aeb586 compose: Assert message_type not undefined instead.
Followup to #36048.
2025-10-03 10:48:07 -07:00
Alex Vandiver
456354575e kandra: Add a mirror of #signups to CZO. 2025-10-03 10:47:16 -07:00
Anders Kaseorg
890ccec8d4 timestamp: Use localized formatting in format_datetime_to_string.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-03 10:43:16 -07:00
Anders Kaseorg
9ca788cbbc update_subscriber_counts: Fix annotate usage.
Commit 7f3bb4523c (#36160) broke this.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-03 00:01:44 -07:00
Evy Kassirer
5d90f509f5 compose_send_menu_popover: Remove default opts for open_schedule_message_menu. 2025-10-02 16:30:09 -07:00
Evy Kassirer
1818ce1e47 compose_send_menu_popover: Convert module to typescript. 2025-10-02 16:30:09 -07:00