| commit | 6cacaf05f17c5b9e6d1db0a7a0a1a888d20edb5a | [log] [tgz] |
|---|---|---|
| author | Rahul Dubey <rkdubey@google.com> | Wed Sep 10 19:27:46 2025 +0000 |
| committer | Rahul Dubey <rkdubey@google.com> | Tue Oct 07 23:10:15 2025 -0700 |
| tree | 605e04acb08eb4c4a708d4fcccdf7ec6f5e82114 | |
| parent | 740f96da10586aed593cfb1af8b5cbac5b509886 [diff] |
Implement dialog for updating ss test ref images This change introduces a user interface that streamlines the workflow for updating "golden" reference images after making intentional UI changes in screenshot tests. The new `UpdateReferenceImagesDialog` provides a two-pane layout where users can view and manage newly generated screenshots. The left pane displays a tree of all available previews, grouped by file and function. The right pane shows the rendered images for the selected previews. Users can select which images to accept using checkboxes. On confirmation, the new images are copied to the correct reference image directory (e.g., `src/screenshotTestDebug/reference/`). The dialog is also context-aware; triggering the action from a specific function or class pre-selects the relevant previews in the tree. Bug: 439995792 Test: Existing. Tested in local env Change-Id: I98d6773aaaf3e0d450e43a1cb7648f6bce2e6359
This is the source code of the Android plugin for IntelliJ platform, which is also the main part of Android Studio.
See the links below for implementation details and make sure to read IntelliJ Platform SDK docs first.