Commit Graph

5 Commits

Author SHA1 Message Date
Bhavin K
df1ee35992
fix: Added iFrame to load Base64 PDF data in document viewer widget (#10770) 2022-02-01 13:37:52 +05:30
Ashok Kumar M
6bc1bdd5e1
fix: Fixing GRID_DENSITY_MIGRATION_V1 based configs and adding test cases. (#10488) 2022-01-21 15:49:10 +05:30
Bhavin K
f7e2e079a9
fix: 8336 updated isLoading property in all widgets (#9409) 2021-12-14 07:55:58 +00:00
imgbot[bot]
81ccdbaede
chore: [ImgBot] Optimize images (#9544)
*Total -- 1,062.82kb -> 832.92kb (21.63%)

/contributions/assets/widgetConfig.png -- 422.37kb -> 324.12kb (23.26%)
/contributions/assets/propertyConfig.png -- 449.61kb -> 350.59kb (22.02%)
/contributions/assets/widgetFolder.png -- 180.78kb -> 148.29kb (17.97%)
/app/client/src/assets/icons/comments/pin_3.svg -- 0.41kb -> 0.39kb (5.21%)
/app/client/src/assets/icons/comments/unpin.svg -- 0.53kb -> 0.51kb (4.02%)
/app/client/src/assets/icons/form/trash.svg -- 2.81kb -> 2.76kb (1.88%)
/app/client/src/assets/icons/control/copy.svg -- 0.88kb -> 0.87kb (1.55%)
/app/client/src/assets/icons/header/hamburger.svg -- 0.22kb -> 0.21kb (1.35%)
/app/client/src/assets/icons/ads/double-arrow-right.svg -- 1.07kb -> 1.06kb (1.28%)
/app/client/src/assets/icons/widget/text.svg -- 0.26kb -> 0.26kb (1.13%)
/app/client/src/widgets/DocumentViewerWidget/icon.svg -- 0.96kb -> 0.96kb (0.61%)
/app/client/src/assets/icons/ads/double-arrow-left.svg -- 1.05kb -> 1.04kb (0.28%)
/app/client/src/assets/icons/comments/eye.svg -- 1.39kb -> 1.38kb (0.21%)
/app/client/src/assets/icons/control/help.svg -- 0.48kb -> 0.48kb (0.2%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-12-03 12:47:23 +05:30
Bhavin K
6ea90e7c7b
feat: add document viewer widget (#7666)
* created new widget

* new lib for document viewer

* added cypress tests

* updated icon

* handling different url types with viewer

* add to ignore react-documents in jest transformIgnorePatterns

* added jest test, updated comments

* required changes

* updated cypress test

* updated icon svg

* doc viewer new renderers added

* comment as required

* updated test case

* added url / base64 validations

* updated url checking condition for space and updated test case

* cypress selector update

* updated url validations

* Merge branch 'release' into feature/new-document-viewer

* lazy load external lib
2021-11-29 15:37:49 +00:00