Skip to content

content: Show image/video previews larger according to realm setting#2202

Draft
MritunjayTiwari14 wants to merge 7 commits intozulip:mainfrom
MritunjayTiwari14:image_resizing
Draft

content: Show image/video previews larger according to realm setting#2202
MritunjayTiwari14 wants to merge 7 commits intozulip:mainfrom
MritunjayTiwari14:image_resizing

Conversation

@MritunjayTiwari14
Copy link
Copy Markdown
Contributor

@MritunjayTiwari14 MritunjayTiwari14 commented Mar 5, 2026

Fixes #2177.
Partially, Fixes #668.

@MritunjayTiwari14 MritunjayTiwari14 changed the title Image resizing content: Show image/video previews larger according to realm setting Mar 5, 2026
@MritunjayTiwari14 MritunjayTiwari14 marked this pull request as ready for review March 5, 2026 16:45
Copilot AI review requested due to automatic review settings March 5, 2026 16:45
@MritunjayTiwari14 MritunjayTiwari14 marked this pull request as draft March 5, 2026 16:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Since it is supported from FL-468 (server-12), the
enum also accepts null values as a fallback to default size.

Fixes 2 todo's:
  Changed int? to enum type of botType in `User.botType`
  Added server-11 to `localeDefault` value of `TwentyFourHourTimeMode` enum.
This would allow us to handle RealmEvent with
different op values.

relevant docs:
  https://chat.zulip.org/api/get-events#realm
This would allow us to update `realmMediaPreviewSize`
since this is part of realm with op:update_dict event
whenever we would recieve an event for it.

relevant docs:
  https://chat.zulip.org/api/get-events#realm-update_dict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show image/video previews larger according to new setting Track realm settings

2 participants