Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/core/src/publisher/github-comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ function buildCommentBody(options: CommentOptions): string {
: '';

const mediaSection = recordingUrl
? `![Demo](${recordingUrl})`
? `![Demo](${recordingUrl})\n\n[📱 Can't see the preview? Open it directly](${recordingUrl})`
: screenshots && screenshots.length > 0
? screenshots.map((s, i) => `![Screenshot ${i + 1}](${s})`).join('\n')
? screenshots
.map((s, i) => `![Screenshot ${i + 1}](${s})\n\n[📱 Can't see screenshot ${i + 1}? Open it directly](${s})`)
.join('\n\n')
: '_No recording available._';

const rerunSection = rerunUrl ? `\n\n[↺ Re-run demo](${rerunUrl})` : '';
Expand Down
Loading