-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1373 from appsmithorg/release
- Loading branch information
Showing
134 changed files
with
6,432 additions
and
2,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["react", "@typescript-eslint", "prettier", "react-hooks"], | ||
extends: [ | ||
"plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended" | ||
"plugin:prettier/recommended", | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module", // Allows for the use of imports | ||
ecmaFeatures: { | ||
jsx: true // Allows for the parsing of JSX | ||
} | ||
jsx: true, // Allows for the parsing of JSX | ||
}, | ||
}, | ||
rules: { | ||
"@typescript-eslint/explicit-function-return-type": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"react-hooks/rules-of-hooks": "error", | ||
"@typescript-eslint/no-use-before-define": 0, | ||
"@typescript-eslint/no-var-requires": 0, | ||
"import/no-webpack-loader-syntax": 0 | ||
}, | ||
settings: { | ||
react: { | ||
pragma: "React", | ||
version: "detect" // Tells eslint-plugin-react to automatically detect the version of React to use | ||
} | ||
} | ||
version: "detect", // Tells eslint-plugin-react to automatically detect the version of React to use | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"dsl": { | ||
"widgetName": "MainContainer", | ||
"backgroundColor": "none", | ||
"rightColumn": 1224, | ||
"snapColumns": 16, | ||
"detachFromLayout": true, | ||
"widgetId": "0", | ||
"topRow": 0, | ||
"bottomRow": 1280, | ||
"containerStyle": "none", | ||
"snapRows": 33, | ||
"parentRowSpace": 1, | ||
"type": "CANVAS_WIDGET", | ||
"canExtend": true, | ||
"dynamicBindings": {}, | ||
"version": 6, | ||
"minHeight": 1292, | ||
"parentColumnSpace": 1, | ||
"leftColumn": 0, | ||
"children": [ | ||
{ | ||
"isVisible": true, | ||
"text": "Label", | ||
"textStyle": "LABEL", | ||
"textAlign": "LEFT", | ||
"widgetName": "Text1", | ||
"type": "TEXT_WIDGET", | ||
"isLoading": false, | ||
"parentColumnSpace": 74, | ||
"parentRowSpace": 40, | ||
"leftColumn": 3, | ||
"rightColumn": 7, | ||
"topRow": 4, | ||
"bottomRow": 5, | ||
"parentId": "0", | ||
"widgetId": "pcznwg0g8k" | ||
}, | ||
{ | ||
"isVisible": true, | ||
"text": "{{Text1.text}}", | ||
"textStyle": "LABEL", | ||
"textAlign": "LEFT", | ||
"widgetName": "Text2", | ||
"type": "TEXT_WIDGET", | ||
"isLoading": false, | ||
"parentColumnSpace": 74, | ||
"parentRowSpace": 40, | ||
"leftColumn": 3, | ||
"rightColumn": 7, | ||
"topRow": 6, | ||
"bottomRow": 7, | ||
"parentId": "0", | ||
"widgetId": "tgnz7xg7a3", | ||
"dynamicBindings": { | ||
"text": true | ||
} | ||
} | ||
] | ||
}, | ||
"layoutOnLoadActions": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
app/client/cypress/integration/Smoke_TestSuite/Binding/Entity_delete_spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const dsl = require("../../../fixtures/SimpleBinding.json"); | ||
const widgetsPage = require("../../../locators/Widgets.json"); | ||
|
||
describe("Binding the multiple widgets and validating default data", function() { | ||
before(() => { | ||
cy.addDsl(dsl); | ||
}); | ||
|
||
it("Checks if delete will remove bindings", function() { | ||
cy.get(widgetsPage.textWidget) | ||
.first() | ||
.click({ force: true }); | ||
cy.get("body").type("{del}", { force: true }); | ||
|
||
cy.get(widgetsPage.textWidget) | ||
.first() | ||
.should("not.have.text", "Label"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.