Skip to content

Issue detail screenshot preview: Improve screenshot file detection #92154

@bruno-garcia

Description

@bruno-garcia
Member

Relates to:

Where we improve the screenshot preview experience under Attachments.

That's because our convention to mark something a screenshot is very strict.

This issue though relates to the Issue Detail screenshot preview, which continues to only show up if the file is named screenshot.jpg or screenshot.png. That was relaxed for the Attachments preview but not for the issue details page.

Expected results:

If the event contains an attachment where the name contains screenshot, the screenshot preview should show up, and include that file.

An example is this event where we don't control the code that sends the data, and the screenshot file name contains more information besides 'screenshot'.

Through #91430 we managed to see these in the attachments view as Screenshots, but in issue detail there's still no preview.

Activity

getsantry

getsantry commented on May 22, 2025

@getsantry
Contributor

Routing to @getsentry/product-owners-issues for triage ⏲️

armenzg

armenzg commented on Jun 10, 2025

@armenzg
Member

@bruno-garcia Now that Priscilla's changes merged, can we close this ticket?

bruno-garcia

bruno-garcia commented on Jun 11, 2025

@bruno-garcia
MemberAuthor

Yes! Thanks @priscilawebdev for the quick fix

locked and limited conversation to collaborators on Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @armenzg@bruno-garcia

        Issue actions

          Issue detail screenshot preview: Improve screenshot file detection · Issue #92154 · getsentry/sentry