-
Notifications
You must be signed in to change notification settings - Fork 216
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
Enhancement Request: Ability to Choose Output File Name and Path #963
Comments
If you want to generate screenshots with names, you have to run the gradle task |
That generates a Golden screen, and the name is not customizable, it adds information that I don't want, it doesn't even give the option to choose the route. As I mentioned, my desire is not to test, but to generate documentation later with these screenshots, even generate images to later use them in other projects, that is why I use this library but not for its original purpose. hence the request that it evolve to more. |
(I'm just a contributor here, don't know how much the team supports adding new features). If I wanted to implement your requirements, I would break this down into smaller steps and try to utilise/request building blocks that might be useful for other things too. As you said "use this library but not for its original purpose", so it's hard for the library to specialise for this purpose. Here's a few points that might help achieving your end goal:
See also #973, which might be an interesting building block/alternative. |
This doesn't solve the filename problem, but we customise the location of the images using this code.
|
If you want to change the filename, give this issue a +1 #549 (comment) |
Closing as duplicate of #549 |
Dear Paparazzi Team,
I hope this message finds you well. I would like to express my appreciation for the excellent functionality provided by the Paparazzi library. It has been incredibly useful for generating screenshots of my composables within my own application.
However, I have encountered a limitation that is hindering my workflow. Currently, the output file name for the screenshots is automatically generated as "62e6827980591d8e5a895a63978f3df69b3fe968," despite the existence of a variable named "name." Additionally, I am unable to specify the desired path for saving these files.
While I understand that the library was initially designed for screenshot tests, I believe that enhancing it with the ability to choose the output file name and path would greatly expand its utility. Personally, my use case revolves around generating screenshots of components for various purposes within my application.
I kindly request that you consider implementing these enhancements in a future update of the Paparazzi library. I believe this would not only benefit me but also many other developers who could benefit from its extended functionality.
Thank you for your attention to this matter, and I look forward to your response.
Best regards,
The text was updated successfully, but these errors were encountered: