texera icon indicating copy to clipboard operation
texera copied to clipboard

Enable taking snapshot of the workflow editor

Open Zhen-Guan opened this issue 3 years ago • 3 comments

This PR enables the feature that could take a snapshot of the workflow editor and present the snapshots on the user dashboard. Taking the snapshot will be triggered in the following three cases:

  1. Any changes made to the editor. It might take a few seconds to successfully take a snapshot. But I think once this issue https://github.com/Texera/texera/issues/1364 is solved, the efficiency will be improved. (Currently, two requests would be sent for each update.) snapshot

  2. Workflow Name is changed (when the change is made by the top left corner input box) 屏幕快照 2021-11-11 下午9 43 47

  3. The save button is clicked.

The snapshot will cut the left and right widths by twenty percent and cut the top and bottom heights by fifteen percent. The red square area is the approximate snapshot area.

屏幕快照 2021-11-11 下午10 00 39

Zhen-Guan avatar Nov 11 '21 14:11 Zhen-Guan

Group discussion 1/11: @Yicong-Huang will merge this PR soon

Xiao-zhen-Liu avatar Jan 11 '22 21:01 Xiao-zhen-Liu

Discussion 2022.05.12: @Yicong-Huang will merge it.

Xiao-zhen-Liu avatar May 12 '22 19:05 Xiao-zhen-Liu

@Yicong-Huang the team is wondering when will this PR be merged?

sadeemsaleh avatar Jul 13 '22 22:07 sadeemsaleh

closed for now as the functionality is very time-consuming (see PR #1634 and #1695). Will look for alternatives in the future.

Yicong-Huang avatar Nov 15 '22 19:11 Yicong-Huang