Skip to content

Conversation

@chrisbobbe
Copy link
Collaborator

@chrisbobbe chrisbobbe added the maintainer review PR ready for review by Zulip maintainers label Oct 21, 2025
Copy link
Member

@rajveermalviya rajveermalviya left a comment

Choose a reason for hiding this comment

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

Thanks @chrisbobbe! LGTM, moving over to Greg's review.

@rajveermalviya rajveermalviya added integration review Added by maintainers when PR may be ready for integration and removed maintainer review PR ready for review by Zulip maintainers labels Oct 23, 2025
…review

This kind of URL is already covered in the tests of *clusters* of
image previews, but it seems helpful to isolate it like this with
its own comment.

We're also about to add a third variant, testing that we accept
images generated with an arbitrary CAMO_URI, which actually we don't
currently do, so that'll be a regression test.
…O_URI

See discussion:
  https://chat.zulip.org/#narrow/channel/412-api-documentation/topic/documenting.20inline.20images/near/2279454

We already test the `src == href` case, as
ContentExample.imagePreviewSingleNoThumbnail, but I added a test
case for an arbitrary CAMO_URI that fails before this commit.
@gnprice
Copy link
Member

gnprice commented Oct 24, 2025

Thanks! Looks good; merging.

@gnprice gnprice force-pushed the pr-arbitrary-camo-url branch from 27cc8ed to 0c7edc0 Compare October 24, 2025 01:34
@gnprice gnprice merged commit 0c7edc0 into zulip:main Oct 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration review Added by maintainers when PR may be ready for integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants