evykassirer
12033d6690
message_view_header: Add blueslip logging for undefined sub.
...
To try to figure out why this is happening:
https://chat.zulip.org/#narrow/stream/464-kandra-js-errors/topic/Error.3A.20Failed.20to.20process.20an.20event
2024-09-30 16:32:03 -07:00
Anders Kaseorg
2440c6d244
electron_bridge: Harden against hypothetical DOM clobbering attacks.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-30 16:31:27 -07:00
Anders Kaseorg
b0653d1ea4
uploaded_files_list: Fix id pollution.
...
The HTML id attribute is supposed to be globally unique; it’s not an
appropriate place to store a user-controlled string, or to identify
part of a component that’s rendered more than once.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-30 14:15:31 -07:00
Karl Stolley
762617e23f
left_sidebar: Add hover styles for action headings.
2024-09-30 13:38:33 -07:00
Karl Stolley
04f6082dfb
left_sidebar: Add color for collapsed nav item hover.
2024-09-30 13:38:33 -07:00
Karl Stolley
f73e39c63d
sidebars: Restyle vdots icon colors and hover states.
2024-09-30 13:38:33 -07:00
Karl Stolley
872a1e64a6
left_sidebar: Add hover effects for section headings.
2024-09-30 13:38:33 -07:00
Karl Stolley
8c54c1df3e
sidebars: Add active and hover sidebar-row styles.
2024-09-30 13:38:33 -07:00
Karl Stolley
1d4f282cbd
sidebars: Present neutral and active sidebar-row states.
2024-09-30 13:38:33 -07:00
evykassirer
471d042a11
message_notifications: Convert module to typescript.
2024-09-30 12:07:27 -07:00
evykassirer
6c390551de
unread: Remove useless message_unread function.
2024-09-30 12:07:27 -07:00
evykassirer
4215c9d707
message_notifications: Check if NotificationAPI is undefined.
...
`window.Notification` can be `undefined` in iOS Safari.
https://bugs.webkit.org/show_bug.cgi?id=247315
This hasn't caused any known bugs, but it's better to catch
this case with an undefined check than to assert it's defined
when we convert this file to typescript.
2024-09-30 12:07:27 -07:00
Lauryn Menard
9f3553815e
help: Link to dedicated articles vs getting org started guide.
...
As the guide to getting an organization started is being replaced
by the moving to zulip guide, replace links to subsections of the
old guide to instead go to dedicated articles about those topics.
2024-09-30 11:58:31 -07:00
Lauryn Menard
d8fd0d8599
scheduled-messages-ui: Set channel ID in narrow term to a string.
2024-09-30 11:25:02 -07:00
Aman Agrawal
e5a0157f84
messages_ovelay: Use specific name for `row_item_selector`.
2024-09-30 11:23:29 -07:00
Aman Agrawal
e646b3b7b6
messages_overlay: Force specific name for `message-info-box` selector.
2024-09-30 11:23:29 -07:00
Aman Agrawal
d2561b778a
scheduled_message: Use specific name for `message-info-box` selector.
2024-09-30 11:23:29 -07:00
Aman Agrawal
4a72801091
scheduled_messages: Use specific name for `items_list_selector`.
2024-09-30 11:23:29 -07:00
Aman Agrawal
3f1b78aab9
scheduled_messages: Use specific name for `items_container_selector`.
...
This avoids selecting an element from hidden other elements having
the same class.
2024-09-30 11:23:29 -07:00
Karl Stolley
a8217aee36
lightbox: Treat $original_media_element as singular.
2024-09-30 11:12:40 -07:00
Karl Stolley
cad8330988
lightbox: Make selected-media logic less brittle.
2024-09-30 11:12:40 -07:00
evykassirer
cd9dc3959a
reload: Handle stream messages without specified stream.
...
The stream id can be undefined when the compose box is open
to start a stream message, but no stream has been selected
from the dropdown yet.
Fixes this error:
https://chat.zulip.org/#narrow/stream/464-kandra-js-errors/topic/Error.3A.20Failed.20to.20preserve.20state/near/1948680
Introduced in 97ffccb45f
2024-09-29 12:21:20 -07:00
Tim Abbott
c73462f124
stream_settings: Fix already-subscribed error handling.
...
This was not correctly migrated in 65893292b5
.
2024-09-27 16:51:07 -07:00
sanchi-t
82fd3c9b32
css: Refactor theme colors for `alerts`.
...
This change moves the light and dark theme colors for
`alerts` to CSS variables.
2024-09-27 13:27:58 -07:00
Aman Agrawal
b6c37a3474
register: Ask which review site for how found zulip.
2024-09-27 13:23:08 -07:00
Karl Stolley
112d7b60fe
lightbox: Correctly center lightbox thumbnails.
2024-09-27 13:22:05 -07:00
Karl Stolley
b8037a9980
lightbox: Remove any video players when navigating thumbnails.
2024-09-27 13:22:05 -07:00
Karl Stolley
c36c561f07
lightbox: Only open the first returned media element.
2024-09-27 13:22:05 -07:00
Karl Stolley
cc877f9c83
lightbox: Use temporary class to track selected media.
2024-09-27 13:22:05 -07:00
Karl Stolley
2e26c3bb9d
lightbox: Show first media element on hotkey activation.
2024-09-27 13:22:05 -07:00
Benjamin Masters
6180725579
modals: Fix typo in introduce_zulip_view_model.
2024-09-27 17:56:44 +00:00
Aman Agrawal
790d5c44a1
stripe: Allow customer to switch license management type.
...
Fixes #28633
Added a button to switch license management type on billing page.
Tested that the plan switch works correctly.
Tested that when switching from manual to automatic license
management, customer is only billed for billable users for the
next billing cycle.
2024-09-26 16:13:28 -07:00
Anders Kaseorg
b7e02436b8
eslint: Avoid @typescript-eslint/no-deprecated for jQuery ‘on’.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-26 13:27:26 -07:00
Anders Kaseorg
2dce73ecfa
bot_data: Avoid deprecated ZodObject.deepPartial().
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-26 13:16:12 -07:00
AJ Kerrigan
697c79a6cc
docs: Advertise Inbox and Recent view navigation shortcuts.
...
Add to the help center and in-app shortcuts overlay, near the existing
"Go to combined feed" shortcut, documentation for the similar inbox/recent view
navigation shortcuts.
2024-09-26 13:13:35 -07:00
Sahil Batra
6ddaaa4ef9
signup: Show realm name in a tooltip on signup page.
...
This is needed to make sure that user can see the realm
name in case it does not fits into the UI and is shown
with ellipsis.
Fixes #31676 .
2024-09-26 11:58:31 -07:00
Aman Agrawal
6e4895b05f
landing-page: Update streams_and_topics_day images.
...
Removed the night images since they were not being used and these
new day mode images are designed to look not too bright in the
dark mode screens too.
2024-09-26 09:27:01 -07:00
Anders Kaseorg
fb623f4450
eslint: Fix @typescript-eslint/no-duplicate-type-constituents.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-25 15:43:37 -07:00
Anders Kaseorg
e63365a4da
katex_server: Fix import/no-named-as-default.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-25 15:41:01 -07:00
Anders Kaseorg
890f9e67f4
settings_linkifiers: Fix zod import.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-25 15:40:04 -07:00
tnmkr
a435b7687a
custom_profile_fields: Update label for non-editable field toggle.
...
The rewording clarifies that this setting allows users to change only
the value of the field for their own account.
This is a follow-up to #29570 which implented the setting through a
series of 3 commits ending in 23efb5cec7
.
2024-09-25 11:14:41 -07:00
Tim Abbott
21ddd719e7
message_events: Fix move_message_stream_id type confusion.
2024-09-25 11:13:09 -07:00
evykassirer
76a602842d
message_list: Make data required in the constructor.
2024-09-24 17:16:15 -07:00
evykassirer
28c3701677
message_list: Move comment from constructor to class definition.
2024-09-24 17:16:15 -07:00
evykassirer
35bb00a6e5
message_view: Rename TargetMessageIdInfo to be more specific.
2024-09-24 17:16:15 -07:00
evykassirer
608c5ee54a
message_view: Make trigger required for changehash and update_hash_to_match_filter.
2024-09-24 17:16:15 -07:00
evykassirer
af915523a7
message_view: Convert module to typescript.
2024-09-24 15:43:27 -07:00
evykassirer
b0785f0f2c
message_view: Name mutated opts separate from function params.
...
This will help with Typescript conversion.
2024-09-24 15:43:27 -07:00
evykassirer
5b151cff96
message_view: Rename show's original opts to show_opts.
...
This will help with Typescript conversion.
2024-09-24 15:43:27 -07:00
evykassirer
3da3661a34
message_view: Access window.history.state through browser_history.
2024-09-24 15:43:27 -07:00