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

Remove null from name on gif screenshots #917

Closed
wants to merge 2 commits into from

Conversation

BraisGabin
Copy link

@BraisGabin BraisGabin commented Jun 2, 2023

Right now when you run paparazzi with gif without setting a name the files that paparazzi create ends with _null_0.png. That "null" is the name that was not set. This PR aligns the naming of gif and screenshot. Now, if you don't set a name on gif the screenshot name will end with _0.png.

A diff is worth a thousand words:
BraisGabin@21bc089#diff-7522c35360e75c4ed0d453217b86bfe469ea3cc1b4cabc2597f1cbf9fc6d4173L55-R55

I splitted this PR in two commits. The first one extracts this logic to a different file and add tests to the current behaviour. On the second one I fix the naming issue.

Note: this PR shares the first commit with #902. I'll rebase this (or the other PR) when one of them is merged.

@BraisGabin BraisGabin force-pushed the remove-null-from-name branch 2 times, most recently from 904b128 to 586a4e4 Compare June 12, 2023 07:54
@BraisGabin
Copy link
Author

This PR is obsolete now that #1186 is merged

@BraisGabin BraisGabin closed this Apr 25, 2024
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.

None yet

1 participant