PromucFlow_constructor/app/client/cypress/fixtures/CameraDsl.json
Paul Li 12dad5737d
fix: Issues and Enhancements in the camera widget (#10943)
* fix: Issues and Enhancements in the camera widget

-- Fix on an image stretching issue when taking a picture
-- Set background to black
-- Add onImageSave, onVideoSave Actions
-- Rename Camera to Image

* fix: Issues and Enhancements in the camera widget

-- List all device info only when one or more MediaStreams are active

* fix: Issues and Enhancements in the camera widget

-- Always keep camera aspect ratio when resizing

* fix: Issues and Enhancements in the camera widget

-- Add a Cypress test case for onSaveImage property

* Increased wait!

* Camera case failure locator fix

* Camera case locator fix

* Promises restWidget moved to last!

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-02-17 20:10:32 +08:00

48 lines
1.1 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 909,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 410,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 52,
"minHeight": 330,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"isMirrored": true,
"widgetName": "Camera1",
"rightColumn": 33,
"isCanvas": false,
"displayName": "Camera",
"iconSVG": "/static/media/icon.79c0d6de.svg",
"widgetId": "o2pghlbenu",
"topRow": 6,
"bottomRow": 39,
"parentRowSpace": 10,
"isVisible": true,
"type": "CAMERA_WIDGET",
"version": 1,
"hideCard": false,
"parentId": "0",
"mode": "CAMERA",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 14.015625,
"leftColumn": 8,
"isDisabled": false,
"key": "y9paqfcyee"
}
]
}
}