b23ba1db8f
52 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
15ace470a5
|
chore: [ImgBot] Optimize images (#10019)
*Total -- 226.72kb -> 167.93kb (25.93%) /app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png -- 20.32kb -> 13.87kb (31.78%) /app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/apppage.snap.png -- 57.58kb -> 41.70kb (27.59%) /app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/quickPageWizard.snap.png -- 59.08kb -> 42.85kb (27.47%) /app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png -- 35.57kb -> 26.33kb (25.96%) /app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/emptyAppBuilder.snap.png -- 44.30kb -> 33.38kb (24.67%) /app/client/src/assets/icons/widget/camera.svg -- 0.28kb -> 0.27kb (1.41%) /app/client/src/widgets/CameraWidget/icon.svg -- 0.31kb -> 0.30kb (1.27%) /app/client/src/assets/icons/widget/camera/exit-fullscreen.svg -- 0.51kb -> 0.50kb (1.15%) /app/client/src/assets/icons/widget/camera/fullscreen.svg -- 0.36kb -> 0.36kb (1.08%) /app/client/src/assets/icons/widget/camera/camera-muted.svg -- 0.69kb -> 0.69kb (0.84%) /app/client/src/widgets/SwitchGroupWidget/icon.svg -- 1.60kb -> 1.59kb (0.61%) /app/client/src/assets/icons/widget/camera/camera.svg -- 0.69kb -> 0.69kb (0.56%) /app/client/src/assets/icons/widget/camera/microphone-muted.svg -- 1.63kb -> 1.63kb (0.42%) /app/client/src/assets/icons/form/help-outline.svg -- 0.89kb -> 0.89kb (0.33%) /app/client/src/assets/icons/widget/camera/microphone.svg -- 1.46kb -> 1.45kb (0.27%) /app/client/src/assets/icons/widget/camera/camera-offline.svg -- 1.44kb -> 1.44kb (0.2%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> |
||
|
|
6c8c7b2da8
|
feat: camera widget (#8069)
* feat: Camera Widget -- Scaffold the basic structure of the widget * feat: Camera Widget -- Prototype a feature, taking picture * feat: Camera Widget -- Add types for MediaRecorder -- Define media capture status and action types -- Prototype basic video recording, playing features * feat: Camera Widget -- Implement video player -- Add timer for recording and playing video -- Add permission and error handling logic -- Add device selectors * feat: Camera Widget -- Place control buttons above device inputs layer -- Make the widget fully responsive * feat: Camera Widget -- Change the color of caret-down icon to white -- Remove overlaying of web cam and video player -- Add some padding for device inputs * feat: Camera Widget -- Add black background to the container of the widget * feat: Camera Widget -- Change the widget icon * feat: Camera Widget -- Implement the mute feature of a mic or a camera * feat: Camera Widget -- Check media device permissions before getting started * feat: Camera Widget -- Add a fullscreen control * feat: Camera Widget -- Set error text color to white -- Change the layout of control panel * feat: Camera Widget -- Apply layout change for control panel according to app layout change * feat: Camera Widget -- Add a new derived property, videoURL * feat: Switch Group Widget -- Adopt theme changes * feat: Camera Widget -- Make background grey in case of both error and disabled status * feat: Camera Widget -- Update npm dependencies * feat: Camera Widget -- Fix on #8788, using muted property * feat: Camera Widget -- Show off the microphone setting icon only if the current mode is video -- Set isMirrored property to true by default * feat: Camera Widget -- Add photo viewer * feat: Camera Widget -- Add onImageCapture, onRecordingStart, onRecordingStop actions instead of onMediaCapture * feat: Camera Widget -- Expose meta properties for the widget * feat: Camera Widget -- Fix on responsiveness issue * feat: Camera Widget -- Add type definitions for MediaStream recording * feat: Camera Widget -- Hide isMirroed property for video mode * feat: Camera Widget -- Wrap all the controls with TooltipComponent * feat: Camera Widget -- Implement enter, exit full screen feature * feat: Camera Widget -- Add a widget icon for entity explorer * feat: Camera Widget -- Fix on the typo for the label of onRecordingStop property * feat: Camera Widget -- Enable/disable media tracks * feat: Camera Widget -- Set the video's height to 100% in fullscreen mode * feat: Camera Widget -- Add overlayers on Webcam * feat: Camera Widget -- Set position to relative on fullscreen wrapper div -- Set the photo viewer's height to 100% * feat: Camera Widget -- Add image, mediaCaptureStatus, timer meta properties to keep UI states when the widget is dragged * feat: Camera Widget -- Refactor code base, eliminating commented code blocks * feat: Camera Widget -- Revert all the changes needed for keeping status when the widget is dragged -- Set mirroed property to false for video mode |