Closed takahirom closed 1 day ago
@takahirom happy to pick this up. Few clarifications if you get the chance 🙏🏿
I think we can filter the tasks by recordRoborazzi, compareRoborazzi, and verifyRoborazzi, and show a drop-down menu to allow the user to select and run the task.
I was wondering what you meant by filtering recordRoborazzi
, compareRoborazzi
, and verifyRoborazzi
You mean we dynamically get all the tasks associated with roborazzi then filter out for these three tasks to be ran by the drop-down selection?
Also in terms of UI this is what I envision:
wdyt?
Ah, I see you already have a dropdown menu! We'll have at least recordRoborazziDebug and recordRoborazziRelease, and possibly options like recordRoborazziProductionDebug. I'd like to include these as options in the dropdown menu. Ideally, it would be great to have a task dropdown menu specifically for the user's Gradle module. The menu content could be something like 'listOf(recordRoborazziDevelopDebug, recordRoborazziProductionDebug, recordRoborazziProductionRelease,..., compareRoborazziDevelopDebug, ..., verifyRoborazziDevelopDebug,...)'. However, starting with a minimum viable product is also a good approach.
Yes, I have something rough done :-)
Okay I understood. You want to be able to run all the variants of the roborazzi tasks
I think it would be great to have a button to generate and refresh images in the plugin.
We can get Gradle module information and tasks.
And it seems that we can run the task using the plugin: https://intellij-support.jetbrains.com/hc/en-us/community/posts/4414033579922-Run-Gradle-task-from-plugin-action
I think we can filter the tasks by recordRoborazzi, compareRoborazzi, and verifyRoborazzi, and show a drop-down menu to allow the user to select and run the task.