Skip to content

feat(screenshots): delete screenshots and screenshot sets - #39

Merged
hanrw merged 1 commit into
mainfrom
feat/screenshots-delete
Nov 1, 2026
Merged

hanrw merged 1 commit into
mainfrom
feat/screenshots-delete

Conversation

@hanrw

@hanrw hanrw commented Nov 1, 2026

Copy link
Copy Markdown
Member

Why

Fixes #

What changed

How it was verified

Checklist

  • A failing test came first; swift test passes
  • A command that returns data is also served by asc web-server
  • User-visible change: one line under ## [Unreleased] in CHANGELOG.md
  • make docs && make check-docs passes
  • No API key, .p8, issuer ID or Apple ID session in the diff, output or screenshots

`asc screenshots delete --screenshot-id <id>` and
`asc screenshot-sets delete --set-id <id>` remove a screenshot, or a
whole set with its screenshots. Listed screenshots and sets now carry a
`delete` affordance, and both are reachable over REST:
DELETE /api/v1/screenshots/:id and DELETE /api/v1/screenshot-sets/:id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@hanrw
hanrw merged commit c6baef2 into main Nov 1, 2026
2 checks passed
@codecov

codecov Bot commented Nov 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.27%. Comparing base (f1b096b) to head (ebde77d).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...Commands/ScreenshotSets/ScreenshotSetsDelete.swift 40.00% 3 Missing ⚠️
...mmand/Commands/Screenshots/ScreenshotsDelete.swift 40.00% 3 Missing ⚠️

❌ Your patch status has failed because the patch coverage (62.50%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   84.48%   84.27%   -0.22%     
==========================================
  Files         524      526       +2     
  Lines       15879    15895      +16     
==========================================
- Hits        13415    13395      -20     
- Misses       2464     2500      +36     
Files with missing lines Coverage Δ
...ommands/ScreenshotSets/ScreenshotSetsCommand.swift 72.72% <ø> (ø)
...mand/Commands/Screenshots/ScreenshotsCommand.swift 82.35% <ø> (ø)
...ocalizations/ScreenshotSets/AppScreenshotSet.swift 91.48% <100.00%> (+0.18%) ⬆️
...ons/ScreenshotSets/Screenshots/AppScreenshot.swift 90.24% <100.00%> (+0.24%) ⬆️
...s/ScreenshotSets/OpenAPIScreenshotRepository.swift 98.88% <100.00%> (+0.05%) ⬆️
...Commands/ScreenshotSets/ScreenshotSetsDelete.swift 40.00% <40.00%> (ø)
...mmand/Commands/Screenshots/ScreenshotsDelete.swift 40.00% <40.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

hanrw added a commit that referenced this pull request Nov 1, 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.

1 participant