Skip to content

feat: add on-demand screenshot workflow for documentation#2513

Merged
miaulalala merged 1 commit intomasterfrom
feat/screenshot-workflow
Apr 14, 2026
Merged

feat: add on-demand screenshot workflow for documentation#2513
miaulalala merged 1 commit intomasterfrom
feat/screenshot-workflow

Conversation

@miaulalala
Copy link
Copy Markdown
Collaborator

Adds a Cypress spec and GitHub Actions workflow to capture deterministic screenshots of the Activity app for use in the Nextcloud documentation. Triggered manually via workflow_dispatch with a configurable server branch.

Screenshots are split into user/ and admin/ artifacts matching the documentation repo structure.

@miaulalala miaulalala self-assigned this Apr 14, 2026
@miaulalala miaulalala added 2. developing github_actions Pull requests that update GitHub Actions code labels Apr 14, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cypress
Copy link
Copy Markdown

cypress Bot commented Apr 14, 2026

Activity    Run #3592

Run Properties:  status check passed Passed #3592  •  git commit 7aab372c2f: feat: add on-demand screenshot workflow for documentation
Project Activity
Branch Review feat/screenshot-workflow
Run status status check passed Passed #3592
Run duration 02m 49s
Commit git commit 7aab372c2f: feat: add on-demand screenshot workflow for documentation
Committer Anna
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 16
View all changes introduced in this branch ↗︎

Copy link
Copy Markdown
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Fancy!

@miaulalala miaulalala force-pushed the feat/screenshot-workflow branch 2 times, most recently from 40ecdf5 to e50e9e5 Compare April 14, 2026 13:48
Adds a Cypress spec and GitHub Actions workflow to capture deterministic
screenshots of the Activity app for use in the Nextcloud documentation.

- Triggered manually via workflow_dispatch with a configurable server branch
- Captures user views (activity stream filters, sidebar, personal settings)
  and admin views (notification toggle, default settings) at 1280x720
- Uploads screenshots as separate user/ and admin/ artifacts (5-day retention)
- Optionally opens a PR against nextcloud/documentation via COMMAND_BOT_PAT
- PR title includes branch prefix for stable branches (e.g. [stable30])

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the feat/screenshot-workflow branch from e50e9e5 to b4a754d Compare April 14, 2026 19:48
@miaulalala miaulalala merged commit 0b9a595 into master Apr 14, 2026
63 of 67 checks passed
@miaulalala miaulalala deleted the feat/screenshot-workflow branch April 14, 2026 20:16
@joshtrichards
Copy link
Copy Markdown
Member

Great idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants