akash-codemonk
958a38bd63
fix: video widget not visible in widget pane when explorer is pinned ( #17318 )
2022-10-29 11:31:25 +05:30
Arsalan Yaldram
944ad01686
feat: slider widgets cypress test cases ( #17467 )
...
* feat: cypress test cases for the slider widget.
* fix: review changes completed.
* fix: cypress use data-cy selector.
* fix: remove range calculation from range slider stpSize validation.
* fix: added range validation back for stepSize.
2022-10-21 15:55:41 +05:30
Rimil Dey
42b913cef8
feat: Add postMessage as a global function ( #14925 )
...
## Description
**Revert Context -**
Reverts appsmithorg/appsmith#14890 (We had to revert the PR as we got some suggestions on improving the feature - now reverting the revert so we can have this feature out with improvements)
**PR Context -**
This pull request exposes window.postMessage() as a global function in the Appsmith platform.
Post message safely enables cross-origin communication between window objects.
Example use-case - Appsmith page embedded within an iframe which communicates with the container website
Diagram for all the different levels of communication -

**More on post message here** - https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
**References used for this PR:**
1. Geolocation APIs - https://github.com/appsmithorg/appsmith/pull/9295
2. setInterval and clearInterval support - https://github.com/appsmithorg/appsmith/pull/8158
**Fixes** https://github.com/appsmithorg/appsmith/issues/7241
## Type of change
- New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Test plan
- **Manual**: Created an app with different buttons holding different types of data and embedded it in a code sandbox within an iframe. Also removed the target origin which throws an error (App link - https://dev.appsmith.com/app/post-msg-app/page1-624c1af4d8e632741017682e , Codesandbox link - https://codesandbox.io/s/compassionate-tdd-6dnzzd?file=/src/index.js )
- Added Jest tests
- https://github.com/appsmithorg/TestSmith/issues/1892
- https://github.com/appsmithorg/TestSmith/issues/2068
- https://github.com/appsmithorg/TestSmith/issues/2069
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] 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
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-10-20 12:39:42 +05:30
Rishabh Rathod
9a1fa98416
fix: Autocomplete now works with multiple bindings ( #16314 )
...
Fixes #16288
Fixes #16158
Fixes #16188
Fixes #15859
2022-09-19 11:02:06 +05:30
Aswath K
db08b16d4e
feat: Grouping & reorganisation of Property Pane ( #15768 )
...
* Removes feature flag from Client code
* Updates Cypress tests
2022-09-03 18:20:39 +05:30
Aishwarya-U-R
3b90baf1d8
test: Script updates for flaky fixes ( #16289 )
...
* Auto completre fix
* Toast fixes
* Autocomplete js fix
* datatree mutation spec update
* Datatree -added running api
* rmeoved unused ref
* Deletion time added
* Community issues spec fix
* AssertImportToast() update
* QueryAbort case fix
* Signature fix
* update
* UUID flaky fix
* Pomises spec + toasts updates
* Toasts updates
* ErrorReporting spec fix
* Scrolling mockdb fix
* Bug tests name change for easy identification
* bug spec file name update
* JSfunc fix
* Community issues table load time increase
* AssertContains() reduced wiat time
* AssertContains() update
* timeout added to mysql crud
* AssertContains revert
* AllInputWidget trial fix
* wait until table load ReadTableRowColumnData()
* fix
* testTimeout added
* ReadTableRowColumnData() revert
* path fix
* WaitUntilTableLoad() revert
* COmmunity issues row select fix
* Faker added
* wait time add for multiselect
* Mulipart fix
* Community issues spec fix
* AllInput spec update
* timeout 1 to 3
* update
* update
* EnterJSContext from JSEditor to PropPane ts
* update
* Removed unwanted comments
* fix
* UUID fix
2022-08-27 18:10:11 +05:30
Rishabh Rathod
83d30b8d05
fix: autocomplete fixes & enhancement ( #15857 )
2022-08-22 11:17:24 +05:30
Rishabh Rathod
e255593e28
fix: Improve Autocomplete for local vars, JSObject & ButtonGroup Widget
...
Add Autocomplete support for
- local variables
- JSObjects
- ButtonGroupWidget
Remove Autocomplete suggestion for
- `eval`
- undefined global values like `tabs`
2022-08-11 15:29:38 +05:30
Rishabh Rathod
78379d4718
fix: update def on widget property name update ( #15490 )
2022-08-10 10:50:08 +05:30
NandanAnantharamu
e528286b9d
test: test for default meta feature ( #14872 )
2022-08-03 17:48:41 +02:00
NandanAnantharamu
2b1823217e
test: Added test for a bug ( #14904 )
...
* Added test for a bug
* Added the widget details
2022-07-10 18:20:22 +00:00
Rishabh Rathod
5625784829
fix: reset meta to default value ( #14468 )
...
* fix: [WIP] reset meta to default value
* refactor
* fix reset child widget and type in metaReducer
* Fix type and refactor test
* fix multiselect click
* Add jest test for reset widget action
* Add cypress test
* Add comments
* Add more cases as per comment
* remove `only` from test case
* Add default value case of array with values
* MultiSelect spec fix
* fix currencyInput reset
* refactor test code suggested in comments
* fix type
* fix more type
* fix cypress test
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-06-25 11:00:54 +05:30