Skip to content

Put the report name in the subject when sharing the diagnostic report (next-dev) - #46

Merged
marionbarker merged 1 commit into
next-devfrom
fix/report-share-subject-next-dev
Oct 24, 2026
Merged

marionbarker merged 1 commit into
next-devfrom
fix/report-share-subject-next-dev

Conversation

@ps2

@ps2 ps2 commented Oct 24, 2026 •

Copy link
Copy Markdown

Same change as #45, cherry-picked to next-dev.

Sharing the diagnostic report by email left the subject blank. The old issue report put the report name in the subject, for example "Loop Report 2026-10-23 19:37:00-05:00.md", which made reports easy to tell apart.

The old share (LoopKitUI's CommandResponseViewController) passed a UIActivityItemSource that returned the report name from subjectForActivityType. When sharing moved here (#39), DiagnosticReportView started passing the bare file URL, so Mail gets no subject. This adds an item source that supplies the same name as the subject.

Testing: built with Xcode 27.1 and checked in the iPhone 17 simulator that the share sheet still offers the report file. The simulator has no Mail app, so the subject line itself still needs checking on a device.

Sharing passed only the file URL, so Mail left the subject blank. The old
issue report shared through an activity item source that supplied the
report name as the subject; do the same here.

(cherry picked from commit 36e436d)
@marionbarker

Copy link
Copy Markdown

Test

✅ successful test

Configuration

start with next-dev branch, commit e5c6f0f
point to LoopSuport branch: fix/report-share-subject-next-dev

Test Details

Build onto SE 3rd gen phone running iOS 27.0.1

  • Loop- > Settings -> Report a Problem -> Share a Diagnostic Report
  • view the report to confirm the correct LoopSupport branch
  • send to email
  • ✅ Email had the subject line that matches the included Loop Report

@marionbarker marionbarker left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

approve by code review and test.
Thanks much.

@marionbarker
marionbarker merged commit b1ae831 into next-dev Oct 24, 2026
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.

2 participants