2147b9fcea
4 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0ed9fd6f30
|
feat: code scanner widget default camera (#26083)
## Description - support for default mobile camera for code scanner widget #### PR fixes following issue(s) Fixes #25766 #### Media #### Type of change - New feature (non-breaking change which adds functionality) #### How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. > Delete anything that is not relevant - [x] Manual - [x] Jest - [ ] Cypress > > #### Test Plan > Add Testsmith test cases links that relate to this PR > > #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed |
||
|
|
424d2f6965
|
chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
## Description
This PR upgrades Prettier to v2 + enforces TypeScript’s [`import
type`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export)
syntax where applicable. It’s submitted as a separate PR so we can merge
it easily.
As a part of this PR, we reformat the codebase heavily:
- add `import type` everywhere where it’s required, and
- re-format the code to account for Prettier 2’s breaking changes:
https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes
This PR is submitted against `release` to make sure all new code by team
members will adhere to new formatting standards, and we’ll have fewer
conflicts when merging `bundle-optimizations` into `release`. (I’ll
merge `release` back into `bundle-optimizations` once this PR is
merged.)
### Why is this needed?
This PR is needed because, for the Lodash optimization from
|
||
|
|
2ec1ccc6a5
|
feat: Code Scanner Enhancements (#17929)
* feat: Add Scanner Variant - Click to scan and always on to code scanenr * feat: Enhancements for code scanner's property pane - update help text, hide properties on always on * feat: Add Image Mirror button to code scanner * feat: Update code scanner video fit to contain * feat: Add DSL migrations for Code Scanner * feat: Make always on the default scanner layout, rename scannerVarient to scannerLayout * feat: Stop scanning and detecting codes in background for code scanner widget * test: Add Cypress tests for different scanner layouts for code scanner * refactor: fix minor code callouts here and there * refactor: Restructure cypress test suite * feat: Increase code scanner delay to avoid unintended detections * refactor: combine two different conditions into one ternary * feat: Remove one cy test case Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> |
||
|
|
88637de7aa
|
feat: Code Scanner Widget (#15990)
* feat: Add QR Scanner Widget Folder * feat: Add QR Code Scanner in the Modal * feat: Add viewfinder and close button * QR generator * feat: Change deafult camera in QR Scanner to back camera * feat: remove qr generator widget from the registry * feat: update qr scanner icon * style: qr code scanner modal and video container, remove futile code * feat: add camera switch control panel to qr scanner * fix: update input devices list when the menu opens in qr scanner * fix: viewfinder in qr scanner responsive on mobile * feat: Add onCodeDetected event to the QR Scanner widget * feat: Add QR Scanner to autocomplete's entity definitions * feat: Add tooltip to QR Scanner * fix: isDisabled for QR Scanner * feat: Add icon and related properties to QR Scanner * feat: Add QR Scanner search tags, remove futile styles * feat: Add QR Scanner to themes, regex for button color * test: Add one cy test for qr scanner * revert: Remove qr scanner from system themes, will be merged in a seperate PR * fix: typo 'disable' to 'disabled' in qr scanner widget * test: add disabled and visibility cy tests for qr scanner * test: add open and close qr scanner modal test * feat: remove qr scanner image for tests * feat: add TODO item for solving performance issues for QR Generator widget * feat: shift from react-qr-reader to react-qr-barcode-scanner to enable barcode and QR scanning both * feat: Update QR Scanner Widget to Code Scanner Widget * test: update tests from qr scanner to code scanner widget * refactor: move code scanner's property pane config to individual files * fix: code scanner error message on permission denied * feat: remove Modal.setAppElement from code scanner * fix: hide code scanner scan animation overflow * feat: code scanner modal close on escape and overlay click * fix: code scanner video border radius on mobile * test: scan qr test for code scanner * feat: Add Modal.setAppElement for code scanner modal accessibility * fix: typo in search tags of code scanner * feat: update property pane content helper texts of code scanner * feat: hide code scanner widget from explorer * fix: code scanner events not working * feat: hide code scanner widget from explorer * feat: Show Code Scanner widget in Explorer * fix: remove code scanner scan cypress test * feat: Add barcode reader to search tags and put Modal.setAppElement inside a block in code scanner Co-authored-by: balajisoundar <balaji@appsmith.com> Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> |