-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement view snapshot button (#197)
This commit implements issue #186. I can't know if there is a snapshot for each but I can add a button to the summary that opens the snapshot for the file in the code editor. That's what this commit does. It adds the button to the UI and a mutation to send to the server to open the snapshot in the editor. And it implements issue #191. There was already a button for generating a snapshot, but it was only visible when there was a detected snapshot error. This caused us to have to run known failing tests before we could get the button to generate the snapshots. Now the button is there all the time, so if you know your snapshots are out of date, then you can generate them immediately and save time. Co-authored-by: Greg Veres <greg.veres@rogers.com>
- Loading branch information
Showing
4 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mutation OpenSnapInEditor($path: String!) { | ||
openSnapInEditor(path: $path) | ||
} |