Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder content for group index.html file while run is in progress #353

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

montehurd
Copy link
Collaborator

@montehurd montehurd commented Jul 2, 2024

If a user tried to view a group's report while that group was running, its images could be missing since Backstop clears out a group's images when it begins a run

This commit updates the group's index file when the run begins indicating the group's run is in progress

For example, if Desktop screenshots are being regenerated and the user tries to view the Desktop report they will now see something like this:

Screenshot 2024-07-01 at 6 52 11 PM

This placeholder info persists until the run completes

The actual report appears when the run is done

If user tried to view a group's report while that
group was running, its images could be missing
since Backstop clears out a group's images when
it begins a run

This commit updates the group's index file when
the run begins indicating the group's run is in
progress

This placeholder info persists until the run
completes

The actual report appears when the run is done
@montehurd montehurd merged commit c85fdf1 into wikimedia:main Jul 2, 2024
1 check failed
@montehurd montehurd deleted the run-in-progress-placeholder branch July 2, 2024 01:54
@montehurd
Copy link
Collaborator Author

Note that this is granular to Desktop, Mobile, Codex etc, so you only see the placeholder if Backstop is currently regenerating screenshots for that respective group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant