PromucFlow_constructor/app/client/cypress/support/commands.js

3622 lines
105 KiB
JavaScript
Raw Normal View History

2020-06-19 14:32:56 +00:00
/// <reference types="Cypress" />
/* eslint-disable cypress/no-unnecessary-waiting */
/* eslint-disable cypress/no-assigning-return-values */
2020-06-19 14:32:56 +00:00
require("cy-verify-downloads").addCustomCommand();
require("cypress-file-upload");
const dayjs = require("dayjs");
const {
addMatchImageSnapshotCommand,
} = require("cypress-image-snapshot/command");
const loginPage = require("../locators/LoginPage.json");
const signupPage = require("../locators/SignupPage.json");
const homePage = require("../locators/HomePage.json");
2020-04-02 04:47:48 +00:00
const pages = require("../locators/Pages.json");
2020-05-08 05:40:14 +00:00
const datasourceEditor = require("../locators/DatasourcesEditor.json");
const datasourceFormData = require("../fixtures/datasources.json");
2020-04-08 13:38:19 +00:00
const commonlocators = require("../locators/commonlocators.json");
const queryEditor = require("../locators/QueryEditor.json");
2020-04-08 13:38:19 +00:00
const modalWidgetPage = require("../locators/ModalWidget.json");
2020-05-01 07:48:33 +00:00
const widgetsPage = require("../locators/Widgets.json");
const LayoutPage = require("../locators/Layout.json");
2020-05-08 09:01:11 +00:00
const formWidgetsPage = require("../locators/FormWidgets.json");
const ApiEditor = require("../locators/ApiEditor.json");
const apiwidget = require("../locators/apiWidgetslocator.json");
2020-06-04 13:49:22 +00:00
const dynamicInputLocators = require("../locators/DynamicInput.json");
const explorer = require("../locators/explorerlocators.json");
const datasource = require("../locators/DatasourcesEditor.json");
const viewWidgetsPage = require("../locators/ViewWidgets.json");
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
const generatePage = require("../locators/GeneratePage.json");
const jsEditorLocators = require("../locators/JSEditor.json");
const queryLocators = require("../locators/QueryEditor.json");
const welcomePage = require("../locators/welcomePage.json");
const publishWidgetspage = require("../locators/publishWidgetspage.json");
let pageidcopy = " ";
const chainStart = Symbol();
2020-03-10 09:38:12 +00:00
2021-07-02 06:04:36 +00:00
export const initLocalstorage = () => {
cy.window().then((window) => {
window.localStorage.setItem("ShowCommentsButtonToolTip", "");
});
};
Cypress.Commands.add("createOrg", () => {
cy.get(homePage.createOrg)
.should("be.visible")
.first()
.click({ force: true });
});
Cypress.Commands.add("renameOrg", (orgName, newOrgName) => {
cy.contains(orgName)
.closest(homePage.orgCompleteSection)
.find(homePage.orgNamePopover)
.find(homePage.optionsIcon)
.click({ force: true });
cy.get(homePage.renameOrgInput)
.should("be.visible")
2021-12-21 08:08:10 +00:00
.type(newOrgName.concat("{enter}"));
cy.wait(3000);
//cy.get(commonlocators.homeIcon).click({ force: true });
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.wait("@updateOrganization").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.contains(newOrgName);
});
Cypress.Commands.add("goToEditFromPublish", () => {
cy.url().then((url) => {
const urlObject = new URL(url);
if (!urlObject.pathname.includes("edit")) {
urlObject.pathname = urlObject.pathname + "/edit";
cy.visit(urlObject.toString());
}
});
});
Cypress.Commands.add(
"dragTo",
{ prevSubject: "element" },
(subject, targetEl) => {
cy.wrap(subject).trigger("dragstart");
cy.get(targetEl).trigger("drop");
},
);
Cypress.Commands.add("downloadData", (filetype) => {
cy.get(publishWidgetspage.downloadBtn).click({ force: true });
cy.get(publishWidgetspage.downloadOption)
.contains(filetype)
.click({ force: true });
});
Cypress.Commands.add("validateDownload", (fileName) => {
const downloadedFilename = Cypress.config("downloadsFolder")
.concat("/")
.concat(fileName);
cy.readFile(downloadedFilename, "binary", {
timeout: 15000,
}).should((buffer) => expect(buffer.length).to.be.gt(100));
});
Cypress.Commands.add(
"AddFilterWithOperator",
(operator, option, condition, value) => {
cy.get(publishWidgetspage.addFilter).click();
cy.get(publishWidgetspage.operatorsDropdown).click({ force: true });
cy.get(publishWidgetspage.attributeValue)
.contains(operator)
.click({ force: true });
cy.get(publishWidgetspage.attributesDropdown)
.last()
.click({ force: true });
cy.get(publishWidgetspage.attributeValue)
.contains(option)
.click({ force: true });
cy.get(publishWidgetspage.conditionDropdown)
.last()
.click({ force: true });
cy.get(publishWidgetspage.attributeValue)
.contains(condition)
.click({ force: true });
cy.get(publishWidgetspage.inputValue)
.last()
.type(value);
},
);
Cypress.Commands.add("navigateToOrgSettings", (orgName) => {
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(homePage.orgList.concat(orgName).concat(")"))
.closest(homePage.orgCompleteSection)
.find(homePage.orgNamePopover)
.find(homePage.optionsIcon)
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
.click({ force: true });
cy.xpath(homePage.MemberSettings).click({ force: true });
cy.wait("@getMembers").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.get(homePage.inviteUserMembersPage).should("be.visible");
});
Cypress.Commands.add("openOrgOptionsPopup", (orgName) => {
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(homePage.orgList.concat(orgName).concat(")"))
.closest(homePage.orgCompleteSection)
.find(homePage.orgNamePopover)
.find(homePage.optionsIcon)
.click({ force: true });
});
Cypress.Commands.add("inviteUserForOrg", (orgName, email, role) => {
cy.stubPostHeaderReq();
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(homePage.orgList.concat(orgName).concat(homePage.shareOrg))
.first()
.should("be.visible")
.click({ force: true });
cy.xpath(homePage.email)
.click({ force: true })
.type(email);
cy.xpath(homePage.selectRole).click({ force: true });
cy.wait(500);
cy.xpath(role).click({ force: true });
cy.xpath(homePage.inviteBtn).click({ force: true });
cy.wait("@mockPostInvite")
.its("request.headers")
.should("have.property", "origin", "Cypress");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.contains(email, { matchCase: false });
});
Cypress.Commands.add("CheckShareIcon", (orgName, count) => {
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(
homePage.orgList.concat(orgName).concat(") .org-share-user-icons"),
).should("have.length", count);
});
Cypress.Commands.add("stubPostHeaderReq", () => {
cy.intercept("POST", "/api/v1/users/invite", (req) => {
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
req.headers["origin"] = "Cypress";
}).as("mockPostInvite");
});
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
Cypress.Commands.add("shareApp", (email, role) => {
cy.stubPostHeaderReq();
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.xpath(homePage.email)
.click({ force: true })
.type(email);
cy.xpath(homePage.selectRole).click({ force: true });
cy.xpath(role).click({ force: true });
cy.xpath(homePage.inviteBtn).click({ force: true });
cy.wait("@mockPostInvite")
.its("request.headers")
.should("have.property", "origin", "Cypress");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.contains(email, { matchCase: false });
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(homePage.closeBtn).click();
});
Cypress.Commands.add("shareAndPublic", (email, role) => {
cy.stubPostHeaderReq();
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.xpath(homePage.email)
.click({ force: true })
.type(email);
cy.xpath(homePage.selectRole).click({ force: true });
cy.xpath(role).click({ force: true });
cy.xpath(homePage.inviteBtn).click({ force: true });
cy.wait("@mockPostInvite")
.its("request.headers")
.should("have.property", "origin", "Cypress");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.contains(email, { matchCase: false });
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.enablePublicAccess();
});
Cypress.Commands.add("enablePublicAccess", () => {
cy.get(homePage.enablePublicAccess).click();
cy.wait("@changeAccess").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.get(homePage.closeBtn).click();
});
Cypress.Commands.add("deleteUserFromOrg", (orgName, email) => {
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(homePage.orgList.concat(orgName).concat(")"))
.closest(homePage.orgCompleteSection)
.find(homePage.orgNamePopover)
.find(homePage.optionsIcon)
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
.click({ force: true });
cy.xpath(homePage.MemberSettings).click({ force: true });
cy.wait("@getRoles").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
2021-06-02 15:53:30 +00:00
cy.get(homePage.DeleteBtn)
.last()
.click({ force: true });
cy.get(homePage.leaveOrgConfirmModal).should("be.visible");
cy.get(homePage.leaveOrgConfirmButton).click({ force: true });
cy.xpath(homePage.appHome)
.first()
.should("be.visible")
.click();
cy.wait("@applications").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("updateUserRoleForOrg", (orgName, email, role) => {
cy.stubPostHeaderReq();
cy.get(homePage.orgList.concat(orgName).concat(")"))
.scrollIntoView()
.should("be.visible");
cy.get(homePage.orgList.concat(orgName).concat(")"))
.closest(homePage.orgCompleteSection)
.find(homePage.orgNamePopover)
.find(homePage.optionsIcon)
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
.click({ force: true });
cy.xpath(homePage.MemberSettings).click({ force: true });
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.wait("@getMembers").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.get(homePage.inviteUserMembersPage).click({ force: true });
cy.xpath(homePage.email)
.click({ force: true })
.type(email);
cy.xpath(homePage.selectRole).click({ force: true });
cy.xpath(role).click({ force: true });
cy.xpath(homePage.inviteBtn).click({ force: true });
cy.wait("@mockPostInvite")
.its("request.headers")
.should("have.property", "origin", "Cypress");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.contains(email, { matchCase: false });
cy.get(".bp3-icon-small-cross").click({ force: true });
cy.xpath(homePage.appHome)
.first()
.should("be.visible")
.click();
cy.wait("@applications").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("launchApp", (appName) => {
cy.get(homePage.appView)
.should("be.visible")
.first()
.click();
cy.get("#loading").should("not.exist");
[API breaking change : Automated Tests Will Fail] Page And Action Refactor (#549) * Introduced new page which stores the published and unpublished pages as separate. * Mid level commit to save the state. * Parity of new page repository with old page repository (custom functions) * WIP : Delete a page. This requires changes across application structure as well. * Added publishedPages construct inside application to store the pages in the deployed view as well as isDefault so that the same changes (delete or isDefault) in unpublished view doesn't alter these fields for the published application * Parity reached with PageService. * Minor ActionService refactor to remove unnecessary code. ApplicationPageService, LayoutActionService, LayoutService use the new page service to fetch the pages Minor corrections in fetching the page from new page service in tests * New save function which sets the PageDTO for unpublished page and then saves the new page into repository. * Migration of page service functions to new page service functions across other services/tests/controller * Finished migrating all the page service functions to the new page service functions * Application Service Tests have been fixed. * All the existing test cases are working now. * Publish application implemented to store published pages as well. Added a basic test case to check that published pages is being set and that page's publishedPageDTO is being set accordingly. * Minor TODOs added to add test cases for published application. * A few tests to ascertain that published application page fields (deleted, isDefault) does not get changed when these statuses are changed for a page in edit mode. * Added a new controller end point to fetch application in view mode. * Added new endpoint for fetching an application in view mode on the client. * Bug fix where get application in view mode API was not getting called. * Fixed the get page names by application & archive pages which have been deleted in edit mode during publishing of application. * During delete page, if a page was never published and it was deleted during edit, delete the entire page instead of just deleting the unpublished PageDTO * Minor formatting. * Non working client side code to fetch page list using view mode. * revert unnecassary changes and streamlined view and edit actions * Fix missed import * Fixed a bug where if a page is not published, it should not be returned in view mode in list of page names api. * Fixed update for a page which was not working in integration test. * ActionDTO added. * Solidified the new action structure. * Migration added for NewAction index creation and NewAction per Action insertion in the database. * Basic file structure added the new repository, custom repository, service, etc. * Delete OldPage.java * Repo functions added - TODO : Haven;t handled the published/edited views * Helper functions added to convert Action to NewAction and vice-versa. Removed unused currentUserMono usage. * Create & update action functionality added. * Execute Action refactored. Removed dry run specific code. * Repository migrated to handle new data structure. Execute action refactored to no longer support dry runs of actions. * TODO added for special handling of change view of application to handle edge cases of pages/actions which either exist in published mode but don't exist in unpublished mode or vice versa. * Migrated finding on load actions from spring repository to custom repository. * In view mode, now actions are being fetched by application id directly instead of first fetching application and then using the page ids, fetching the actions. This reduces the db calls from 2 to 1 per fetch actions in view mode api call. * Delete action and get all actions (used in edit mode on the client side) implemented. * Updated CollectionService and ActionCollectionService to use the new action service instead of the old one. * LayoutActionService refactored to now use the new service functions. * ActionController now no longer used ActionService. The remaining service functions have been migrated to the new action service. * Refactor across ACL code for addition/removal of policies during addition/removal of users to organization, making app public, refactor for services like policy utils, item service, etc. * Removed the last of action repository and action service and replaced with new action repo and new action service. * Compile and run time issues fixed. The server is coming up without any spring dependency errors. * WIP in fixing fetching actions by page id. * Finally!!! Fixed the fetch actions (both published and unpublished actions) by page id repository function. * Fixed create action bug where null datasource in published actiondto (inside newly created action) leads to error. * Fixed the execute action issues : 1. Removed the dry runs from the tests 2. Fixed the null pointer error in variable substituted action and datasource configurations. * 1. Fixed the custom action repository field names. 2. Fixed the data structures used in ExamplesOrganizationClonerTests * Fixed countByDatasourceId repository function which was querying the actions incorrectly. * Fixed the clone example organization error where the id of the action was not getting updated in the page correctly. Yay! * Fixed post merge compilation failure. * Fixed more compilation time failures in ActionServiceTest * Fixed failing test case for fetching actions in view mode. * Minor changes to resolve merge changes and incorporate in the new refactored code. * 1. Fixed compile time errors on Client code. 2. Fixed fetching of actions in view mode by application id. The repository function did not need name parameter. Removed the same. * [Integration Testing Error Fix] : Added a new test case for refactor action name. * Instead of fetching actions in the page, mistakenly used the base service which was fetching all the actions in the repository, barring none which led to the name refactor being blocked even though no action in the current page exists with the new proposed name, * Added delete functionality to action service. * Minor code cleanup * Adding viewMode to action execution * Replacing action with actionId. * 1. Bug fix for deletion of unpublished action. In case of never published action, the entire action should be deleted. In case an action was published, only the unpublished action should be deleted. 2. In case of DB actions (external datasources), only the bare minimum fields should be stored inside the action (datasource id and datasource plugin id). The other fields should not be duplicated across code. * Fixed yarn build compilation issues. * Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ActionController.java Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Changed the API path for GET applications in view mode. Some minor code formatting. * Incorporated review comments. * Some more unnecessary code removed. * Instead of returning Page, now the interface object between client and server for Pages is PageDTO * Migrated Page and Action to PageDTO and ActionDTO Fixed the compilation issues. TODO : Fix the test compilation issues. * Fixed compilation time issues with all the tests by migrating Page and Action to PageDTO and ActionDTO respectively * Action Controller and Page Controller no longer extend Base Controller. All the required functions have now been implemented and no base line API end points are being re-used from the base. * Test case fixes. * Bug Fix : Updating an action was not updating execute on load. Fixed the data flow leading to the error. * Deprecating Page and Action domain objects. This is to ensure no new code is written with these till we remove this old code. * Cloned example applications are now published before returning. This is to ensure that the applications are in ready to view mode when the new user signs up. * Added a function comment to expand on the usage of new param introduced. * When cloning a page, new actions were not being stored. Added that. Also updated the clonePage test to assert that the actions are also cloned when the pages are cloned. * Updated a Api call * removed extra slash Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Satbir Singh <satbir121@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: nandan.anantharamu <nandan@thinkify.io>
2020-10-26 12:34:23 +00:00
cy.wait("@getPagesForViewApp").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("AppSetupForRename", () => {
cy.get(homePage.applicationName).then(($appName) => {
if (!$appName.hasClass(homePage.editingAppName)) {
cy.get(homePage.applicationName).click();
cy.get(homePage.portalMenuItem)
.contains("Rename", { matchCase: false })
.click();
}
});
});
Cypress.Commands.add("CreateAppForOrg", (orgName, appname) => {
cy.get(homePage.orgList.concat(orgName).concat(homePage.createAppFrOrg))
.scrollIntoView()
.should("be.visible")
.click({ force: true });
cy.wait("@createNewApplication").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
cy.get("#loading").should("not.exist");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.AppSetupForRename();
cy.get(homePage.applicationName).type(appname + "{enter}");
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
cy.get(generatePage.buildFromScratchActionCard).click();
cy.wait("@updateApplication").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("CreateAppInFirstListedOrg", (appname) => {
cy.get(homePage.createNew)
.first()
.click({ force: true });
cy.wait("@createNewApplication").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
cy.get("#loading").should("not.exist");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
2020-12-30 07:31:20 +00:00
cy.AppSetupForRename();
cy.get(homePage.applicationName).type(appname + "{enter}");
cy.wait("@updateApplication").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
cy.get(generatePage.buildFromScratchActionCard).click();
/* The server created app always has an old dsl so the layout will migrate
* To avoid race conditions between that update layout and this one
* we wait for that to finish before updating layout here
*/
cy.wait("@updateLayout");
2020-05-05 09:08:31 +00:00
});
Cypress.Commands.add(
"addOauthAuthDetails",
(accessTokenUrl, clientId, clientSecret, authURL) => {
cy.get(datasource.authType).click();
cy.get(datasource.OAuth2).click();
cy.get(datasource.grantType).click();
cy.get(datasource.authorisecode).click();
cy.get(datasource.accessTokenUrl).type(accessTokenUrl);
cy.get(datasource.clienID).type(clientId);
cy.get(datasource.clientSecret).type(clientSecret);
cy.get(datasource.authorizationURL).type(authURL);
cy.xpath('//input[contains(@value,"api/v1/datasources/authorize")]')
.first()
.invoke("attr", "value")
.then((text) => {
const firstTxt = text;
cy.log("date time : ", firstTxt);
const expectedvalue = Cypress.config().baseUrl.concat(
"api/v1/datasources/authorize",
);
expect(firstTxt).to.equal(expectedvalue);
});
},
);
Cypress.Commands.add("addBasicProfileDetails", (username, password) => {
cy.get(datasource.authType).click();
cy.xpath(datasource.basic).click();
cy.get(datasource.basicUsername).type(username);
cy.get(datasource.basicPassword).type(password);
});
Cypress.Commands.add("firestoreDatasourceForm", () => {
cy.get(datasourceEditor.datasourceConfigUrl).type(
datasourceFormData["database-url"],
);
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor.projectID).type(datasourceFormData["projectID"]);
cy.get(datasourceEditor.serviceAccCredential)
.clear()
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
.type(datasourceFormData["serviceAccCredentials"]);
});
Cypress.Commands.add("amazonDatasourceForm", () => {
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor.projectID).type(datasourceFormData["access_key"]);
cy.get(datasourceEditor.serviceAccCredential)
.clear()
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
.type(datasourceFormData["secret_key"]);
});
Cypress.Commands.add("DeleteApp", (appName) => {
2020-05-20 11:04:39 +00:00
cy.get(commonlocators.homeIcon).click({ force: true });
cy.wait("@applications").should(
"have.nested.property",
"response.body.responseMeta.status",
2020-06-10 12:16:50 +00:00
200,
);
cy.wait("@organizations").should(
"have.nested.property",
"response.body.responseMeta.status",
2020-05-20 11:04:39 +00:00
200,
);
2020-05-21 09:45:48 +00:00
cy.get('button span[icon="chevron-down"]').should("be.visible");
cy.get(homePage.searchInput).type(appName, { force: true });
2020-08-18 06:40:11 +00:00
cy.get(homePage.applicationCard).trigger("mouseover");
2020-05-21 09:45:48 +00:00
cy.get(homePage.appMoreIcon)
.should("have.length", 1)
.first()
.click({ force: true });
cy.get(homePage.deleteAppConfirm)
.should("be.visible")
.click({ force: true });
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
cy.get(homePage.deleteApp)
2020-05-21 09:45:48 +00:00
.should("be.visible")
.click({ force: true });
2020-05-20 11:04:39 +00:00
});
Cypress.Commands.add("LogintoApp", (uname, pword) => {
cy.window()
.its("store")
.invoke("dispatch", { type: "LOGOUT_USER_INIT" });
cy.wait("@postLogout");
2020-05-05 12:16:51 +00:00
cy.visit("/user/login");
cy.get(loginPage.username).should("be.visible");
cy.get(loginPage.username).type(uname);
cy.get(loginPage.password).type(pword);
cy.get(loginPage.submitBtn).click();
2021-11-17 15:45:48 +00:00
cy.wait("@getUser");
cy.wait(3000);
cy.get(".t--applications-container .createnew").should("be.visible");
cy.get(".t--applications-container .createnew").should("be.enabled");
2021-07-02 06:04:36 +00:00
initLocalstorage();
});
Cypress.Commands.add("Signup", (uname, pword) => {
cy.window()
.its("store")
.invoke("dispatch", { type: "LOGOUT_USER_INIT" });
cy.wait("@postLogout");
cy.visit("/user/signup");
cy.get(signupPage.username).should("be.visible");
cy.get(signupPage.username).type(uname);
cy.get(signupPage.password).type(pword);
cy.get(signupPage.submitBtn).click();
cy.wait(1000);
cy.get(signupPage.roleDropdown).click();
cy.get(signupPage.dropdownOption).click();
cy.get(signupPage.useCaseDropdown).click();
cy.get(signupPage.dropdownOption).click();
cy.get(signupPage.roleUsecaseSubmit).click();
2021-11-17 15:45:48 +00:00
cy.wait("@getUser");
cy.wait(3000);
initLocalstorage();
});
Cypress.Commands.add("LoginFromAPI", (uname, pword) => {
cy.request({
method: "POST",
url: "api/v1/login",
headers: {
"content-type": "application/x-www-form-urlencoded",
},
followRedirect: false,
form: true,
body: {
username: uname,
password: pword,
},
}).then((response) => {
expect(response.status).equal(302);
cy.log(response.body);
});
});
Cypress.Commands.add("DeleteApp", (appName) => {
cy.get(commonlocators.homeIcon).click({ force: true });
cy.get(homePage.searchInput).type(appName);
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(homePage.applicationCard)
.first()
.trigger("mouseover");
cy.get(homePage.appMoreIcon)
.first()
.click({ force: true });
cy.get(homePage.deleteAppConfirm)
.should("be.visible")
.click({ force: true });
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
cy.get(homePage.deleteApp)
.contains("Are you sure?")
.click({ force: true });
});
Cypress.Commands.add("DeletepageFromSideBar", () => {
cy.xpath(pages.popover)
.last()
.click({ force: true });
cy.get(pages.deletePage)
.first()
.click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
});
2020-05-19 06:13:15 +00:00
Cypress.Commands.add("LogOut", () => {
cy.request("POST", "/api/v1/logout");
2020-05-19 06:13:15 +00:00
});
2020-04-02 04:47:48 +00:00
Cypress.Commands.add("NavigateToHome", () => {
cy.get(commonlocators.homeIcon).click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.wait(3000);
cy.wait("@applications");
cy.get(".t--applications-container .createnew").should("be.visible");
cy.get(".t--applications-container .createnew").should("be.enabled");
});
Cypress.Commands.add("NavigateToWidgets", (pageName) => {
2020-04-02 04:47:48 +00:00
cy.get(pages.pagesIcon).click({ force: true });
2020-05-01 07:48:33 +00:00
cy.get(".t--page-sidebar-" + pageName + "")
2020-04-08 13:38:19 +00:00
.find(">div")
.click({ force: true });
2020-04-02 04:47:48 +00:00
cy.get("#loading").should("not.exist");
cy.get(pages.widgetsEditor).click();
2020-04-17 08:17:25 +00:00
cy.wait("@getPage");
2020-04-02 04:47:48 +00:00
cy.get("#loading").should("not.exist");
});
Cypress.Commands.add("SearchApp", (appname) => {
2020-05-01 07:48:33 +00:00
cy.get(homePage.searchInput).type(appname);
// eslint-disable-next-line cypress/no-unnecessary-waiting
2020-05-01 07:48:33 +00:00
cy.wait(2000);
cy.get(homePage.applicationCard)
.first()
.trigger("mouseover", { force: true });
2020-05-01 07:48:33 +00:00
cy.get(homePage.appEditIcon)
.first()
.click({ force: true });
cy.get("#loading").should("not.exist");
2020-05-01 07:48:33 +00:00
// Wait added because after opening the application editor, sometimes it takes a little time.
2020-04-02 04:47:48 +00:00
});
Cypress.Commands.add("SearchEntity", (apiname1, apiname2) => {
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.type(apiname1, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(
commonlocators.entitySearchResult.concat(apiname1).concat("')"),
).should("be.visible");
cy.get(
commonlocators.entitySearchResult.concat(apiname2).concat("')"),
).should("not.exist");
});
Cypress.Commands.add("GlobalSearchEntity", (apiname1) => {
// entity explorer search will be hidden
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.type(apiname1, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(
commonlocators.entitySearchResult.concat(apiname1).concat("')"),
).should("be.visible");
});
Cypress.Commands.add("ResponseStatusCheck", (statusCode) => {
cy.xpath(apiwidget.responseStatus).should("be.visible");
cy.xpath(apiwidget.responseStatus).contains(statusCode);
});
Cypress.Commands.add("ResponseCheck", (textTocheck) => {
//Explicit assert
2020-06-19 14:32:56 +00:00
cy.get(apiwidget.responseText).should("be.visible");
});
Cypress.Commands.add("ResponseTextCheck", (textTocheck) => {
cy.ResponseCheck();
cy.get(apiwidget.responseText).contains(textTocheck);
});
Cypress.Commands.add("NavigateToAPI_Panel", () => {
cy.get(pages.addEntityAPI)
.last()
.should("be.visible")
.click({ force: true });
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(pages.integrationCreateNew)
.should("be.visible")
.click({ force: true });
cy.get("#loading").should("not.exist");
});
Cypress.Commands.add("NavigateToEntityExplorer", () => {
cy.get(explorer.entityExplorer)
.should("be.visible")
.click({ force: true });
cy.get("#loading").should("not.exist");
});
Cypress.Commands.add("CreateAPI", (apiname) => {
cy.get(apiwidget.createapi).click({ force: true });
2020-06-26 13:56:18 +00:00
cy.wait("@createNewApi");
cy.get(apiwidget.resourceUrl).should("be.visible");
cy.renameWithInPane(apiname);
cy.WaitAutoSave();
2020-06-16 10:23:19 +00:00
// Added because api name edit takes some time to
// reflect in api sidebar after the call passes.
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
});
Cypress.Commands.add("CreateSubsequentAPI", (apiname) => {
cy.get(apiwidget.createApiOnSideBar)
.first()
.click({ force: true });
cy.get(apiwidget.resourceUrl).should("be.visible");
2020-06-16 10:23:19 +00:00
// cy.get(ApiEditor.nameOfApi)
cy.get(apiwidget.apiTxt)
.clear()
.type(apiname)
.should("have.value", apiname);
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
});
Cypress.Commands.add("EditApiName", (apiname) => {
cy.get(apiwidget.ApiName).click({ force: true });
cy.get(apiwidget.apiTxt)
.clear()
.type(apiname, { force: true })
.should("have.value", apiname);
});
Cypress.Commands.add("EditApiNameFromExplorer", (apiname) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.editName).click({ force: true });
cy.get(explorer.editNameField)
.clear()
.type(apiname, { force: true })
.should("have.value", apiname)
.blur();
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(3000);
});
Cypress.Commands.add(
"EditEntityNameByDoubleClick",
(entityName, updatedName) => {
cy.get(explorer.entity)
.contains(entityName)
.dblclick({ force: true });
cy.log(updatedName);
cy.get(explorer.editEntityField)
.clear()
.type(updatedName + "{enter}", { force: true });
cy.wait("@saveDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
},
);
2020-06-10 17:42:51 +00:00
Cypress.Commands.add("WaitAutoSave", () => {
// wait for save query to trigger
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.wait("@saveAction");
2020-06-24 13:52:41 +00:00
//cy.wait("@postExecute");
});
Cypress.Commands.add("RunAPI", () => {
cy.get(ApiEditor.ApiRunBtn).click({ force: true });
cy.wait("@postExecute");
});
Cypress.Commands.add("SaveAndRunAPI", () => {
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
cy.RunAPI();
});
2021-04-23 13:50:55 +00:00
Cypress.Commands.add(
"validateRequest",
(apiName, baseurl, path, verb, error = false) => {
2021-04-23 13:50:55 +00:00
cy.get(".react-tabs__tab")
.contains("Logs")
.click();
cy.get("[data-cy=t--debugger-search]")
.clear()
.type(apiName);
2021-04-23 13:50:55 +00:00
if (!error) {
cy.get(".object-key")
.last()
.contains("request")
.click();
}
cy.get(".string-value").contains(baseurl.concat(path));
cy.get(".string-value").contains(verb);
2021-09-01 09:11:51 +00:00
cy.get("[data-cy=t--tab-body]")
.first()
2021-04-23 13:50:55 +00:00
.click({ force: true });
},
);
Cypress.Commands.add("SelectAction", (action) => {
cy.get(ApiEditor.ApiVerb)
.first()
.click({ force: true });
cy.xpath(action)
.should("be.visible")
.click({ force: true });
});
Cypress.Commands.add("ClearSearch", () => {
cy.get(commonlocators.entityExplorersearch).clear({ force: true });
});
Cypress.Commands.add(
"paste",
{
prevSubject: true,
element: true,
},
($element, text) => {
const subString = text.substr(0, text.length - 1);
const lastChar = text.slice(-1);
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.click({ force: true })
.then(() => {
$element.text(subString);
$element.val(subString);
cy.get($element).type(lastChar);
});
},
);
Cypress.Commands.add("SearchEntityandOpen", (apiname1) => {
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.type(apiname1, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(
commonlocators.entitySearchResult.concat(apiname1).concat("')"),
).should("be.visible");
cy.get(commonlocators.entitySearchResult.concat(apiname1).concat("')"))
.last()
.click({ force: true });
});
Cypress.Commands.add("SearchEntityAndUnfold", (apiname1) => {
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.type(apiname1, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(
commonlocators.entitySearchResult.concat(apiname1).concat("')"),
).should("be.visible");
cy.get(commonlocators.entitySearchResult.concat(apiname1).concat("')"))
.parents(commonlocators.entityItem)
.first()
.children(commonlocators.entityCollapseToggle)
.last()
.click({ force: true });
});
Cypress.Commands.add("SearchEntityandDblClick", (apiname1) => {
cy.get(commonlocators.entityExplorersearch)
.clear({ force: true })
.type(apiname1, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(
commonlocators.entitySearchResult.concat(apiname1).concat("')"),
).should("be.visible");
return cy
.get(commonlocators.entitySearchResult.concat(apiname1).concat("')"))
.dblclick()
.get("input")
.last();
});
Cypress.Commands.add("enterDatasourceAndPath", (datasource, path) => {
cy.enterDatasource(datasource + path);
});
Cypress.Commands.add("enterDatasource", (datasource) => {
cy.get(apiwidget.resourceUrl)
.first()
.click({ force: true })
.type(datasource, { parseSpecialCharSequences: false });
});
Cypress.Commands.add("changeZoomLevel", (zoomValue) => {
cy.get(commonlocators.changeZoomlevel)
.last()
.click();
cy.get(".t--dropdown-option")
.children()
.contains(zoomValue)
.click();
cy.wait("@updateLayout").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.get(commonlocators.selectedZoomlevel)
.last()
.invoke("text")
.then((text) => {
const someText = text;
expect(someText).to.equal(zoomValue);
});
});
Cypress.Commands.add("changeColumnType", (dataType) => {
cy.get(commonlocators.changeColType)
.last()
.click();
cy.get(".t--dropdown-option")
.children()
.contains(dataType)
.click();
cy.wait("@updateLayout").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
/*
cy.get(commonlocators.selectedColType)
.first()
.invoke("text")
.then((text) => {
const someText = text;
expect(someText).to.equal(dataType);
});
*/
});
Cypress.Commands.add(
"EnterSourceDetailsWithHeader",
(baseUrl, v1method, hKey, hValue) => {
cy.enterDatasourceAndPath(baseUrl, v1method);
cy.get(apiwidget.headerKey)
.first()
.click({ force: true })
.type(hKey, { parseSpecialCharSequences: true });
cy.get(apiwidget.headerValue)
.first()
.click({ force: true })
.type(hValue, { parseSpecialCharSequences: true });
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
},
);
Cypress.Commands.add("EditSourceDetail", (baseUrl, v1method) => {
cy.get(apiwidget.editResourceUrl)
.first()
.click({ force: true })
.clear()
.type(`{backspace}${baseUrl}`);
cy.xpath(apiwidget.autoSuggest)
.first()
.click({ force: true });
cy.get(ApiEditor.ApiRunBtn).scrollIntoView();
cy.get(apiwidget.editResourceUrl)
.first()
.focus()
.type(v1method)
.should("have.value", v1method);
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
});
Cypress.Commands.add("switchToPaginationTab", () => {
cy.get(apiwidget.paginationTab)
.first()
.click({ force: true });
});
Cypress.Commands.add("switchToAPIInputTab", () => {
cy.get(apiwidget.apiInputTab)
.first()
.click({ force: true });
});
Cypress.Commands.add("selectDateFormat", (value) => {
cy.get(".t--property-control-dateformat .bp3-popover-target")
.last()
.click({ force: true });
cy.get(".t--dropdown-option")
.children()
.contains(value)
.click();
});
Cypress.Commands.add("selectDropdownValue", (element, value) => {
cy.get(element)
.last()
.click();
cy.get(".t--dropdown-option")
.children()
.contains(value)
.click();
});
Cypress.Commands.add("assertDateFormat", () => {
cy.get(".t--draggable-datepickerwidget2 input")
.first()
.invoke("attr", "value")
.then((text) => {
const firstTxt = text;
cy.log("date time : ", firstTxt);
cy.get(commonlocators.labelTextStyle)
.first()
.should("contain", firstTxt);
cy.get(commonlocators.labelTextStyle)
.last()
.invoke("text")
.then((text) => {
const secondText = text;
cy.log("date time : ", secondText);
expect(firstTxt).not.to.equal(secondText);
});
});
});
Cypress.Commands.add("selectPaginationType", (option) => {
cy.xpath(option).click({ force: true });
});
Cypress.Commands.add("clickTest", (testbutton) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.wait("@saveAction");
cy.get(testbutton)
.first()
.click({ force: true });
cy.wait("@postExecute");
});
Cypress.Commands.add("enterUrl", (apiname, url, value) => {
cy.get(url)
.first()
.type("{{".concat(apiname).concat(value), {
force: true,
parseSpecialCharSequences: false,
});
});
Cypress.Commands.add(
"EnterSourceDetailsWithQueryParam",
(baseUrl, v1method, hKey, hValue, qKey, qValue) => {
cy.enterDatasourceAndPath(baseUrl, v1method);
cy.get(apiwidget.headerKey)
.first()
.click({ force: true })
.type(hKey, { parseSpecialCharSequences: true });
cy.get(apiwidget.headerValue)
.first()
.click({ force: true })
.type(hValue, { parseSpecialCharSequences: true });
cy.get(apiwidget.queryKey)
.first()
.click({ force: true })
.type(qKey, { force: true })
.should("have.value", qKey);
cy.get(apiwidget.queryValue)
.first()
.click({ force: true })
.type(qValue, { force: true })
.should("have.value", qValue);
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
},
);
Cypress.Commands.add(
"EnterSourceDetailsWithbody",
(baseUrl, v1method, hKey, hValue) => {
cy.enterDatasourceAndPath(baseUrl, v1method);
cy.get(apiwidget.addHeader)
.first()
.click({ first: true });
},
);
Cypress.Commands.add("CreationOfUniqueAPIcheck", (apiname) => {
cy.get(pages.addEntityAPI).click();
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(pages.integrationCreateNew)
.should("be.visible")
.click({ force: true });
cy.get(apiwidget.createapi).click({ force: true });
2020-06-16 10:23:19 +00:00
cy.wait("@createNewApi");
// cy.wait("@getUser");
cy.get(apiwidget.resourceUrl).should("be.visible");
cy.get(apiwidget.ApiName).click({ force: true });
cy.get(apiwidget.apiTxt)
.clear()
.focus()
.type(apiname, { force: true, delay: 500 })
.should("have.value", apiname);
cy.get(".t--action-name-edit-error").should(($x) => {
expect($x).contain(
apiname.concat(" is already being used or is a restricted keyword."),
);
});
cy.get(apiwidget.apiTxt).blur();
});
Cypress.Commands.add("MoveAPIToHome", (apiname) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.copyTo).click({ force: true });
cy.get(apiwidget.home).click({ force: true });
cy.wait("@createNewApi").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
Cypress.Commands.add("MoveAPIToPage", (pageName) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.moveTo).click({ force: true });
cy.get(apiwidget.page)
.contains(pageName)
.click();
cy.wait("@moveAction").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("copyEntityToPage", (pageName) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.copyTo).click({ force: true });
cy.get(apiwidget.page)
.contains(pageName)
.click();
cy.wait("@createNewApi").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
Cypress.Commands.add("CopyAPIToHome", () => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.copyTo).click({ force: true });
cy.get(apiwidget.home).click({ force: true });
cy.wait("@createNewApi").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
Cypress.Commands.add("RenameEntity", (value) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.renameEntity).click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(explorer.editEntity)
.last()
.type(value, { force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(3000);
});
Cypress.Commands.add("CreateApiAndValidateUniqueEntityName", (apiname) => {
cy.get(apiwidget.createapi).click({ force: true });
cy.wait("@createNewApi");
cy.get(apiwidget.resourceUrl).should("be.visible");
cy.get(apiwidget.ApiName).click({ force: true });
cy.get(apiwidget.apiTxt)
.clear()
.type(apiname, { force: true })
.should("have.value", apiname);
cy.get(".t--action-name-edit-error").should(($x) => {
expect($x).contain(
apiname.concat(" is already being used or is a restricted keyword."),
);
});
});
Cypress.Commands.add("validateMessage", (value) => {
cy.get(".bp3-popover-content").should(($x) => {
expect($x).contain(value.concat(" is already being used."));
});
});
Cypress.Commands.add(
"VerifyPopOverMessage",
(msgAbsenceToVerify, presence = false) => {
// Give this element 3 seconds to appear
let shouldCondition = "not.exist";
if (presence) shouldCondition = "exist";
cy.xpath(
"//div[@class='bp3-popover-content'][contains(text(),'" +
msgAbsenceToVerify +
"')]",
{ timeout: 3000 },
).should(shouldCondition);
},
);
Cypress.Commands.add("DeleteAPIFromSideBar", () => {
cy.deleteEntity();
cy.wait("@deleteAction").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("DeleteWidgetFromSideBar", () => {
cy.deleteEntity();
cy.wait("@updateLayout").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("deleteEntity", () => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.delete).click({ force: true });
});
Cypress.Commands.add("DeleteAPI", (apiname) => {
cy.get(ApiEditor.ApiActionMenu)
.first()
.click({ force: true });
cy.get(apiwidget.deleteAPI)
.first()
.click({ force: true });
cy.wait("@deleteAction").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("copyJSObjectToPage", (pageName) => {
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
cy.get(apiwidget.copyTo).click({ force: true });
cy.get(apiwidget.page)
.contains(pageName)
.click();
cy.wait("@createNewJSCollection").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
Cypress.Commands.add("AddActionWithModal", () => {
cy.get(commonlocators.dropdownSelectButton)
.last()
.click();
cy.get(".single-select")
.contains("Open modal")
.click({ force: true });
cy.get(modalWidgetPage.selectModal).click();
cy.get(modalWidgetPage.createModalButton).click({ force: true });
});
2020-05-01 07:48:33 +00:00
Cypress.Commands.add("createModal", (ModalName) => {
cy.get(widgetsPage.actionSelect)
.first()
.click({ force: true });
cy.selectOnClickOption("Open modal");
2020-05-08 09:01:11 +00:00
cy.get(modalWidgetPage.selectModal).click();
2021-11-02 06:34:43 +00:00
cy.wait(2000);
2020-05-08 09:01:11 +00:00
cy.get(modalWidgetPage.createModalButton).click({ force: true });
2021-11-02 06:34:43 +00:00
cy.wait(3000);
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
cy.SearchEntityandOpen("Modal1");
2020-05-08 09:01:11 +00:00
// changing the model name verify
cy.widgetText(
ModalName,
modalWidgetPage.modalName,
modalWidgetPage.modalName,
);
2020-05-28 06:37:47 +00:00
//changing the Model label
cy.get(modalWidgetPage.modalWidget + " " + widgetsPage.textWidget)
.first()
.trigger("mouseover");
cy.get(widgetsPage.textWidget + " " + commonlocators.editIcon).click();
cy.testCodeMirror(ModalName);
cy.get(widgetsPage.textCenterAlign).click({ force: true });
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
cy.get(".bp3-overlay-backdrop").click({ force: true });
2020-05-08 09:01:11 +00:00
});
Cypress.Commands.add("selectOnClickOption", (option) => {
cy.get(".bp3-popover-content", { timeout: 10000 }).should("be.visible");
cy.get("ul.bp3-menu div.bp3-fill", { timeout: 10000 })
.should("be.visible")
.contains(option)
.click({ force: true });
});
Cypress.Commands.add("CheckWidgetProperties", (checkboxCss) => {
2020-05-28 06:37:47 +00:00
cy.get(checkboxCss).check({
2020-05-08 09:01:11 +00:00
force: true,
});
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
2020-05-08 09:01:11 +00:00
});
Cypress.Commands.add("UncheckWidgetProperties", (checkboxCss) => {
2020-05-28 06:37:47 +00:00
cy.get(checkboxCss).uncheck({
2020-05-08 09:01:11 +00:00
force: true,
});
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
2020-05-08 09:01:11 +00:00
});
Cypress.Commands.add("EditWidgetPropertiesUsingJS", (checkboxCss, inputJS) => {
cy.get(checkboxCss, { timeout: 10000 })
.last()
.should("exist")
.dblclick({ force: true })
.type(inputJS);
cy.assertPageSave();
});
2020-05-08 09:01:11 +00:00
Cypress.Commands.add(
"ChangeTextStyle",
(dropDownValue, textStylecss, labelName) => {
cy.get(commonlocators.dropDownIcon)
.last()
.click();
cy.get(".t--dropdown-option")
2020-05-08 09:01:11 +00:00
.children()
.contains(dropDownValue)
.click();
cy.get(textStylecss).should("have.text", labelName);
},
);
Cypress.Commands.add("widgetText", (text, inputcss, innercss) => {
cy.get(commonlocators.editWidgetName)
.click({ force: true })
.type(text, { delay: 300 })
2020-05-08 09:01:11 +00:00
.type("{enter}");
cy.get(inputcss)
.first()
.trigger("mouseover", { force: true });
cy.contains(innercss, text);
2020-05-08 09:01:11 +00:00
});
Cypress.Commands.add("verifyWidgetText", (text, inputcss, innercss) => {
cy.get(inputcss)
.first()
.trigger("mouseover", { force: true });
cy.contains(innercss, text);
});
Cypress.Commands.add("editColName", (text) => {
cy.get(commonlocators.editColTitle)
.click({ force: true })
.type(text)
.type("{enter}");
cy.get(commonlocators.editColText).should("have.text", text);
});
Cypress.Commands.add("invalidWidgetText", () => {
// checking invalid widget name
cy.get(commonlocators.editWidgetName)
.click({ force: true })
.type("download")
.type("{enter}");
cy.get(commonlocators.toastmsg).contains("download is already being used.");
});
Cypress.Commands.add("EvaluateDataType", (dataType) => {
cy.get(commonlocators.evaluatedType)
.first()
.should("be.visible")
.contains(dataType);
});
Cypress.Commands.add("EvaluateCurrentValue", (currentValue) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(3000);
cy.get(commonlocators.evaluatedCurrentValue)
.first()
.should("be.visible")
.should("not.have.text", "undefined");
cy.get(commonlocators.evaluatedCurrentValue)
.first()
//.should("be.visible")
.click({ force: true })
.then(($text) => {
if ($text.text()) expect($text.text()).to.eq(currentValue);
});
});
Cypress.Commands.add("PublishtheApp", () => {
2020-05-26 12:22:29 +00:00
cy.server();
cy.route("POST", "/api/v1/applications/publish/*").as("publishApp");
// Wait before publish
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
2020-12-30 07:31:20 +00:00
// Stubbing window.open to open in the same tab
cy.window().then((window) => {
cy.stub(window, "open").callsFake((url) => {
2020-12-30 07:31:20 +00:00
window.location.href = Cypress.config().baseUrl + url.substring(1);
window.location.target = "_self";
});
});
cy.get(homePage.publishButton).click();
2020-04-17 08:17:25 +00:00
cy.wait("@publishApp");
2020-12-30 07:31:20 +00:00
2020-05-21 09:45:48 +00:00
cy.url().should("include", "/pages");
cy.log("pagename: " + localStorage.getItem("PageName"));
2020-04-17 08:17:25 +00:00
});
Cypress.Commands.add("getCodeMirror", () => {
return cy
.get(".CodeMirror textarea")
.first()
.focus()
.type("{ctrl}{shift}{downarrow}");
});
Cypress.Commands.add("testCodeMirror", (value) => {
2020-04-17 08:17:25 +00:00
cy.get(".CodeMirror textarea")
.first()
.focus()
.type("{ctrl}{shift}{downarrow}")
.then(($cm) => {
2020-04-17 08:17:25 +00:00
if ($cm.val() !== "") {
cy.get(".CodeMirror textarea")
.first()
.clear({
force: true,
});
}
cy.get(".CodeMirror textarea")
.first()
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(".CodeMirror textarea")
.first()
.should("have.value", value);
});
});
Cypress.Commands.add("updateComputedValue", (value) => {
cy.get(".CodeMirror textarea")
.first()
.focus({ force: true })
.type("{uparrow}", { force: true })
.type("{ctrl}{shift}{downarrow}", { force: true });
cy.focused().then(($cm) => {
if ($cm.contents != "") {
cy.log("The field is empty");
2020-05-15 12:20:09 +00:00
cy.get(".CodeMirror textarea")
2020-04-17 08:17:25 +00:00
.first()
.clear({
force: true,
});
}
cy.get(".CodeMirror textarea")
.first()
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
});
Cypress.Commands.add("testCodeMirrorLast", (value) => {
cy.get(".CodeMirror textarea")
.last()
.focus()
.type("{ctrl}{shift}{downarrow}")
.then(($cm) => {
if ($cm.val() !== "") {
cy.get(".CodeMirror textarea")
.last()
.clear({
force: true,
});
}
cy.get(".CodeMirror textarea")
.last()
.clear({ force: true })
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(200);
cy.get(".CodeMirror textarea")
.last()
2020-05-15 12:20:09 +00:00
.should("have.value", value);
2020-04-17 08:17:25 +00:00
});
});
2020-05-01 07:48:33 +00:00
Cypress.Commands.add("testJsontext", (endp, value, paste = true) => {
2020-05-15 12:20:09 +00:00
cy.get(".t--property-control-" + endp + " .CodeMirror textarea")
.first()
.focus({ force: true })
.type("{uparrow}", { force: true })
2020-05-15 12:20:09 +00:00
.type("{ctrl}{shift}{downarrow}", { force: true });
cy.focused().then(($cm) => {
if ($cm.contents != "") {
cy.log("The field is not empty");
2020-05-28 10:35:54 +00:00
cy.get(".t--property-control-" + endp + " .CodeMirror textarea")
2020-05-15 12:20:09 +00:00
.first()
.click({ force: true })
.focused({ force: true })
.clear({
force: true,
});
2020-05-15 12:20:09 +00:00
}
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
2020-05-28 10:35:54 +00:00
cy.get(".t--property-control-" + endp + " .CodeMirror textarea")
2020-05-15 12:20:09 +00:00
.first()
.then((el) => {
const input = cy.get(el);
if (paste) {
input.invoke("val", value);
} else {
input.type(value, {
force: true,
parseSpecialCharSequences: false,
});
}
2020-05-15 12:20:09 +00:00
});
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2500); //Allowing time for Evaluate value to capture value
2020-05-15 12:20:09 +00:00
});
/**
* Usage:
* Find the element which has a code editor input and then pass it in the function
*
* cy.get(...).then(el => cy.updateCodeInput(el, "test"));
*
*/
Cypress.Commands.add("updateCodeInput", ($selector, value) => {
cy.get($selector)
.find(".CodeMirror")
.first()
.then((ins) => {
const input = ins[0].CodeMirror;
input.focus();
cy.wait(200);
input.setValue(value);
cy.wait(200); //time for value to set
//input.focus();
});
});
Cypress.Commands.add("selectColor", (GivenProperty) => {
// Property pane of the widget is opened, and click given property.
cy.get(
".t--property-control-" + GivenProperty + " .bp3-input-group input",
).click({
force: true,
});
cy.get(widgetsPage.colorsAvailable)
.first()
.click({ force: true });
});
Cypress.Commands.add("toggleJsAndUpdate", (endp, value) => {
cy.get(".CodeMirror textarea")
.last()
.focus({ force: true })
.type("{uparrow}", { force: true })
.type("{ctrl}{shift}{downarrow}", { force: true });
cy.focused().then(($cm) => {
if ($cm.contents != "") {
cy.log("The field is empty");
cy.get(".CodeMirror textarea")
.last()
.clear({
force: true,
});
}
cy.get(".CodeMirror textarea")
.last()
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(200);
});
Cypress.Commands.add("assertControlVisibility", (endp, value) => {
cy.get(".t--property-control-" + endp + " .CodeMirror")
.first()
.should("not.be.visible");
});
Cypress.Commands.add("tableColumnDataValidation", (columnName) => {
cy.get("[data-rbd-draggable-id='" + columnName + "'] input")
.scrollIntoView()
.first()
.focus({ force: true })
.should("be.visible");
});
Cypress.Commands.add("tableColumnPopertyUpdate", (colId, newColName) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] input")
.scrollIntoView()
.should("be.visible")
.click({
force: true,
});
cy.get("[data-rbd-draggable-id='" + colId + "'] input").clear({
force: true,
});
cy.get("[data-rbd-draggable-id='" + colId + "'] input").type(newColName, {
force: true,
});
cy.get(".draggable-header ")
.contains(newColName)
.should("be.visible");
});
Cypress.Commands.add("hideColumn", (colId) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] .t--show-column-btn").click({
force: true,
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
});
Cypress.Commands.add("showColumn", (colId) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] .t--show-column-btn").click({
force: true,
});
cy.get(".draggable-header ")
.contains(colId)
.should("be.visible");
});
Cypress.Commands.add("deleteColumn", (colId) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] .t--delete-column-btn").click(
{
force: true,
},
);
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
});
Cypress.Commands.add("makeColumnVisible", (colId) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] .t--show-column-btn").click({
force: true,
});
cy.wait(1000);
});
Cypress.Commands.add("addColumn", (colId) => {
cy.get(widgetsPage.addColumn).scrollIntoView();
cy.get(widgetsPage.addColumn)
.should("be.visible")
.click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(3000);
cy.get(widgetsPage.defaultColName).clear({
force: true,
});
cy.get(widgetsPage.defaultColName).type(colId, { force: true });
});
Cypress.Commands.add("editColumn", (colId) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] .t--edit-column-btn").click();
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1500);
});
Cypress.Commands.add(
"readTabledataValidateCSS",
(rowNum, colNum, cssProperty, cssValue) => {
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
cy.get(selector).should("have.css", cssProperty, cssValue);
},
);
Cypress.Commands.add("readTextDataValidateCSS", (cssProperty, cssValue) => {
cy.get(commonlocators.headingTextStyle).should(
"have.css",
cssProperty,
cssValue,
);
});
Cypress.Commands.add("evaluateErrorMessage", (value) => {
cy.get(commonlocators.evaluateMsg)
.first()
.click()
.invoke("text")
.then((text) => {
const someText = text;
expect(someText).to.equal(value);
});
});
Cypress.Commands.add("addAction", (value) => {
cy.get(commonlocators.dropdownSelectButton)
.last()
.click();
cy.get(commonlocators.chooseAction)
.children()
.contains("Show message")
.click();
cy.enterActionValue(value);
});
Cypress.Commands.add("onTableAction", (value, value1, value2) => {
cy.get(commonlocators.dropdownSelectButton)
.eq(value)
.click();
cy.get(commonlocators.chooseAction)
.children()
.contains("Show message")
.click();
cy.testJsontext(value1, value2);
});
Cypress.Commands.add("selectShowMsg", () => {
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(commonlocators.chooseAction)
.children()
.contains("Show message")
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
.click();
});
Cypress.Commands.add("addSuccessMessage", (value) => {
cy.get(commonlocators.chooseMsgType)
.last()
.click();
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(commonlocators.chooseAction)
.children()
.contains("Success")
.click();
cy.enterActionValue(value);
});
Cypress.Commands.add("SetDateToToday", () => {
cy.get(formWidgetsPage.datepickerFooterPublish)
.contains("Today")
.click({ force: true });
cy.assertPageSave();
});
Cypress.Commands.add("enterActionValue", (value) => {
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(".CodeMirror textarea")
.last()
.focus()
.type("{ctrl}{shift}{downarrow}")
.then(($cm) => {
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
if ($cm.val() !== "") {
cy.get(".CodeMirror textarea")
.last()
.clear({
force: true,
});
}
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(".CodeMirror textarea")
.last()
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.wait(200);
});
});
2020-05-08 09:01:11 +00:00
Cypress.Commands.add("enterNavigatePageName", (value) => {
cy.get("ul.tree")
.children()
.first()
.within(() => {
cy.get(".CodeMirror textarea")
.first()
.focus()
.type("{ctrl}{shift}{downarrow}")
.then(($cm) => {
if ($cm.val() !== "") {
cy.get(".CodeMirror textarea")
.first()
.clear({
force: true,
});
}
cy.get(".CodeMirror textarea")
.first()
.type(value, {
force: true,
parseSpecialCharSequences: false,
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(200);
cy.get(".CodeMirror textarea")
.first()
.should("have.value", value);
});
cy.root();
});
});
2020-05-28 06:37:47 +00:00
Cypress.Commands.add("ClearDate", () => {
cy.get(".t--property-control-defaultdate input").clear();
2020-08-07 06:56:47 +00:00
cy.assertPageSave();
2020-05-28 06:37:47 +00:00
});
Cypress.Commands.add("ClearDateFooter", () => {
cy.get(formWidgetsPage.datepickerFooterPublish)
.contains("Clear")
.click({ force: true });
//cy.assertPageSave();
});
2020-05-01 07:48:33 +00:00
Cypress.Commands.add("DeleteModal", () => {
cy.get(widgetsPage.textbuttonWidget).dblclick("topRight", { force: true });
cy.get(widgetsPage.deleteWidget)
.first()
.click({ force: true });
});
Cypress.Commands.add("Createpage", (Pagename) => {
cy.get(pages.AddPage)
.first()
.click();
cy.wait("@createPage").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.xpath(pages.popover)
.last()
.click({ force: true });
cy.get(pages.editName).click({ force: true });
2020-05-01 07:48:33 +00:00
cy.get(pages.editInput)
.type(Pagename)
.type("{Enter}");
pageidcopy = Pagename;
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
cy.get(generatePage.buildFromScratchActionCard).click();
2020-05-01 07:48:33 +00:00
cy.get("#loading").should("not.exist");
// eslint-disable-next-line cypress/no-unnecessary-waiting
2020-05-01 07:48:33 +00:00
cy.wait(2000);
});
Cypress.Commands.add("Deletepage", (Pagename) => {
2020-05-01 07:48:33 +00:00
cy.get(pages.pagesIcon).click({ force: true });
cy.get(".t--page-sidebar-" + Pagename + "");
cy.get(
".t--page-sidebar-" +
Pagename +
">.t--page-sidebar-menu-actions>.bp3-popover-target",
2020-05-01 07:48:33 +00:00
).click({ force: true });
cy.get(pages.Menuaction).click({ force: true });
cy.get(pages.Delete).click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
2020-05-01 07:48:33 +00:00
cy.wait(2000);
});
Cypress.Commands.add("generateUUID", () => {
const uuid = require("uuid");
const id = uuid.v4();
Homepage redesign with themes (#482) * Updating homepage body color * WIP: Fixing scrolls and adding anchors * Removing divider from bottom of the page. * Adding hover background color to app card * Changing edit and launch icons. * Fixing app name paddding in card. * Fixing workspaces overflow * Adding right padding to applications view * Adding share icon to share btn * Fixing Application card styles. * Fixing text decoration in button. * Adding new workspace button * Fixing new workspace and new app styles. * Adding icon sizes. * Fixing Org Name and Org settings menu. * Application menu working * Fixing overlay visibility on app card * Fixing settings page content width. * Fixing workspace icon * Changing app card colors. * Removing debugger * Adding app icon. * Fixing the spaces in application card * Adding storybook-static folder to gitignore. * Adding other storybook files. * Adding menu items for app * Removing cypress selector from text. * Menu width issue fixed * Default app icon color added * Removing hardcoded colors * Removing hardcoded colors. * Light Mode on! * Showing correct icon and color in menu * Update color working properly. * Updating appIcon * Editable text working. * Adding validator * Adding edit permissions to menu * Removing box shadow on app card. * Fixing context menu fill color * Fixing Menu hover issues. * Fixing menu open close hover issues. * Fixing settings pages * Changed Workspace to org. * Fix: State management in EditableText Component (#540) * Error state height is fixed as per design * savingState prop condition fixed * Fixing createnew. * Fixing saving state for application card. * Fixed application card editable text error. * Fixing issue caused during merge. * Fixing tests in create org. * Removing commented code. * Removing unwanted vars. * Fixing delete duplicate tests. * Latest color palette. * Fixing form and table widget. * Removing switcher from header * Removing unused files * Fixing app card context dropdown * Show overlay fix * Adding localStorage support to theme. * Making dark mode the default. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 11:50:47 +00:00
return id.split("-")[0];
2020-05-01 07:48:33 +00:00
});
Cypress.Commands.add("addDsl", (dsl) => {
2020-05-01 07:48:33 +00:00
let currentURL;
let pageid;
let layoutId;
cy.url().then((url) => {
2020-05-01 07:48:33 +00:00
currentURL = url;
const myRegexp = /pages(.*)/;
const match = myRegexp.exec(currentURL);
pageid = match[1].split("/")[1];
cy.log(pageidcopy + "page id copy");
2020-05-01 07:48:33 +00:00
cy.log(pageid + "page id");
//Fetch the layout id
cy.server();
cy.request("GET", "api/v1/pages/" + pageid).then((response) => {
const respBody = JSON.stringify(response.body);
layoutId = JSON.parse(respBody).data.layouts[0].id;
// Dumping the DSL to the created page
2020-05-01 07:48:33 +00:00
cy.request(
"PUT",
"api/v1/layouts/" + layoutId + "/pages/" + pageid,
2020-05-01 07:48:33 +00:00
dsl,
).then((response) => {
cy.log(response.body);
2020-05-01 07:48:33 +00:00
expect(response.status).equal(200);
cy.reload();
});
});
});
});
2020-05-08 05:40:14 +00:00
Cypress.Commands.add("DeleteAppByApi", () => {
let currentURL;
let appId;
cy.url().then((url) => {
currentURL = url;
const myRegexp = /applications(.*)/;
const match = myRegexp.exec(currentURL);
appId = match ? match[1].split("/")[1] : null;
2020-05-20 11:04:39 +00:00
if (appId != null) {
cy.log(appId + "appId");
cy.request({
method: "DELETE",
url: "api/v1/applications/" + appId,
failOnStatusCode: false,
}).then((response) => {
cy.log(response.body);
cy.log(response.status);
});
2020-05-20 11:04:39 +00:00
}
});
});
Cypress.Commands.add("togglebar", (value) => {
cy.get(value)
.check({ force: true })
.should("be.checked");
});
Cypress.Commands.add("radiovalue", (value, value2) => {
cy.get(value)
.click()
.clear()
.type(value2);
});
Cypress.Commands.add("optionValue", (value, value2) => {
cy.get(value)
.click()
.clear()
.type(value2);
});
Cypress.Commands.add("dropdownDynamic", (text) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get("ul.bp3-menu")
.contains(text)
.click({ force: true })
.should("have.text", text);
});
Cypress.Commands.add("dropdownMultiSelectDynamic", (text) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(".multi-select-dropdown")
.contains(text)
.click({ force: true })
.should("have.text", text);
});
Cypress.Commands.add("treeSelectDropdown", (text) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(".tree-select-dropdown")
.contains(text)
.click({ force: true })
.should("have.text", text);
});
Cypress.Commands.add("treeMultiSelectDropdown", (text) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(".tree-multiselect-dropdown")
.contains(text)
.click({ force: true })
.should("have.text", text);
});
Cypress.Commands.add("dropdownDynamicUpdated", (text) => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
cy.get(commonlocators.dropdownmenu)
.contains(text)
.click({ force: true });
cy.xpath(commonlocators.dropDownOptSelected).should("have.text", text);
});
Cypress.Commands.add("selectTextSize", (text) => {
cy.get(".t--dropdown-option")
.first()
.contains(text)
.click({ force: true });
});
Cypress.Commands.add("getAlert", (alertcss) => {
cy.get(commonlocators.dropdownSelectButton).click({ force: true });
cy.get(widgetsPage.menubar)
.contains("Show Alert")
.click({ force: true })
.should("have.text", "Show Alert");
cy.get(alertcss)
.click({ force: true })
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.type("hello");
cy.get(".t--open-dropdown-Select-type").click({ force: true });
cy.get(".bp3-popover-content .bp3-menu li")
.contains("Success")
.click({ force: true });
});
Cypress.Commands.add("togglebar", (value) => {
cy.get(value)
.check({ force: true })
.should("be.checked");
});
Cypress.Commands.add("togglebarDisable", (value) => {
2020-05-26 12:22:29 +00:00
cy.get(value)
.uncheck({ force: true })
.should("not.checked");
});
Cypress.Commands.add(
"getAlert",
(alertcss, propertyControl = commonlocators.dropdownSelectButton) => {
cy.get(propertyControl)
.first()
.click({ force: true });
cy.get(widgetsPage.menubar)
.contains("Show message")
2021-03-17 09:36:08 +00:00
.click({ force: true });
cy.get(alertcss)
.click({ force: true })
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.type("hello");
cy.get(".t--open-dropdown-Select-type").click({ force: true });
cy.get(".bp3-popover-content .bp3-menu li")
.contains("Success")
.click({ force: true });
},
);
Cypress.Commands.add("addQueryFromLightningMenu", (QueryName) => {
cy.get(commonlocators.dropdownSelectButton)
.first()
.click({ force: true })
.selectOnClickOption("Execute a query")
.selectOnClickOption(QueryName);
});
Cypress.Commands.add("addAPIFromLightningMenu", (ApiName) => {
cy.get(commonlocators.dropdownSelectButton)
.first()
.click({ force: true })
.selectOnClickOption("Execute a query")
.selectOnClickOption(ApiName);
});
Cypress.Commands.add("radioInput", (index, text) => {
cy.get(widgetsPage.RadioInput)
.eq(index)
.click({ force: true })
.clear({ force: true })
feat: Undo/Redo (#6654) * Scaffolding for undo-redo * undo redo working Poc commit * memory performance improvements by diffing * dont run update on undo/redo" * merging widget postion update and canvas bottom row update into one dsl update. * fix tabs widget * Visible updates per undo redo action (#6838) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * resize atomic operation * fix switch control state issue * disallow undo/redo for snipping and comment mode * disallow undo/redo for snipping and comment mode * fix color picker issue in undo/redo * add test for replayDSL * option control fix, adding logs * minor position change undo redo updates * add test cases for replayHelpers * property Upade visual change * remove unused code * global hot key jest test for undo redo * Fixing batch updates on property change.. * add tests for toggle control in property pane * unwanted utils. * add tests for text control * add tests for deletion * add tests for dropping a new widget * adding jest test for replayUtils * add move widget tests * add tests for color picker control * add analytics for undo/redo * add analytics for undo/redo * tab addition atomic * cypress tests for propertyPane, toasts and radiowidget optionControl * replayDSL end of redo stack fix * property update changes * menu option control debounce input * color picker empty undo fix * fix cypress tests * widget add/remove atomic * revert alternative approach to handle atomic operations * update replayDSL test * add some comments * addressing review comments * flash color for property pane controls * Fixing adding of tabs widget as well. * code review comments. * merging widget postion update and canvas bottom row update into one dsl update. * fix ordering of tabs property control * meta property update canvas min height. * fixing failed specs. * Fixing entity explorer update on deleting tab from entity explorer. * address review comments and minor property update changes * fixing failing tests * merge conflicts * changes to cater widget api. * fix suggested widget table issue * draggable list for undo redo * fix widget name focus * excluding canvas updates. * fixing codeEditor update on propertySection collapse * fixed failing test case Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-09-21 07:55:56 +00:00
.type(text)
.wait(200);
});
Cypress.Commands.add("tabVerify", (index, text) => {
cy.get(".t--property-control-tabs input")
.eq(index)
.click({ force: true })
.clear()
.type(text);
cy.get(LayoutPage.tabWidget)
.contains(text)
.click({ force: true })
.should("be.visible");
});
2020-05-08 05:40:14 +00:00
Cypress.Commands.add("getPluginFormsAndCreateDatasource", () => {
/*
2020-05-08 05:40:14 +00:00
cy.wait("@getPluginForm").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
cy.wait("@createDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
*/
2020-05-08 05:40:14 +00:00
});
Cypress.Commands.add("NavigateToApiEditor", () => {
cy.get(explorer.addEntityAPI).click({ force: true });
});
Cypress.Commands.add("NavigateToWidgetsInExplorer", () => {
cy.get(explorer.entityWidget).click({ force: true });
});
Cypress.Commands.add("NavigateToQueriesInExplorer", () => {
cy.get(explorer.entityQuery).click({ force: true });
});
Cypress.Commands.add("NavigateToJSEditor", () => {
cy.get(explorer.addEntityJSEditor)
.last()
.click({ force: true });
});
Cypress.Commands.add("testCreateApiButton", () => {
cy.get(ApiEditor.createBlankApiCard).click({ force: true });
cy.wait("@createNewApi").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
2020-05-08 05:40:14 +00:00
Cypress.Commands.add("testSaveDeleteDatasource", () => {
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
// Instead of deleting the last datasource on the active datasources list,
// we delete the datasource that was just created (identified by its title)
cy.get(datasourceEditor.datasourceTitle)
.invoke("text")
.then((datasourceTitle) => {
// test datasource
cy.get(".t--test-datasource").click();
cy.wait("@testDatasource");
// .should("have.nested.property", "response.body.data.success", true)
// .debug();
// save datasource
cy.get(".t--save-datasource").click();
cy.wait("@saveDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
// select datasource to be deleted by datasource title
cy.get(`${datasourceEditor.datasourceCard}`)
.contains(datasourceTitle)
.last()
.click();
// delete datasource
cy.get(".t--delete-datasource").click();
cy.wait("@deleteDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
});
Cypress.Commands.add("importCurl", () => {
cy.get(ApiEditor.curlImportBtn).click({ force: true });
cy.wait("@curlImport").should(
"have.nested.property",
"response.body.responseMeta.status",
201,
);
});
2020-05-08 15:31:36 +00:00
Cypress.Commands.add("NavigateToDatasourceEditor", () => {
cy.get(explorer.addDBQueryEntity)
.last()
.click({ force: true });
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(pages.integrationCreateNew)
.should("be.visible")
.click({ force: true });
});
Cypress.Commands.add("NavigateToQueryEditor", () => {
cy.get(explorer.addDBQueryEntity)
.last()
.click({ force: true });
});
Cypress.Commands.add("NavigateToActiveTab", () => {
cy.get(explorer.activeTab).click({ force: true });
// cy.get(pages.integrationActiveTab)
// .should("be.visible")
// .click({ force: true });
});
Cypress.Commands.add("NavigateToActiveDSQueryPane", (datasourceName) => {
cy.NavigateToQueryEditor();
cy.NavigateToActiveTab();
cy.get(datasource.datasourceCard)
.contains(datasourceName)
.scrollIntoView()
.should("be.visible")
.closest(datasource.datasourceCard)
.within(() => {
cy.get(queryLocators.createQuery).click({ force: true });
})
.wait(2000); //for the specified page to load
});
Cypress.Commands.add("NavigateToDSGeneratePage", (datasourceName) => {
cy.NavigateToQueryEditor();
cy.NavigateToActiveTab();
cy.get(datasource.datasourceCard)
.contains(datasourceName)
.scrollIntoView()
.should("be.visible")
.closest(datasource.datasourceCard)
.within(() => {
cy.get(datasource.datasourceCardGeneratePageBtn).click();
})
.wait(2000); //for the specified page to load
});
Cypress.Commands.add("ClickGotIt", () => {
cy.get("span:contains('GOT IT')").click();
});
Cypress.Commands.add("testDatasource", (expectedRes = true) => {
cy.get(".t--test-datasource").click();
cy.wait("@testDatasource").should(
"have.nested.property",
"response.body.data.success",
expectedRes,
);
});
Cypress.Commands.add("saveDatasource", () => {
cy.get(".t--save-datasource").click();
cy.wait("@saveDatasource")
.then((xhr) => {
cy.log(JSON.stringify(xhr.response.body));
})
.should("have.nested.property", "response.body.responseMeta.status", 200);
});
Cypress.Commands.add("testSaveDatasource", (expectedRes = true) => {
cy.testDatasource(expectedRes);
cy.saveDatasource();
// cy.get(datasourceEditor.datasourceCard)
// .last()
// .click();
});
Cypress.Commands.add("fillGoogleSheetsDatasourceForm", () => {
cy.get(datasourceEditor["scope"]).click();
});
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
Cypress.Commands.add(
"fillMongoDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["mongo-host"] + " "
: datasourceFormData["mongo-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["mongo-databaseName"] + " "
: datasourceFormData["mongo-databaseName"];
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["host"]).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["mongo-port"]);
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
//cy.get(datasourceEditor["port"]).type(datasourceFormData["mongo-port"]);
//cy.get(datasourceEditor["selConnectionType"]).click();
//cy.contains(datasourceFormData["connection-type"]).click();
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["defaultDatabaseName"]).type(databaseName);
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
cy.get(datasourceEditor.sectionAuthentication).click();
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["databaseName"])
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
.clear()
.type(datasourceFormData["mongo-databaseName"]);
// cy.get(datasourceEditor["username"]).type(
// datasourceFormData["mongo-username"],
// );
// cy.get(datasourceEditor["password"]).type(
// datasourceFormData["mongo-password"],
// );
// cy.get(datasourceEditor["authenticationAuthtype"]).click();
// cy.contains(datasourceFormData["mongo-authenticationAuthtype"]).click({
// force: true,
// });
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
},
);
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
Cypress.Commands.add(
"fillPostgresDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["postgres-host"] + " "
: datasourceFormData["postgres-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["postgres-databaseName"] + " "
: datasourceFormData["postgres-databaseName"];
cy.get(datasourceEditor.host).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["postgres-port"]);
cy.get(datasourceEditor.databaseName)
.clear()
.type(databaseName);
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
cy.get(datasourceEditor.sectionAuthentication).click();
cy.get(datasourceEditor.username).type(
datasourceFormData["postgres-username"],
);
cy.get(datasourceEditor.password).type(
datasourceFormData["postgres-password"],
);
},
);
Cypress.Commands.add(
"fillMySQLDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["mysql-host"] + " "
: datasourceFormData["mysql-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["mysql-databaseName"] + " "
: datasourceFormData["mysql-databaseName"];
cy.get(datasourceEditor.host).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["mysql-port"]);
cy.get(datasourceEditor.databaseName)
.clear()
.type(databaseName);
cy.get(datasourceEditor.sectionAuthentication).click();
cy.get(datasourceEditor.username).type(
datasourceFormData["mysql-username"],
);
cy.get(datasourceEditor.password).type(
datasourceFormData["mysql-password"],
);
},
);
Cypress.Commands.add(
"fillMsSQLDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["mssql-host"] + " "
: datasourceFormData["mssql-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["mssql-databaseName"] + " "
: datasourceFormData["mssql-databaseName"];
cy.get(datasourceEditor.host).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["mssql-port"]);
cy.get(datasourceEditor.databaseName)
.clear()
.type(databaseName);
cy.get(datasourceEditor.sectionAuthentication).click();
cy.get(datasourceEditor.username).type(
datasourceFormData["mssql-username"],
);
cy.get(datasourceEditor.password).type(
datasourceFormData["mssql-password"],
);
},
);
Cypress.Commands.add(
"fillArangoDBDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["arango-host"] + " "
: datasourceFormData["arango-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["arango-databaseName"] + " "
: datasourceFormData["arango-databaseName"];
cy.get(datasourceEditor.host).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["arango-port"]);
cy.get(datasourceEditor.databaseName)
.clear()
.type(databaseName);
cy.get(datasourceEditor.sectionAuthentication).click();
cy.get(datasourceEditor.username).type(
datasourceFormData["arango-username"],
);
cy.get(datasourceEditor.password).type(
datasourceFormData["arango-password"],
);
},
);
Cypress.Commands.add(
"fillRedshiftDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const hostAddress = shouldAddTrailingSpaces
? datasourceFormData["redshift-host"] + " "
: datasourceFormData["redshift-host"];
const databaseName = shouldAddTrailingSpaces
? datasourceFormData["redshift-databaseName"] + " "
: datasourceFormData["redshift-databaseName"];
cy.get(datasourceEditor.host).type(hostAddress);
cy.get(datasourceEditor.port).type(datasourceFormData["redshift-port"]);
cy.get(datasourceEditor.databaseName)
.clear()
.type(databaseName);
cy.get(datasourceEditor.sectionAuthentication).click();
cy.get(datasourceEditor.username).type(
datasourceFormData["redshift-username"],
);
cy.get(datasourceEditor.password).type(
datasourceFormData["redshift-password"],
);
},
);
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
Cypress.Commands.add(
"fillUsersMockDatasourceForm",
(shouldAddTrailingSpaces = false) => {
const userMockDatabaseName = shouldAddTrailingSpaces
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
? `${datasourceFormData["mockDatabaseName"] + " "}`
: datasourceFormData["mockDatabaseName"];
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
const userMockHostAddress = shouldAddTrailingSpaces
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
? `${datasourceFormData["mockHostAddress"] + " "}`
: datasourceFormData["mockHostAddress"];
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
const userMockDatabaseUsername = shouldAddTrailingSpaces
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
? `${datasourceFormData["mockDatabaseUsername"] + " "}`
: datasourceFormData["mockDatabaseUsername"];
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["host"])
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
.clear()
.type(userMockHostAddress);
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["databaseName"])
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
.clear()
.type(userMockDatabaseName);
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["sectionAuthentication"]).click();
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["password"])
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
.clear()
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
.type(datasourceFormData["mockDatabasePassword"]);
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(datasourceEditor["username"])
Hotfix/trailing white spaces in mysql datasource configuration (#6227) * trimmed white spaces in datasource configuration * Added cypress tests for MySQLdatasource * fixed trailing whitespaces bug in mysql datasource configuration * Fix overflowing text in toasts on safari (#6200) * [Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Fix xss redirectURL (#6229) * Update msg * Revert "Update msg" This reverts commit 0ac70ea7e9c10a0708432333e6f67004150d98dc. * Fix JS error message showing callstack in firefox (#6234) * Adding expiry of 30 days to session cookies (#6224) Fixes #5872 Adding an expiry of 30 days to the cookie to ensure that browsers don't delete the cookie when the browser session is closed. * Removing release-drafter github action (#6248) * Add Skip tour button in welcome onboarding (#6158) This allows users to skip the welcome tour, there is an End tour button already present but wasn't easily accessible. * Fix - #6221 new nav analytics improvements (#6223) * fixed redirection on connect data click. and updated analytics * Added generic analytics for all datasource cards * Add missed new nav analytics for connections (#6233) * Log event when property pane connected entity is clicked - Also update screen to source * Add missed analytic event when user navigates to entity from property pane connection - Also add entity type info to event - Refactor to make this happen by moving useGetEntityInfo hook to debugger hooks * [Fix] Small UI improvements to suggested widgets section (#6190) * added slight transition to suggested widgets. Adjusted the height of arrows in relationship. * minor fixes to back btn style in suggested widgets panel * fixed the size of collapsible icon * removed a comment * Fix NPE when Segment key not available correctly (#6244) * Using local Postgres database instead of remote (#6241) * Using local Postgres database instead of remote * Added createdb and usedb at the top * FEATURE-5852 : make the iframe widget message property accessible (#5897) -- Add a new meta property for receiving the message from an iframe. Now the user can simply refer to {{iframe.message}} to access the data they receive in an API or widget. * Disable tern in view mode (#6203) * Fixed ExecutionParams (#6284) * Fix test by mocking the response (#6273) * added cypress tests for users mock datasource * Fix: Mark comment threads as viewed when they are resolved (#6251) * -log widget type in analytics service when new thread created -set viewed=true for resolved threads * fixed typo * fix the test case when there is not widget type * Add analytics event for mock-data creation (#6136) * Add analytics event for mockdata creation * Use the correct name for the mockdatasource * Added FE analytics for mock datasource * Changes per review * Remove the method call * Fix indentation issue Co-authored-by: Pranav Kanade <pranav@appsmith.com> * Missing validations (#6281) * Fix validations for certain scenarios which were missed earlier * Minor comments feature fixes (#6245) * Fix comment card click: set visible thread (#6166) * Fixing bug where the comment feature flag was disabled for all users * [Fix] Refresh sidebar comments list when a thread is unresolved (#6326) * fix stop Rich text Editor from crashing on Modal (#6077) * changed RTE removal mechanism * modified changes to remove just before initializing * tinyMCE patch for firefox Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Sentry typeError fix, with checks (#6256) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Supporting all ASCII characters in table widget (#6041) * Updated labels Mock data to Sample data (#6330) * [perf] propertyControl re-rendering (#5941) * prevent unnecessry re-renders on property control keyPress * Changes to memoize with useSelector * propertyControl re-rendering initial commit * Optimized and Generalized PropertyControl * Updating Property Dependencies * removing useCallback and replacing WidgetEnhancementHelpers with selector * nested property path changes * reverting name Change * tests fixes and adding dependencies for validation structure Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Snowflake get structure error resolved for columns query (#6316) * Table name reference copied from templates body to avoid misconfiguration in action body * more conditions for run check (#6255) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Fix comment card click at the view mode (#6332) * Fix unnecessary renders of ActionCreator, EntityName, CodeEditor and ActionEntityContextMenu (#6242) * Fix action creator unnecessary render issue - Optimize the selectors and hooks to return new values only when something has changed. * Fix ActionEntityContextMenu re-renders issue * Prevent rerenders of EntityName component * Fix CodeEditor re-renders * Use createSelector instead of memoization. * Cleanup * - Remove whyDidYouRender Co-authored-by: Satish Gandham <satish@appsmith.com> * Multiselect Widget (#5228) We have now separated the multi-select from the select widget, This has simplified the implementation and helped us resolve any issues we where facing because of the complexity bought by both under the same hood and has also increased the discoverability of the widget for our end users. We have also simultaneously taken up multiple enhancements related to the select and multi-select widget. * Added instance Id in analytics datapoint (#6252) * Enable Autocomplete for Static Objects (#6302) * Remove type from COLORS constant * Remove type from InputTypes in InputWidget * Remove type from ReduxActionTypes * Remove type from ReduxErrorActionTypes * Remove type from SocialLoginTypes * Fix widget actions issues * Remove OPEN_SUB_PANE commented redux action * updated cypress tests to account for testing trailing spaces in db name and host address * removed unparsed token * Commenting test (#6354) * Add list buckets API to S3 (#6334) * Add list buckets action method to S3 * Added TC for list bucket method * FIX #6324 : reset recaptcha token on click and handled button loading explicitly (#6337) reset re-captcha token on click and handled button loading explicitly such that the user know that the api call has not finished * Added null check to verify empty layout in generate CRUD page flow (#6359) * Fix authentication issue while creating mockdata (#6294) * Re set password to avoid double encryption while creating suffix datasource * Add test to query on mockdata source * Check the Authentication type before setting the password * updated cypress tests for mock datasource * fixed cypress failing datasources tests * Fix: Update debugger placeholder text for non-mac (#6142) * Added logic to show form data requests in debugger (#6350) * Added logic to show form data requests in debugger * Tests and comments * Tests * Tern server performance fix and Best match fix (#6338) * Uncomment Gen CRUD page Test (#6371) * Reorganised test steps to utilise retry action (#6208) * updated spec with assertion values (#6323) * updated spec with assert * updated test * updated test * updated dsl * Improvement: Add limit on password length in user signup (#6312) * -add max password validation in FE and password validation in BE for signup * -added unit test for password length limit * - set max password length to 48 - add password length check in reset password * -removed password limit check from login * Fix binding query for the nested data responses (#6372) * Fix binding query for the nested data responses * Fix formatting issues and add comments * Updated comments * remove code duplications * Fix: Keep inspect entity in sync with the widget selection in the entity explorer * docs: Updates event archive * Navigation Dropdown feedback Changes (#6119) Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * Feature: Add API to set and get concurrent app editors (#6292) * -add an API in RTS to store and retrieve currently online users of an application * -handled the case when edit app event received before user is authenticated * -updated authentication API in rts * close modal on cancel btn click (#6383) The cancel button in the modal will now by default have the close action configured. * Button and chart fixes (#6373) * Added new file button file and fixed the bugs in chart and button Added new file button file and fixed the bugs in chart and button * Fixed JS toggle for Button widget * changed border radius of multiselect widget to 0px (#6349) * open link inside text component in a new tab (#6205) * Fix loading test data for Cypress tests in CodeBuild * Change dropdown widget to select widget in Github labels for automation to work properly (#6386) * Updating k8s README to point to docs.appsmith.com * iFrame - When the source url is removed message should be displayed in iframe similar to other widgets (#6295) * FIX-5414 : iFrame - When the source url is removed message is be displayed within the component * BUG : Iframe widget: wrong placeholder `Title` (#6053) Rectified the wrong placeholder in the iframe widget title property. * Use feature flag api to enable/disable comments (#6322) * Check if comments are enabled for comment intro modal (#6395) * Fix ts error release (#6396) * updated common method (#6397) * Fix #5740 - Api actions are treated as queries (#6381) * updated active datasources pane carry proper cta to create new action * properly creating action names in either api/query context * added a new separate new api/query btn component * moved empty datasources warning to messages * fix: wrap overflow option in multiselect such that all option checkboxes are available(#6403) * Fix #6160 Updated Text binding for row and removed variable evaluation - Default table data (#6360) * Icon Button Widget (#5723) Introducing the **Floating action button / Icon button**. Now you can use this to show small actions as icons. We have added a bunch of styling customisation to this as well. You can bind an onClick action to this and easily trigger an even. The component also automatically resizes within the widget as you scale it while maintaining the right aspect ratio. * [Fix] Mark resolved threads as read in real time, refresh list when thread resolved status is updated (#6407) * fix: Font size fixed for consistency between select and multi-select widget (#6400) * Skip btn comment onboarding (#6331) * [Fix] Reset comment mode hotkey (#6401) * Welcome tour GIF and Close button fixes (#6309) * * Chaged New Query GIF * Added close button for welcome tour final page * Changed Run GIF * Sticky sidebar z-index change * Added testcases * Replaced hardcoded colors and text with constants * Fix: Set a default option in select widget while adding from suggested widgets (#6236) * Fix jest test for comments by overriding isCommentMode selector (#6027) * Fix download with URL issue (#6179) * Bump tar from 6.0.5 to 6.1.6 in /app/client (#6392) Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CRUD template For S3 page (#6426) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Cypress tests for commenting feature (#5505) * Minor fixes for comments on the modal widget (#6368) * Update permission check for determining a user with dev access for comments intro (#6431) * Prevent Entire Editor Header from re rendering (#6415) * Seperate save indicator without rerendering entire Editor Header * stop unnecessary update to Saved message every second * moving raw strings to messages Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> * [Fix] Focus the comment thread when opened after dismissing (#6437) * Dont fetch feature flags if not logged in (#6444) * Update README.md Fixed a spelling mistake * Fix: Parse api body to be shown as an object in debugger if possible (#6249) * Fix: List Widget issues (#6226) * fix binding * fix multiple binding not working issue * use box shadow inset + fix gap issue * fix container z index issue * fix resize ux issue * update container height * allow selecting list widget only when the property pane is not visible * fix resize handle overflow issue * fix dot issue in current item structure + fix resize issue for template * fix select widget not workign inside list widget issue * remove unused keys * fix jest test * fix derived.js test * add undefiend check * add currentIndex for autocomplete * revert white color to transparent for list container * fix pagination wrong calculation * remove beta tag * fix issue with cypress test failing * fix issue with dropdown widget * fix the boolean value issue Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> * [Bugfix] Empty object creation in published pages for application object fixed * Omnibar redesign (#6288) Omni bar would now have the categories navigation and documentation. * [skip_changelog] Form login disabled after user uses OAuth login method (#6425) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * changed default image to old value loading from cloudinary (#6467) * Feature: Show a list of realtime app editors (#6286) * Added support for showing realtime app editors * emitting an event only when socket is connected * added a tooltip to show username/email * using proper selector * using theme * created the separate component for listing editors * created a separate hook for app collab events * moved collab user type to /entities * moved user visible strings to message constants * Revert "moved user visible strings to message constants" This reverts commit 04ac18a188b0117dd364ad764a4e0103bfd28ef6. * made provision to reset the concurrent editors list * Enable auto-start after VM restart (#6428) * BUG-6029 : Property pane for iFrame widget does not appear on clicking on widget (#6260) -- Add a overlaid div for iframe * Added fix for cmd + enter not running google sheets actions (#6446) * Fix-Catch invalid google recaptcha v3 key error (#6034) * Handle invalid google recaptcha v3 key * changed default divider color to light grey (#6335) * fixed issue where the resize cursor did not appear on the left hand side of the widget (#6380) * Add null check for the nested data structure (#6479) * Add null check for the nested data structure * Add unit test for the null nested data * Adding a max size of approximately 1 MB of data fetched using appsmith (#6491) * WIP Restrict fetch size * Adding a cut off of approximately 1 MB of data fetched in postgres plugin * Code cleanup * Minor cleanup * [Fix] Minor comments feature fixes (#6490) * Fix skip btn * update sorting for mentions list * Show server logs when create cypress user fails * [Fix test spec]Create a new org for the comments test so existing user roles don't exist (#6477) * Revert "Supporting all ASCII characters in table widget (#6041)" (#6429) This reverts commit 3ae1bd6d95da42530df356b9c14e7e4f547372ea. * Updated flaky test (#6486) * Updated flaky test * updated another test * Store MongoDB creds in separate file from install.sh (#6499) * Store MongoDB creds in separate file from install.sh * Move MongoDB credentials to docker.env * Add Analytics to Generate CRUD template feat (#6503) * Add Analytics to Generate CRUD template feat * Add analytics event on datasource click * Send pluginName instead of plugin obj in analytics * Fix: Adding checks before we check for disallowCopy (#6214) * Fix: Adding checks to before we check for disallowCopy * Adding checks for undo logic when a child delete is undone but the parent is already deleted. * restore widgets if they have their parent available. * reported bugs. * undo only when parent exists. * Hotfix Table Widget crashes when there is a cyclical dependency (#6505) * FIX #5254 : dropdown height fixed and made scrollable (#6170) * will widget pane if user moves away from canvas (#6516) * Fix: intercom triggers are not working properly (#6512) * initializing the intercom as soon as the help components are mounted. * removed log * Fix: Undo-Delete of Containers fix (#6510) * Encrypt attributes (#6508) * encrypt attributes * updated references to DOM targets for accessing the Mock User datasource * Fix/omnibar landing bug (#6513) * hide certificate string using dots on UI (#6533) * replace actual certificate string with '*' like it is done for hiding password on the UI. * Updated Template * fixed failing cypress tests Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com> Co-authored-by: Pranav Kanade <pranav@appsmith.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Co-authored-by: Paul Li <82799722+wmdev0808@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Nayan <83352306+nayan-rafiq@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local> Co-authored-by: Bhavin K <58818598+techbhavin@users.noreply.github.com> Co-authored-by: Satish Gandham <satish@appsmith.com> Co-authored-by: hetunandu <hetu@appsmith.com> Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: Yash Vibhandik <vibhandikyash@gmail.com> Co-authored-by: Nidhi <nidhi@appsmith.com> Co-authored-by: Confidence Okoghenun <cokoghenun@gmail.com> Co-authored-by: arslanhaiderbuttar <83570904+arslanhaiderbuttar@users.noreply.github.com> Co-authored-by: haojin111 <63215848+haojin111@users.noreply.github.com> Co-authored-by: Somangshu Goswami <somangshu.goswami1508@gmail.com> Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> Co-authored-by: abhishek nayak <nayak.abhishek@gmail.com> Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com> Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Nipun Agarwal <31271538+nipun1999@users.noreply.github.com> Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Sumit Kumar <sumit@appsmith.com>
2021-08-13 08:42:29 +00:00
.clear()
.type(userMockDatabaseUsername);
},
);
Cypress.Commands.add("createPostgresDatasource", () => {
cy.NavigateToDatasourceEditor();
cy.get(datasourceEditor.PostgreSQL).click();
//cy.getPluginFormsAndCreateDatasource();
cy.fillPostgresDatasourceForm();
cy.testSaveDatasource();
});
Cypress.Commands.add("deleteDatasource", (datasourceName) => {
cy.NavigateToQueryEditor();
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(pages.integrationActiveTab)
.should("be.visible")
.click({ force: true });
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
cy.contains(".t--datasource-name", datasourceName).click();
cy.get(".t--delete-datasource").click();
cy.wait("@deleteDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("runQuery", (expectedRes = true) => {
cy.onlyQueryRun();
cy.wait("@postExecute").should(
"have.nested.property",
"response.body.data.isExecutionSuccess",
expectedRes,
);
// cy.wait("@postExecute").should(
// "have.nested.property",
// "response.body.responseMeta.status",
// 200,
// );
});
Cypress.Commands.add("onlyQueryRun", () => {
cy.xpath(queryEditor.runQuery)
.last()
.click({ force: true })
.wait(500);
});
Cypress.Commands.add("hoverAndClick", () => {
cy.xpath(apiwidget.popover)
.last()
.should("be.hidden")
.invoke("show")
.click({ force: true });
cy.xpath(apiwidget.popover)
.last()
.click({ force: true });
});
Cypress.Commands.add("deleteQuery", () => {
cy.hoverAndClick();
cy.get(apiwidget.delete).click({ force: true });
cy.wait("@deleteAction").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("deleteJSObject", () => {
cy.hoverAndClick();
cy.get(jsEditorLocators.delete).click({ force: true });
cy.wait("@deleteJSCollection").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("deleteDataSource", () => {
cy.hoverAndClick();
cy.get(apiwidget.delete).click({ force: true });
cy.wait("@deleteDatasource").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("deleteQueryUsingContext", () => {
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(queryEditor.queryMoreAction).click();
cy.get(queryEditor.deleteUsingContext).click();
cy.wait("@deleteAction").should(
"have.nested.property",
"response.body.responseMeta.status",
200,
);
});
Cypress.Commands.add("runAndDeleteQuery", () => {
cy.runQuery();
cy.deleteQueryUsingContext();
});
2020-12-11 13:48:01 +00:00
Cypress.Commands.add("dragAndDropToCanvas", (widgetType, { x, y }) => {
const selector = `.t--widget-card-draggable-${widgetType}`;
cy.wait(500);
cy.get(selector)
.trigger("dragstart", { force: true })
2020-12-11 13:48:01 +00:00
.trigger("mousemove", x, y, { force: true });
cy.get(explorer.dropHere)
.trigger("mousemove", x, y, { eventConstructor: "MouseEvent" })
.trigger("mousemove", x, y, { eventConstructor: "MouseEvent" })
.trigger("mouseup", x, y, { eventConstructor: "MouseEvent" });
});
Cypress.Commands.add(
"dragAndDropToWidget",
(widgetType, destinationWidget, { x, y }) => {
const selector = `.t--widget-card-draggable-${widgetType}`;
cy.wait(500);
cy.get(selector)
.trigger("dragstart", { force: true })
.trigger("mousemove", x, y, { force: true });
const selector2 = `.t--draggable-${destinationWidget}`;
cy.get(selector2)
.trigger("mousemove", x, y, { eventConstructor: "MouseEvent" })
.trigger("mousemove", x, y, { eventConstructor: "MouseEvent" })
.trigger("mouseup", x, y, { eventConstructor: "MouseEvent" });
},
);
Cypress.Commands.add("executeDbQuery", (queryName) => {
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.get(widgetsPage.buttonOnClick)
.get(commonlocators.dropdownSelectButton)
.click({ force: true })
.get("ul.bp3-menu")
.children()
.contains("Execute a query")
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
.click({ force: true })
.get("ul.bp3-menu")
.children()
.contains(queryName)
.click({ force: true });
});
Cypress.Commands.add("CreateMockQuery", (queryName) => {
// cy.get(queryEditor.addNewQueryBtn).click({ force: true });
// cy.get(queryEditor.createQuery)
// .first()
// .click({ force: true });
cy.get(queryEditor.queryNameField).type(queryName + "{enter}", {
force: true,
});
2021-06-15 12:24:25 +00:00
cy.assertPageSave();
cy.get(queryEditor.templateMenu + " div")
.contains("Select")
.click({ force: true });
2021-06-15 12:24:25 +00:00
cy.runQuery();
// cy.wait(3000);
// cy.get(queryEditor.runQuery)
// .click({force: true});
});
Cypress.Commands.add("openPropertyPane", (widgetType) => {
2020-05-08 15:31:36 +00:00
const selector = `.t--draggable-${widgetType}`;
cy.wait(500);
2020-05-08 15:31:36 +00:00
cy.get(selector)
.first()
2021-03-17 09:36:08 +00:00
.trigger("mouseover", { force: true })
2020-05-08 15:31:36 +00:00
.wait(500);
cy.get(
`${selector}:first-of-type .t--widget-propertypane-toggle > .t--widget-name`,
)
2020-05-08 15:31:36 +00:00
.first()
2020-06-26 13:56:18 +00:00
.click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
2020-05-08 15:31:36 +00:00
});
2020-05-14 09:16:39 +00:00
Cypress.Commands.add("openPropertyPaneCopy", (widgetType) => {
if (widgetType === "List1Copy") {
cy.SearchEntityandOpen(widgetType);
} else {
const selector = `.t--draggable-${widgetType}`;
cy.get(selector)
.last()
.trigger("mouseover", { force: true })
.wait(500);
cy.get(
`${selector}:first-of-type .t--widget-propertypane-toggle > .t--widget-name`,
)
.first()
.click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
}
});
Cypress.Commands.add("changeButtonColor", (buttonColor) => {
cy.get(widgetsPage.buttonColor)
.click({ force: true })
.clear()
.type(buttonColor);
cy.PublishtheApp();
cy.get(widgetsPage.widgetBtn).should(
"have.css",
"background-color",
buttonColor,
);
cy.wait(1000);
});
2020-06-04 13:49:22 +00:00
Cypress.Commands.add("closePropertyPane", () => {
feat: property pane docking (#7361) * add tailwindcss * docked property pane * uncomment a line * make entity explorer as drawer on unpin * remove unused imports * add pin state in reducer * add menu icon in header * fix widget sidebar * fix widgets sidebar * style property pane * update property pane css * update icons in property pane * update property pane header styles * update spacing * fix few ui issues * wip: preview mode * wip:preview mode * remove unused import * comments sidebar in app and edit mode * fix order of import * use selected state for property pane * update scrollbar style * add classes to sidebar and property pane * make widgets editor fluid * make widgets editor fluid and refactor logic * resize the widgets editor if explorer is pinned * add shortcut for preview mode * fix link for tabs in edit mode * zoom in/zoom out for 0.75 * fix chart widget + table widget crashing * allow zooming of canvas * fix weird canvas draw issue + update container for handling zoom * add actions for is panning * allow panning with grab cursor * reset panning + zooming when entering preview mode * add grabbing cursor when grabbing * only prevent default when space key is pressed * dont allow zoom in preview mode * remove unused imports * fix dont allow zoom in preview mode * fix ux of panning on space hit * make fluid as the default app layout * chart spec * fix dropdown_on change spec * fix add widget table and bind spec * remove draggable property pane spec * fix container spec * fix form widget spec * fix jest test * fix the function typo * remove clicking of close button for property pane in cypress tests * remove property pane actions test * fix drag and drop test failing * add cypress selector id to back button in property pane * fix toggle js spec * fix merge conflicts from new design system * editor header * fix product updates styles + widget card * remove all unused imports * fix dynamic layout spec * fix entity explorer tab rename test failing * fix table spec * fix bind tabletextpagination spec * fix js object spec * fix entity explorer rename issue * fix cypress test * fix cypress command wrong commit * fix tab spec * fix property pane copy tests * add zoom header * zoom levels * make property pane sidebar resizable * add multi select property pane * fix widget search bug * update property pane width in state on drag end * fix viewer header * fix editor header * update editor header + remove zooming * update small style * dont allow closing of explorer when resizing * fix jest test * fix dropdown widget jest test * preview test case wip * add entity explorer pinning tests + preview mode tests * add tooltip in layout control + add padding bottom in property pane view * incorporate aakash feedbacks * fix preview mode margin issue * remove panning code * fix cypress failing test * uncomment jest test * remove redundant code * fix maincontainer test * incorporate review feedbacks * incorporate aakash feedbacks * review feedbacks * incorporate review feedbacks * incorporate qa feedbacks * fix dynamic layout spec * updated test based on latest change * dsl updated * Updated dsl * Updated dsl * resize deselects widget issue. * fix canvas height issue * fix typo * incorporate qa feedbacks * incorporate qa feedbacks * incorporate qa feedbacks * update color for setting control for widget name * fix onboarding styles conflicts * Updated tests * fix application overflow issue * updated test method Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 08:01:46 +00:00
cy.get(commonlocators.canvas).click({ force: true });
2020-06-04 13:49:22 +00:00
});
Cypress.Commands.add("onClickActions", (forSuccess, forFailure, endp) => {
// Filling the messages for success/failure in the onClickAction of the button widget.
// For Success
cy.get(".code-highlight", { timeout: 10000 })
.children()
.contains("No action")
.first()
.click({ force: true })
.selectOnClickOption("Show message")
.get("div.t--property-control-" + endp + " div.CodeMirror-lines")
.click()
.type(forSuccess)
.get("button.t--open-dropdown-Select-type")
.first()
.click({ force: true })
.selectOnClickOption(forSuccess);
cy.wait(2000);
// For Failure
cy.get(".code-highlight")
.children()
.contains("No action")
.last()
.click({ force: true })
.selectOnClickOption("Show message")
.get("div.t--property-control-" + endp + " div.CodeMirror-lines")
.last()
.click()
.type(forFailure)
.get("button.t--open-dropdown-Select-type")
.last()
.click({ force: true })
.selectOnClickOption(forFailure);
});
Cypress.Commands.add("copyWidget", (widget, widgetLocator) => {
const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
//Copy widget and verify all properties
cy.get(widgetsPage.propertypaneText)
.children()
.last()
.invoke("text")
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.then((x) => {
cy.log(x);
let originalWidget = x.replaceAll("x", "");
originalWidget = originalWidget.replaceAll(/\u200B/g, "");
cy.log(originalWidget);
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(widgetsPage.copyWidget).click({ force: true });
cy.reload();
// Wait for the widget to be appear in the DOM and press Ctrl/Cmd + V to paste the button.
cy.get(widgetLocator).should("be.visible");
cy.get("body").type(`{${modifierKey}}v`);
cy.wait(2000);
cy.openPropertyPaneCopy(widget);
cy.get(widgetsPage.propertypaneText)
.children()
.last()
.invoke("text")
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.then((y) => {
cy.log(y);
let copiedWidget = y.replaceAll("x", "");
copiedWidget = copiedWidget.replaceAll(/\u200B/g, "");
cy.log(copiedWidget);
expect(originalWidget).to.be.equal(copiedWidget);
});
});
});
Cypress.Commands.add("deleteWidget", (widget) => {
// Delete the button widget
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(widgetsPage.removeWidget).click({ force: true });
2021-09-15 08:37:58 +00:00
cy.wait(5000);
cy.wait("@updateLayout");
});
Cypress.Commands.add("UpdateChartType", (typeOfChart) => {
// Command to change the chart type if the property pane of the chart widget is opened.
cy.get(viewWidgetsPage.chartType)
.last()
.click({ force: true });
cy.get(commonlocators.dropdownmenu)
.children()
.contains(typeOfChart)
.click({ force: true });
cy.get(viewWidgetsPage.chartType + " span.cs-text").should(
"have.text",
typeOfChart,
);
});
Cypress.Commands.add("createAndFillApi", (url, parameters) => {
cy.NavigateToApiEditor();
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
cy.get(pages.integrationCreateNew)
.should("be.visible")
.click({ force: true });
cy.testCreateApiButton();
cy.get("@createNewApi").then((response) => {
2020-05-14 11:02:41 +00:00
cy.get(ApiEditor.ApiNameField).should("be.visible");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
expect(response.response.body.responseMeta.success).to.eq(true);
2020-06-26 13:56:18 +00:00
cy.get(ApiEditor.ApiNameField)
.click()
2020-06-26 13:56:18 +00:00
.invoke("text")
.then((text) => {
2020-06-26 13:56:18 +00:00
const someText = text;
expect(someText).to.equal(response.response.body.data.name);
});
2020-05-14 11:02:41 +00:00
});
cy.get(apiwidget.editResourceUrl)
2020-05-15 12:20:09 +00:00
.first()
.click({ force: true })
.type(
url + parameters,
{ parseSpecialCharSequences: false },
{ force: true },
);
2020-06-10 17:42:51 +00:00
cy.WaitAutoSave();
2020-05-14 09:16:39 +00:00
cy.get(ApiEditor.formActionButtons).should("be.visible");
cy.get(ApiEditor.ApiRunBtn).should("not.be.disabled");
});
Cypress.Commands.add("isSelectRow", (index) => {
cy.get('.tbody .td[data-rowindex="' + index + '"][data-colindex="' + 0 + '"]')
.first()
.click({ force: true });
});
2020-05-14 09:16:39 +00:00
Cypress.Commands.add("readTabledata", (rowNum, colNum) => {
2020-06-03 10:50:10 +00:00
// const selector = `.t--draggable-tablewidget .e-gridcontent.e-lib.e-droppable td[index=${rowNum}][aria-colindex=${colNum}]`;
const selector = `.tbody .td[data-rowindex="${rowNum}"][data-colindex="${colNum}"] div`;
2020-05-14 09:16:39 +00:00
const tabVal = cy.get(selector).invoke("text");
return tabVal;
});
2020-05-18 04:28:41 +00:00
Cypress.Commands.add("getDate", (date, dateFormate) => {
const eDate = dayjs()
2020-05-18 04:28:41 +00:00
.add(date, "days")
.format(dateFormate);
2020-05-28 06:37:47 +00:00
return eDate;
2020-05-18 04:28:41 +00:00
});
Cypress.Commands.add("setDate", (date, dateFormate) => {
const expDate = dayjs()
2020-05-18 04:28:41 +00:00
.add(date, "days")
.format(dateFormate);
const sel = `.DayPicker-Day[aria-label=\"${expDate}\"]`;
cy.get(sel).click();
});
2020-05-18 05:34:49 +00:00
Cypress.Commands.add("pageNo", (index) => {
2020-06-03 10:50:10 +00:00
cy.get(".page-item")
.first()
.click({ force: true });
});
2020-05-18 05:34:49 +00:00
Cypress.Commands.add("pageNoValidate", (index) => {
const data = '.e-numericcontainer a[index="' + index + '"]';
const pageVal = cy.get(data);
return pageVal;
});
2020-05-28 06:37:47 +00:00
Cypress.Commands.add("validateDisableWidget", (widgetCss, disableCss) => {
cy.get(widgetCss + disableCss).should("exist");
});
Cypress.Commands.add("validateToolbarVisible", (widgetCss, toolbarCss) => {
cy.get(widgetCss + toolbarCss, { timeout: 10000 }).should("exist");
});
Cypress.Commands.add("validateToolbarHidden", (widgetCss, toolbarCss) => {
cy.get(widgetCss + toolbarCss, { timeout: 10000 }).should("not.exist");
});
2020-05-28 06:37:47 +00:00
Cypress.Commands.add("validateEnableWidget", (widgetCss, disableCss) => {
cy.get(widgetCss + disableCss).should("not.exist");
});
Cypress.Commands.add("validateHTMLText", (widgetCss, htmlTag, value) => {
cy.get(widgetCss + " iframe").then(($iframe) => {
2020-05-28 06:37:47 +00:00
const $body = $iframe.contents().find("body");
cy.wrap($body)
.find(htmlTag)
.should("have.text", value);
});
});
Cypress.Commands.add("startRoutesForDatasource", () => {
cy.server();
cy.route("PUT", "/api/v1/datasources/*").as("saveDatasource");
cy.route("POST", "/api/v1/datasources/test").as("testDatasource");
});
Cypress.Commands.add("startServerAndRoutes", () => {
//To update route with intercept after working on alias wrt wait and alias
cy.server();
cy.route("POST", "/api/v1/datasources/test").as("testDatasource");
cy.route("GET", "/api/v1/applications/new").as("applications");
cy.route("GET", "/api/v1/users/profile").as("getUser");
cy.route("GET", "/api/v1/plugins").as("getPlugins");
cy.route("POST", "/api/v1/logout").as("postLogout");
2021-11-02 06:34:43 +00:00
cy.route("GET", "/api/v1/datasources?organizationId=*").as("getDataSources");
[API breaking change : Automated Tests Will Fail] Page And Action Refactor (#549) * Introduced new page which stores the published and unpublished pages as separate. * Mid level commit to save the state. * Parity of new page repository with old page repository (custom functions) * WIP : Delete a page. This requires changes across application structure as well. * Added publishedPages construct inside application to store the pages in the deployed view as well as isDefault so that the same changes (delete or isDefault) in unpublished view doesn't alter these fields for the published application * Parity reached with PageService. * Minor ActionService refactor to remove unnecessary code. ApplicationPageService, LayoutActionService, LayoutService use the new page service to fetch the pages Minor corrections in fetching the page from new page service in tests * New save function which sets the PageDTO for unpublished page and then saves the new page into repository. * Migration of page service functions to new page service functions across other services/tests/controller * Finished migrating all the page service functions to the new page service functions * Application Service Tests have been fixed. * All the existing test cases are working now. * Publish application implemented to store published pages as well. Added a basic test case to check that published pages is being set and that page's publishedPageDTO is being set accordingly. * Minor TODOs added to add test cases for published application. * A few tests to ascertain that published application page fields (deleted, isDefault) does not get changed when these statuses are changed for a page in edit mode. * Added a new controller end point to fetch application in view mode. * Added new endpoint for fetching an application in view mode on the client. * Bug fix where get application in view mode API was not getting called. * Fixed the get page names by application & archive pages which have been deleted in edit mode during publishing of application. * During delete page, if a page was never published and it was deleted during edit, delete the entire page instead of just deleting the unpublished PageDTO * Minor formatting. * Non working client side code to fetch page list using view mode. * revert unnecassary changes and streamlined view and edit actions * Fix missed import * Fixed a bug where if a page is not published, it should not be returned in view mode in list of page names api. * Fixed update for a page which was not working in integration test. * ActionDTO added. * Solidified the new action structure. * Migration added for NewAction index creation and NewAction per Action insertion in the database. * Basic file structure added the new repository, custom repository, service, etc. * Delete OldPage.java * Repo functions added - TODO : Haven;t handled the published/edited views * Helper functions added to convert Action to NewAction and vice-versa. Removed unused currentUserMono usage. * Create & update action functionality added. * Execute Action refactored. Removed dry run specific code. * Repository migrated to handle new data structure. Execute action refactored to no longer support dry runs of actions. * TODO added for special handling of change view of application to handle edge cases of pages/actions which either exist in published mode but don't exist in unpublished mode or vice versa. * Migrated finding on load actions from spring repository to custom repository. * In view mode, now actions are being fetched by application id directly instead of first fetching application and then using the page ids, fetching the actions. This reduces the db calls from 2 to 1 per fetch actions in view mode api call. * Delete action and get all actions (used in edit mode on the client side) implemented. * Updated CollectionService and ActionCollectionService to use the new action service instead of the old one. * LayoutActionService refactored to now use the new service functions. * ActionController now no longer used ActionService. The remaining service functions have been migrated to the new action service. * Refactor across ACL code for addition/removal of policies during addition/removal of users to organization, making app public, refactor for services like policy utils, item service, etc. * Removed the last of action repository and action service and replaced with new action repo and new action service. * Compile and run time issues fixed. The server is coming up without any spring dependency errors. * WIP in fixing fetching actions by page id. * Finally!!! Fixed the fetch actions (both published and unpublished actions) by page id repository function. * Fixed create action bug where null datasource in published actiondto (inside newly created action) leads to error. * Fixed the execute action issues : 1. Removed the dry runs from the tests 2. Fixed the null pointer error in variable substituted action and datasource configurations. * 1. Fixed the custom action repository field names. 2. Fixed the data structures used in ExamplesOrganizationClonerTests * Fixed countByDatasourceId repository function which was querying the actions incorrectly. * Fixed the clone example organization error where the id of the action was not getting updated in the page correctly. Yay! * Fixed post merge compilation failure. * Fixed more compilation time failures in ActionServiceTest * Fixed failing test case for fetching actions in view mode. * Minor changes to resolve merge changes and incorporate in the new refactored code. * 1. Fixed compile time errors on Client code. 2. Fixed fetching of actions in view mode by application id. The repository function did not need name parameter. Removed the same. * [Integration Testing Error Fix] : Added a new test case for refactor action name. * Instead of fetching actions in the page, mistakenly used the base service which was fetching all the actions in the repository, barring none which led to the name refactor being blocked even though no action in the current page exists with the new proposed name, * Added delete functionality to action service. * Minor code cleanup * Adding viewMode to action execution * Replacing action with actionId. * 1. Bug fix for deletion of unpublished action. In case of never published action, the entire action should be deleted. In case an action was published, only the unpublished action should be deleted. 2. In case of DB actions (external datasources), only the bare minimum fields should be stored inside the action (datasource id and datasource plugin id). The other fields should not be duplicated across code. * Fixed yarn build compilation issues. * Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ActionController.java Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Changed the API path for GET applications in view mode. Some minor code formatting. * Incorporated review comments. * Some more unnecessary code removed. * Instead of returning Page, now the interface object between client and server for Pages is PageDTO * Migrated Page and Action to PageDTO and ActionDTO Fixed the compilation issues. TODO : Fix the test compilation issues. * Fixed compilation time issues with all the tests by migrating Page and Action to PageDTO and ActionDTO respectively * Action Controller and Page Controller no longer extend Base Controller. All the required functions have now been implemented and no base line API end points are being re-used from the base. * Test case fixes. * Bug Fix : Updating an action was not updating execute on load. Fixed the data flow leading to the error. * Deprecating Page and Action domain objects. This is to ensure no new code is written with these till we remove this old code. * Cloned example applications are now published before returning. This is to ensure that the applications are in ready to view mode when the new user signs up. * Added a function comment to expand on the usage of new param introduced. * When cloning a page, new actions were not being stored. Added that. Also updated the clonePage test to assert that the actions are also cloned when the pages are cloned. * Updated a Api call * removed extra slash Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Satbir Singh <satbir121@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: nandan.anantharamu <nandan@thinkify.io>
2020-10-26 12:34:23 +00:00
cy.route("GET", "/api/v1/pages/application/*").as("getPagesForCreateApp");
cy.route("GET", "/api/v1/applications/view/*").as("getPagesForViewApp");
cy.route("POST");
cy.route("GET", "/api/v1/pages/*").as("getPage");
2021-11-02 06:34:43 +00:00
cy.route("GET", "/api/v1/applications/*/pages/*/edit").as("getAppPageEdit");
cy.route("GET", "/api/v1/actions*").as("getActions");
cy.route("GET", "api/v1/providers/categories").as("getCategories");
cy.route("GET", "api/v1/import/templateCollections").as(
"getTemplateCollections",
);
cy.route("DELETE", "/api/v1/actions/*").as("deleteAPI");
cy.route("DELETE", "/api/v1/applications/*").as("deleteApp");
cy.route("DELETE", "/api/v1/actions/*").as("deleteAction");
cy.route("DELETE", "/api/v1/pages/*").as("deletePage");
cy.route("POST", "/api/v1/datasources").as("createDatasource");
cy.route("DELETE", "/api/v1/datasources/*").as("deleteDatasource");
cy.route("GET", "/api/v1/datasources/*/structure?ignoreCache=*").as(
"getDatasourceStructure",
);
cy.route("PUT", "/api/v1/datasources/datasource-query/*").as(
"datasourceQuery",
);
2021-11-02 06:34:43 +00:00
cy.route("PUT", "/api/v1/pages/crud-page/*").as("replaceLayoutWithCRUDPage");
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
cy.route("POST", "/api/v1/pages/crud-page").as("generateCRUDPage");
cy.route("GET", "/api/v1/organizations").as("organizations");
cy.route("GET", "/api/v1/organizations/*").as("getOrganisation");
cy.route("POST", "/api/v1/applications/publish/*").as("publishApp");
cy.route("PUT", "/api/v1/layouts/*/pages/*").as("updateLayout");
cy.route("POST", "/track/*").as("postTrack");
cy.route("PUT", "/api/v1/actions/executeOnLoad/*").as("setExecuteOnLoad");
cy.route("POST", "/api/v1/actions").as("createNewApi");
2021-11-02 06:34:43 +00:00
cy.route("POST", "/api/v1/import?type=CURL&pageId=*&name=*").as("curlImport");
cy.route("DELETE", "/api/v1/actions/*").as("deleteAction");
2021-11-02 06:34:43 +00:00
cy.route("GET", "/api/v1/marketplace/providers?category=*&page=*&size=*").as(
"get3PProviders",
);
cy.route("GET", "/api/v1/marketplace/templates?providerId=*").as(
"get3PProviderTemplates",
);
cy.route("POST", "/api/v1/items/addToPage").as("add3PApiToPage");
cy.route("GET", "/api/v1/plugins/*/form").as("getPluginForm");
cy.route("POST", "/api/v1/datasources").as("createDatasource");
cy.route("DELETE", "/api/v1/datasources/*").as("deleteDatasource");
cy.route("DELETE", "/api/v1/applications/*").as("deleteApplication");
2021-11-02 06:34:43 +00:00
cy.route("POST", "/api/v1/applications/?orgId=*").as("createNewApplication");
cy.route("PUT", "/api/v1/applications/*").as("updateApplication");
cy.route("PUT", "/api/v1/actions/*").as("saveAction");
cy.route("PUT", "/api/v1/actions/move").as("moveAction");
cy.route("POST", "/api/v1/organizations").as("createOrg");
2021-11-02 06:34:43 +00:00
cy.route("POST", "api/v1/applications/import/*").as("importNewApplication");
Feature/import applications (#4483) * Added export option to app menu. TODO: call api to download app file * Added checkbox component and removed unused code * Added import app without filepicker. Opens modal * added ability to fetch the exported app * can download exported application as a json file * Updated the file picker component to accept other file formats * WIP import app * Added functionality to import application json file * minor fixes * Made the file type prop mandatory for file picker * added a test suite for export app * Test added to check if on import application click, it open a modal * added a dummy application file for cypress testing * Added end to end integration test suite to verify import app feature * added test to verify the export api status and download file. * added a linked btn to carry exporting. - according to latest BE changes * Removed old redux and saga mechanism for app export * updated cypress test to validate new flow * fixed minor linting errors * updated test case title * updated the test cases for import/export app feat * review changes * added prop to facilitate delayed upload * added new application file to fixtures. Minor fix to take care of loading state. * Removed export app modal. Added one click action, to download the file. * Updated File picker to work with all other files acc to the design. * Updated the import modal * updated the import application test * Added remove upload tooltip * updated the icons for import/export actions * removed unused logs * added hard coded feature flag to hide/show import export feature Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-06-03 06:18:08 +00:00
cy.route("GET", "api/v1/applications/export/*").as("exportApplication");
cy.route("GET", "/api/v1/organizations/roles?organizationId=*").as(
"getRoles",
);
cy.route("GET", "/api/v1/users/me").as("getUser");
cy.route("POST", "/api/v1/pages").as("createPage");
cy.route("POST", "/api/v1/pages/clone/*").as("clonePage");
Release v1.2.7 (#1144) * Update README.md * Updating README to add contributor section (#870) * Remove gitlab-ci configuration files (#865) We have since moved our CI to Github Actions and no longer require Gitlab CI config files. * Updating the README in the client codebase We now reference the global contribution guide directly * Feature/share app test (#843) * Add ShareApp test * Sharing app tests and public access * Update CONTRIBUTING.md * Update install.sh fixes #889 * Update deploy install script to use api64.ipify.org which supports IPv4 (#887) Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com> * Id value issue for radio groups (#895) Fixes: #661 There was issue related to id value while creating new radio group options other than the default ones. And as said I, the id field is not needed at all, but some old config still has the id field. So since ID field is not required , I have removed it. Which solves the issue. * Fix triggering of onChange when value is the same (#892) Fixes: #710 * Invite user modal in view mode can be closed by clicking outside (#906) * Update README.md Spelling correction * #678 Correction in contributing.md for client setup (#907) Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> * Docs: Add instructions in client setup for any port conflicts with 80/443 (#918) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Fix(sign-up): change in sign up error message (#908) * Fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911) Fixes #637 * Options Validaor checks for empty values Fixes: #662 * fix: add missed error callback for download (#912) Fixes: #673 * Revert "Options Validaor checks for empty values" This reverts commit 6b49d4c4e4c0d85f80648c14a7b6fc13bbde64d4. * Update table icon (#761) * style: center login form when 3rd party auth is not enabled (#919) * style: center login form when 3rd party auth is not enabled * style: center signup form when 3rd party auth is not enabled * fix: input widget number validation #768 (#917) * Explorer fixes (#689) * Make entity icon an actionable area Persist user toggled entity collapse states * remove dependency on props.isDefaultExpanded * Hover effect for dependencies * Pass search keyword for reliable toggling of entity groups on entity search * Fix default expanded state of Datasource group entity * Remove plugingroup file, which was added due to a botched merge conflict resolution * Fix issue with radio widget crashing (#922) * fix types * Options Validaor checks for empty values Fixes: #662 Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> * Fixed the pull request template issue partially (#902) Fixes #826 * Feature: Invite modal (#927) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * Improve PR template. * Remove troublesome test * Fix failing Radio tests (#931) * Possible fix for CI checkout issue * Possible fix for CI checkout issue * Fixed the ipify URL in PingScheduledTask (#1013) * Revert "Feature: Invite modal (#927)" (#1017) This reverts commit 63daf74a44f33569611922a21026f2bf0f00f21b. * Fix image widget not showing default image when image property is invalid (#882) Fixes: #760 * Fix CI checkouts for all pull_request_target steps * Local meta state in widgets (#851) * Update README.md * Fix for action execution (#1023) * Adding the condition to fix push vs pull_request_target commit checkouts * Input Widget: Parse regexp before regex validation (#884) Fixes #697 * Display warning icon for forgot password failure (#890) Fixes: #587 * Create Org Form: don't allow to use only spaces in names (#913) Also disables the submit button when invalid Fixes: #807, #621 * Auto Focus on email fields in auth screens (#923) Fixes: #610 Co-authored-by: Anshul <anshul@typito.com> * Added check for duplicate values in Dropdown and Radio Widgets (#1011) Fixes #655 * Fix Reset password not disabled after successful reset (#1021) Fixes #636 * Fix active styles for checkbox & radio (#1061) Fixes: #994 * Add source to user sign up event (#1065) * Send separate user create event for new users (#1066) * Expand datasource entity in explorer based on some conditions (#1062) * Expand datasource entity in explorer based on some conditions * Fix test * Do not show error tost when api fails * Expand datasource entity on test success * Use email as id for users and fix signup events not being reported (#1067) * Fixing typos in the README file (#871) Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * Forgot password submit button enable condition (#701) Fixes: #586 Co-authored-by: Anshul <anshul@typito.com> * Adding a new email template for sending an email when an appsmith use… (#1077) * Adding a new email template for sending an email when an appsmith user's role in an organization changes. * Minor changes in text. * Fix - Distorted UI when there are too many characters in email ID #584 (#1010) * Fix - Distorted UI when there are too many characters in email ID #584 * Fix - Distorted UI when there are too many characters in email ID #584 * Fix the hidden column list is not bounded and overflows in height (#981) (#1024) * fix(applications): add validation for empty name (#914) * Update CONTRIBUTING.md * Update CodeContributionsGuidelines.md * replaced dragdrop with dsl (#1081) * Fix datasource structure test (#1080) * Fix datasource structure test * Dummy commit * CI: Try creating build id * CI: Fix build id step: * Revert build id changes * Update README.md * Fix/new ui is distorted due to long organization name #735 (#1014) * Fix for long org names on side menu. Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before. * added ellipsize prop to index. Fixes #735 20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch. Co-authored-by: root <root@rutabaga.groudon> * Use username instead of object_id in analytics (#1082) * Adding the close-label.yml file required by Github App to mark issues as QA (#1091) Fixes #1090 When a PR is successfully merged, the Github bot will add the label QA to the issue. These issues can then be picked up by the QA team for verification. Refer: https://github.com/Logerfo/close-label * Only mark applications as example applications if the application id exists in the template configuration. (#1093) * docs: add mohanarpit as a contributor (#1095) * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Moving the contributor badge to the correct location in README Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Nikhil-Nandagopal as a contributor (#1096) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add areyabhishek as a contributor (#1097) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add trishaanand as a contributor (#1098) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add riodeuno as a contributor (#1099) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add hetunandu as a contributor (#1100) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> * docs: add satbir121 as a contributor (#1106) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add sharat87 as a contributor (#1102) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add aakashDesign as a contributor (#1107) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Debsourabh as a contributor (#1108) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add NandanAnantharamu as a contributor (#1103) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add prapullac as a contributor (#1104) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> * docs: add Saket2 as a contributor (#1109) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add harishkotra as a contributor (#1110) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add visibleajay as a contributor (#1111) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add akbansa as a contributor (#1112) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add gogetter22 as a contributor (#1113) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * docs: add Xniveres as a contributor (#1114) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * Correcting hyperlink from contributor badge to contributor section * Show datasource structure fixes (#1078) * Tests for binding related use cases (#1116) Co-authored-by: Nandan <nandan@thinkify.io> * Feature/video widget test (#1115) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Adding filter tests for table (#1117) Co-authored-by: nandan.anantharamu <nandan@thinkify.io> * Getting Cypress to work correctly for internal pull requests (#1121) * Hotfix to fix the client build workflow * Update README.md * Fix release cleanup issues (#1132) * Changed CSS to prevent share button from coming out (#925) Changed CSS to prevent share button from coming out. Decreased the width of the wrapper to a suitable value. * Fix issue with setting dynamic triggers on immutable widget objects (#1137) * Feature/invitation modal (#938) * light and dark mode added in Invite modal * warnings removed * create org and invite user test cases fixed * Application invite design implemented * manage user icon added * button width fixed * PR feedback implemented * test cases fixed * used blueprint classes * used calc for width distribution * copy button width fixed * prop passing fixed * copy button size reduced * readonly input field background color fixed * input background theme name ordering changed * TagInputComponent moved to ads * created DropdownWrapper for select field in orgInviteForm * Warnings created due to unique key and depdencies is fixed * Warning fixed in dropdown component * correct prop name used Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in> * fix(codemirror-autocomplete): show selection background on hover for options (#1134) This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946 * Stop expanding datasource in explorer after testing (#1138) Co-authored-by: areyabhishek <nayak.abhishek@gmail.com> Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com> Co-authored-by: Ari <36749814+ari-hacks@users.noreply.github.com> Co-authored-by: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in> Co-authored-by: Nicholas <wasabigeek@users.noreply.github.com> Co-authored-by: Aditya Vats <avats.osc@gmail.com> Co-authored-by: Saket2 <49346036+Saket2@users.noreply.github.com> Co-authored-by: Saket Agrawal <saketagr@in.ibm.com> Co-authored-by: MartinT <44962077+MartinTuroci@users.noreply.github.com> Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com> Co-authored-by: Petro Popelyshko <petrneok@gmail.com> Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Abhinav Jha <abhinav@appsmith.com> Co-authored-by: Omkar Phansopkar <48476025+OmkarPh@users.noreply.github.com> Co-authored-by: devrk96 <rohit.kumawat@primathon.in> Co-authored-by: Prashant Chaubey <prashantchaubey9795@gmail.com> Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com> Co-authored-by: Ajay Kumar <visibleajay@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com> Co-authored-by: dodococo <deepakchethan@outlook.com> Co-authored-by: Josh Mak <joshmak@berkeley.edu> Co-authored-by: Anshul Bansal <bansalanshul11@yahoo.com> Co-authored-by: Anshul <anshul@typito.com> Co-authored-by: Caitlin-Fotheringham <49273562+Caitlin-Fotheringham@users.noreply.github.com> Co-authored-by: Akash Hamirwasia <akash.hamirwasia@gmail.com> Co-authored-by: Yash Joshi <jyash97@gmail.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Aadhitya A <59508546+alphaX86@users.noreply.github.com> Co-authored-by: Trisha Anand <trisha@appsmith.com> Co-authored-by: Kishore <reachtokish@users.noreply.github.com> Co-authored-by: Adam <ascratcherd@gmail.com> Co-authored-by: root <root@rutabaga.groudon> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Nandan <nandan@thinkify.io> Co-authored-by: Ishaan Mehta <ishaanmehta4@gmail.com> Co-authored-by: Thakur Karthik <iamkarthik08@gmail.com>
2020-10-12 12:43:35 +00:00
cy.route("PUT", "/api/v1/applications/*/changeAccess").as("changeAccess");
cy.route("PUT", "/api/v1/organizations/*").as("updateOrganization");
cy.route("GET", "/api/v1/pages/view/application/*").as("viewApp");
cy.route("POST", "/api/v1/organizations/*/logo").as("updateLogo");
cy.route("DELETE", "/api/v1/organizations/*/logo").as("deleteLogo");
cy.route("POST", "/api/v1/applications/*/fork/*").as("postForkAppOrg");
2021-11-02 06:34:43 +00:00
cy.route("PUT", "/api/v1/users/leaveOrganization/*").as("leaveOrgApiCall");
cy.route("DELETE", "api/v1/organizations/*").as("deleteOrgApiCall");
cy.route("POST", "/api/v1/comments/threads").as("createNewThread");
cy.route("POST", "/api/v1/comments?threadId=*").as("createNewComment");
cy.route("POST", "api/v1/git/connect/*").as("connectGitRepo");
cy.route("POST", "api/v1/git/commit/*").as("commit");
2021-11-02 06:34:43 +00:00
cy.route("PUT", "api/v1/collections/actions/refactor").as("renameJsAction");
2021-11-02 06:34:43 +00:00
cy.route("POST", "/api/v1/collections/actions").as("createNewJSCollection");
cy.route("DELETE", "/api/v1/collections/actions/*").as("deleteJSCollection");
cy.route("POST", "/api/v1/pages/crud-page").as("replaceLayoutWithCRUDPage");
cy.intercept("POST", "/api/v1/users/super").as("createSuperUser");
cy.intercept("POST", "/api/v1/actions/execute").as("postExecute");
cy.intercept("GET", "/api/v1/admin/env").as("getEnvVariables");
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.intercept("GET", "/api/v1/organizations/*/members").as("getMembers");
});
Cypress.Commands.add("startErrorRoutes", () => {
cy.intercept("POST", "/api/v1/actions/execute", { statusCode: 500 }).as(
"postExecuteError",
);
});
Cypress.Commands.add("alertValidate", (text) => {
2020-05-26 12:22:29 +00:00
cy.get(commonlocators.success)
.should("be.visible")
.and("have.text", text);
});
2020-05-29 10:02:03 +00:00
2020-05-28 10:35:54 +00:00
Cypress.Commands.add("ExportVerify", (togglecss, name) => {
cy.togglebar(togglecss);
cy.get(".t--draggable-tablewidget button")
.invoke("attr", "aria-label")
.should("contain", name);
cy.togglebarDisable(togglecss);
});
2020-05-29 10:02:03 +00:00
Cypress.Commands.add("getTableDataSelector", (rowNum, colNum) => {
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
return selector;
});
2020-05-28 10:35:54 +00:00
Cypress.Commands.add("readTabledataPublish", (rowNum, colNum) => {
2020-06-03 10:50:10 +00:00
// const selector = `.t--widget-tablewidget .e-gridcontent.e-lib.e-droppable td[index=${rowNum}][aria-colindex=${colNum}]`;
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
2020-05-28 10:35:54 +00:00
const tabVal = cy.get(selector).invoke("text");
return tabVal;
});
2020-06-04 13:49:22 +00:00
Cypress.Commands.add("tablefirstdataRow", () => {
let tabVal = cy
.xpath(
"//div[@class='tableWrap']//div[@class='table']//div[contains(@class, 'tbody')]/div[@class='tr']/div[@class ='td']",
{ timeout: 10000 },
)
.first()
.invoke("text");
return tabVal;
});
Cypress.Commands.add("scrollTabledataPublish", (rowNum, colNum) => {
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
const tabVal = cy
.get(selector)
.scrollIntoView()
.invoke("text");
return tabVal;
});
Cypress.Commands.add("readTableLinkPublish", (rowNum, colNum) => {
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div .image-cell-wrapper .image-cell`;
const bgUrl = cy.get(selector).should("have.css", "background-image");
return bgUrl;
});
Cypress.Commands.add("assertEvaluatedValuePopup", (expectedType) => {
cy.get(commonlocators.evaluatedTypeTitle)
.first()
.find("span")
.click();
2020-06-04 13:49:22 +00:00
cy.get(dynamicInputLocators.evaluatedValue)
.should("be.visible")
.find("pre")
.first()
2020-06-04 13:49:22 +00:00
.should("have.text", expectedType);
});
2020-06-10 12:25:16 +00:00
Cypress.Commands.add("validateToastMessage", (value) => {
2020-06-10 12:25:16 +00:00
cy.get(commonlocators.toastMsg).should("have.text", value);
});
Cypress.Commands.add("NavigateToPaginationTab", () => {
cy.get(ApiEditor.apiTab)
.contains("Pagination")
.click();
cy.xpath(apiwidget.paginationWithUrl).click({ force: true });
2020-06-10 12:25:16 +00:00
});
Cypress.Commands.add("ValidateTableData", (value) => {
// cy.isSelectRow(0);
cy.readTabledata("0", "0").then((tabData) => {
2020-06-10 12:25:16 +00:00
const tableData = tabData;
expect(tableData).to.equal(value.toString());
2020-06-10 12:25:16 +00:00
});
});
Cypress.Commands.add("ValidatePublishTableData", (value) => {
2020-06-10 12:25:16 +00:00
cy.isSelectRow(0);
cy.readTabledataPublish("0", "0").then((tabData) => {
2020-06-10 12:25:16 +00:00
const tableData = tabData;
expect(tableData).to.equal(value);
2020-06-10 12:25:16 +00:00
});
});
Cypress.Commands.add("ValidatePaginateResponseUrlData", (runTestCss) => {
cy.SearchEntityandOpen("Api2");
2020-06-10 12:25:16 +00:00
cy.NavigateToPaginationTab();
cy.RunAPI();
cy.get(ApiEditor.apiPaginationNextTest).click();
cy.wait("@postExecute");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
2020-06-10 12:25:16 +00:00
cy.get(runTestCss).click();
cy.wait("@postExecute");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(2000);
2020-06-10 12:25:16 +00:00
cy.get(ApiEditor.formActionButtons).should("be.visible");
cy.get(ApiEditor.ApiRunBtn).should("not.be.disabled");
cy.get(ApiEditor.responseBody)
.contains("name")
2020-06-10 12:25:16 +00:00
.siblings("span")
.invoke("text")
.then((tabData) => {
const respBody = tabData.match(/"(.*)"/)[0];
2020-06-10 12:25:16 +00:00
localStorage.setItem("respBody", respBody);
cy.log(respBody);
cy.SearchEntityandOpen("Table1");
2020-06-11 05:13:18 +00:00
// cy.openPropertyPane("tablewidget");
// cy.testJsontext("tabledata", "{{Api2.data.results}}");
2020-06-10 12:25:16 +00:00
cy.isSelectRow(0);
cy.readTabledata("0", "1").then((tabData) => {
const tableData = tabData;
expect(`\"${tableData}\"`).to.equal(respBody);
});
2020-06-10 12:25:16 +00:00
});
});
Cypress.Commands.add("ValidatePaginationInputData", () => {
cy.isSelectRow(0);
cy.readTabledataPublish("0", "1").then((tabData) => {
const tableData = tabData;
expect(`\"${tableData}\"`).to.equal(localStorage.getItem("respBody"));
});
2020-06-10 12:25:16 +00:00
});
Cypress.Commands.add("callApi", (apiname) => {
2020-06-10 12:25:16 +00:00
cy.get(commonlocators.callApi)
.first()
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.click({ force: true });
2020-06-10 12:25:16 +00:00
cy.get(commonlocators.singleSelectMenuItem)
.contains("Execute a query")
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.click({ force: true });
2020-06-10 12:25:16 +00:00
cy.get(commonlocators.selectMenuItem)
.contains(apiname)
[Feature] Unified New Nav (#5558) * temp commit * using onsubmit to continue using action on form * added recaptcha site key to env example file * moved the recaptcha lib loading logic to signup page * removed unnecessary edit * handle the case where the recaptcha token is not provided as env var * added proper env var config for client * recaptcha config for ansible * recaptcha config for heroku * recaptcha config for k8s * updated app.json * fixed the typos * added more description for env vars * removed api key * minor typo fix * added new integration button * updated the add int default link * added active and create new tabs * added the empty components to tabs. will control the section manually. * added proper grid for integrations page * added vertical tabs * Added secondary tabs to integrations page * added separate page for new apis * classname changes * added new components for active queries, new queries etc. * added a separate component for data source list * adding screen component conditionally, to be showing upon user's choice * 1. Added grid styling to datasource home 2. Added connect buttons to em * fixed data source security banner * updated the styling for new api page * added tertiary menu for active integrations * updated styling for active connections * updated collapse component to work properly * added show more option to active data sources * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * removed apis/db tabs and replaced em with integrations tab * removed the unnecessary + integrations btn * Added slash commands button * Adjust styles for better ui * Ordered the action entries under integrations * Added new datasource command * updated the getURL with proper params * updated the link of create datasource btn * updated the back btn link from data source editor * Show connect data cta in property pane * Styling fixes * Fix margin * added scrollable content to create new * added on click scroll to create new page * fixed a bug, creating new datasource twice * added new action creator for integrations. * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * updated the query editor to match the over all theme * updated the query editor tabs * Added the run btn to empty response screens * minor fix * updated the bg color of api type drop down * updated the url being visited after delete api/query * removed log * Insert binding command UI change * More UI changes * removed unnecessary junk from integrations editor index * clean up, removed unnecessary files * removed useless routes * for debugger only checking if integrations editor * Removed all the links for api/query home pages * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * not routing to integrations on create query/api * Hide actions from suggestions in action pages * removed the query/datasource/api home pages * Changes widget.data to widget in slash commands * Show dependencies in property pane * Fix warning * fixed scrolling issue * will show a list of queries and apis for action picker * showing icons for each action under integrations * Fix dropdown not showing up * Minor refactoring. Changed commands * added a way to list data sources in action creators * Update query page url * cam show icons for datasources * Removed unused code * Feature/slash commands (#5002) * Slash commands feature init commit * Added more commands * Introduced JSX to render custom commands * Merge conflict fix * Spacing changes * Added slash commands button * Adjust styles for better ui * Added new datasource command * Minor changes to add new bindings command. Changed ui behaviour of / button * UI style change * Insert binding command UI change * More UI changes * Move command actions to a saga Added support to binding the data back to the widget when are new API is created from widget * Added reverse binding for DB queries * Show / button only on hover * Hide actions from suggestions in action pages * Changes widget.data to widget in slash commands * Minor refactoring. Changed commands * Removed unused code * remove more unusued code * Added support to generate new api from a datasource in quick commands * Code correction to use types * Refactored commands code * Minor bug fixes * Remove new integrations command for actions. Fixed autocomplete not showing up * Changes to prevent autocomplete trigger for navigation commands * Prevent hinter execution when show hint is open already. * Show hinter on focus * Update text to be called in the omnibar * updated the copy for empty active datasources * Update url * Fix text decoration * updated the redirection for back btns * Use themes * Add cypress test * fixed back btn nav * fetching form configs for datasources * a callback fixed * Fix slash command not executed on click (#5540) * Replace the value if not a string else append * Log commands menu events * updated mock data base navigation * updated mock data base navigation * updated the close editors and back buttons * All back btns from editors will go back to data sources and back from data source will go back to canvas * fixed bg colors * minor styled updates * removed margin from header of generic datasource * warnings fixes * If user is already on the location not redirecting em * when editing, will check if the coming from data source and redirect accordingly * updated redirection for newly created api/queries * updated back btn for newly created datasources * back for new curl goes to data sources * Revert "[Fix] revert new nav (#5533)" This reverts commit 1647815d * remaining original reverted chagnes * fixed the width of incoming/outgoing entity bar in property pane * removing residue from resolved merge conflicts * Fix widget icons not visible in dropdown menu * minor fix to use proper integration URL * updated the URLs for unified datasources * converted back and close to btns from banners * on accessing data source from sidebar, it'll always go to view mode * updated the edit path for saas editors * Added saved state for google sheet * on google sheet delete redirecting to create new * minor fix * fixed the redirection call on saving a datasource * removed save and test cmd as it wasn't needed * Removing test cases to be fixed by Arun * commenting more tests to be fixed by Arun * updated call api cy command * Fix extra margin issue * fixed the update datasource saga * fixed video spec * Revert "commenting more tests to be fixed by Arun" This reverts commit 42087a95ad77107401a1619e4c2d4c541a81d6c3. * Revert "Removing test cases to be fixed by Arun" This reverts commit f6fad67e558d22045114a90409428ef9b737478f. * fixed the entity explorer query datasource spec * cautious fix * update widget locators * fixed leave org test * fixes for FormWidgets * updated the image spec * Use memo * Fix debugger url checks * for copy and delete widget pointing directly to svgs * Fix entity text * Fix styling and show tooltip for property pane dependencies * removed the unnecessary callback * added a separate saga to to redirect to new integrations using onSuccess * Bug Fixes - New nav (#5629) * will show scrollbar only on hover * made mock data cards clickable * fixed the grid view * fixed the cursor position when clicking on / btn * updated the hint for `/` command * binding prompt will close on focus change * hiding / command for api body * hiding / command for query pane * Added 2 new icons * Fix cursor position on selecting a binding and clicking on the slash menu button * trying out fix to copyWidget cy command * removing zero width space characters from the property pane text Co-authored-by: arunvjn <arun@appsmith.com> Co-authored-by: Akash N <akash@codemonk.in> Co-authored-by: arunvjn <32433245+arunvjn@users.noreply.github.com> Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-07-07 03:46:16 +00:00
.click({ force: true });
2020-06-10 12:25:16 +00:00
});
2020-08-07 06:56:47 +00:00
Cypress.Commands.add("assertPageSave", () => {
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.get(commonlocators.saveStatusSuccess, { timeout: 40000 }).should("exist");
2020-08-07 06:56:47 +00:00
});
Cypress.Commands.add(
"validateWidgetExists",
{ prevSubject: true },
(selector) => {
cy.get(selector, { timeout: 5000 }).should("exist");
},
);
Cypress.Commands.add("ValidateQueryParams", (param) => {
cy.xpath(apiwidget.paramsTab)
.should("be.visible")
.click({ force: true });
cy.validateCodeEditorContent(apiwidget.paramKey, param.key);
cy.validateCodeEditorContent(apiwidget.paramValue, param.value);
});
Cypress.Commands.add(
"validateCodeEditorContent",
(selector, contentToValidate) => {
cy.get(selector).within(() => {
cy.get(".CodeMirror-code").should("have.text", contentToValidate);
});
},
);
[Feature] Generate template page from datasource (#5513) - Add Generate CRUD page feature - Modify the Datasource card UI in the `INTEGRATION.ACTIVE` tab to directly delete and edit. - Add `renderOption` , `errorMsg`, `isLoading` props in Dropdown component. If `renderOption` prop is not defined, it will show default option UI. - Add getDatasourcesStructure [new entity Selector] ( This will provide all fetched structure of datasources) > Commit Messages ⬇️ * Show disabled GenPage Button for unsupported DS * Add Icon in Select Table and Column dropdown * Add Error message when datasource config has error * Fix the continous loading state issue * Add Not supported datasource in select Table * Add ignoreCache when fetching DS struct * Go to generate page if initiator=generate-page * Fix connect new datasource button disabled * Modify error message for invalid datasource struct * Add snowflake to supported plugin for template * Fix Show More option width * Fix incorrect error msg for valid dS config * Generate page UI improvements * Refactor navigation * Fix Datasource Card UX * Remove semi-colon from Icon loader * Refactor contants * Add executeDatasourceQuery & fetchPluginForm API - WIP google sheet form UI and functionality - Implemented fetch all spreadsheet with mock data * disable S3 and google sheet for generate page * Update yarn.lock * Resolve review comments - Add Messages to `constants/messages` - Add default value for `fetchActionsForPage` 2nd param - Add comment - Remove `onFinishCallback` from `handleFetchedPage` * move string literal to constants/messages * Remove hardcoded pluginId implementation * Refactor getGenerateCRUDEnabledPluginMap selector * Fix CreateAppInFirstListedOrg test command * Add getIsGeneratePageInitiator helper func * Fix Entity explorer Edit option test * Fix CreateAppForOrg test command - Add click on build from scratch in generatePage * Fix deleteDatasource command test - Click on Datasource Name to Edit, Datasource Card handles the click * Fix DynamicLayout spec test issue * Fix pageLoadSpec test * Disable google plugin & Refactor - Add useDatasourceOptions hook * Add datasourceCardMenu in DatasourceEditor.json * Fix issues - Add Icon hover clickable control - Auth API click handler * Fix Createpage test command * Add cypress test for generate page flow * Fix cypress test * Add Analytics * Add comments in CloseEditor * Rename initiator to isGeneratePageMode * Disable S3 for generate CRUD page * Fix generate page from existing datasource issue * Enhance test to verify if data is fetched properly * Wait for get Actions before execute actions * Change the cypress route for excute api Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-29 08:13:10 +00:00
Cypress.Commands.add("renameDatasource", (datasourceName) => {
cy.get(".t--edit-datasource-name").click();
cy.get(".t--edit-datasource-name input")
.clear()
.type(datasourceName, { force: true })
.should("have.value", datasourceName)
.blur();
});
Cypress.Commands.add("skipGenerateCRUDPage", () => {
cy.get(generatePage.buildFromScratchActionCard).click();
});
Cypress.Commands.add("fillAmazonS3DatasourceForm", () => {
cy.get(datasourceEditor.projectID)
.clear()
.type(Cypress.env("S3_ACCESS_KEY"));
cy.get(datasourceEditor.serviceAccCredential)
.clear()
.type(Cypress.env("S3_SECRET_KEY"));
});
Cypress.Commands.add("createAmazonS3Datasource", () => {
cy.NavigateToDatasourceEditor();
cy.get(datasourceEditor.AmazonS3).click();
cy.fillAmazonS3DatasourceForm();
cy.testSaveDatasource();
});
feat: Map Chart widget (#6929) * FEATURE-6314 : Map Chart Widget -- Scaffold the widget * FEATURE-6314 : Map Chart Widget -- Add a new widget icon -- Proptotype the property pane for the first time * FEATURE-6314 : Map Chart Widget -- Install fusionmaps -- Draw naive world map for the PoC * FEATURE-6314 : Map Chart Widget -- Integrate the limited number of FusionMaps into the widget -- Bind basic properties and a action into the map * FEATURE-6314 : Map Chart Widget -- Comment out the console statements for linting error * FEATURE-6314 : Map Chart Widget -- Update dependency versioning * feat: Map Chart Widget -- Fix on linting errors, including unused variables, console statement * Feat: Map Chart Widget -- Install dependencies from scratch * fix: increased max chink size allowed in the build config * Feat: Map Chart Widget -- Refactor code base according to the changed widget structure -- Add cleanup for removing event listener -- Eliminate the unnecessary codes, comments * Feat: Map Chart Widget -- Remove unnecessary icon -- Refactor on constants * Feat: Map Chart Widget -- Add a cypress test case for map type changes -- Add a cypress test case for title change -- Add a cypress test case for toggling show labels -- Add a cypress test case for onEntityClick event listener * feat: Map Chart Widget -- Scaffold the setup for custom map config * feat: Map Chart Widget -- Dynamically import map definition files * feat: Map Chart Widget -- Eliminate unnecessary comments * feat: Fusion Maps Widget -- Update base dependencies * partial map chart changes. * feat: Map Chart Widget -- Refactor entire code base, removing custom configs -- Disable prefetching on mapCharts chunk * feat: Map Chart Widget -- Comment onEntityClick test case out * feat: Map Chart Widget -- Fix on onEntityClick test case * feat: Map Chart Widget -- Change the widget icon -- Rename onEnityClick to onDataPointClick -- Expose selectedDataPoint -- Add a new Cypress test case for the toast message on onDataPointClick * feat: Map Chart Widget -- Add a new property colorRange -- Add default values for data and colorRange properties -- Eliminate unnecessary constant colorRange * feat: Map Chart Widget -- update selectedDataPoint meta property unconditionally * feat: Map Chart Widget -- Update initial map type config to be consistent with the corresponding property * feat: Map Chart Widget -- Add widget icon for entity explorer * feat: Map Chart Widget -- Make array elements of data, colorRange properties unique * feat: Map Chart Widget -- Prevent re-render when disabling color codes and double-clicking on entities * feat: Map Chart Widget -- Declare defaultChartConfigs variable inside component class -- Replace deprecated substr method with substring * feat: Map Chart widget -- Complement validation rules for data property * feat: Map Chart widget -- Define rows and cols without using GRID_DENSITY_MIGRATION_V1 -- Change updateDataSet hook by replacing switch statement with object mapping * feat: Map Chart widget -- Pull out dataSetMapping from the updateDataSet hook * feat: Map Chart widget -- Force click events with regard to onDataPointClick test cases * feat: Map Chart widget -- Update fusioncharts and fusionmaps npm packages to the latest version * feat: Map Chart widget -- Make contents responsive using CSS styles instead of directly changing width, height attributes of the chart Co-authored-by: somangshu <somangshu.goswami1508@gmail.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-07 09:57:45 +00:00
Cypress.Commands.add("updateMapType", (mapType) => {
// Command to change the map chart type if the property pane of the map chart widget is opened.
cy.get(viewWidgetsPage.mapType)
.last()
.click({ force: true });
cy.get(commonlocators.dropdownmenu)
.children()
.contains(mapType)
.click({ force: true });
cy.get(viewWidgetsPage.mapType + " span.cs-text").should(
"have.text",
mapType,
);
});
Cypress.Commands.add("createJSObject", (JSCode) => {
cy.NavigateToJSEditor();
cy.wait(1000);
cy.get(".CodeMirror textarea")
.first()
.focus()
.type("{downarrow}{downarrow}{downarrow}{downarrow} ")
.type(JSCode);
cy.wait(1000);
cy.get(jsEditorLocators.runButton)
.first()
.click();
});
Cypress.Commands.add("createSuperUser", () => {
cy.wait(1000);
cy.get(welcomePage.getStarted).should("be.visible");
cy.get(welcomePage.getStarted).should("not.be.disabled");
cy.get(welcomePage.getStarted).click();
cy.get(welcomePage.fullName).should("be.visible");
cy.get(welcomePage.email).should("be.visible");
cy.get(welcomePage.password).should("be.visible");
cy.get(welcomePage.verifyPassword).should("be.visible");
cy.get(welcomePage.roleDropdown).should("be.visible");
cy.get(welcomePage.useCaseDropdown).should("be.visible");
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.fullName).type(Cypress.env("USERNAME"));
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.email).type(Cypress.env("USERNAME"));
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.password).type(Cypress.env("PASSWORD"));
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.verifyPassword).type(Cypress.env("PASSWORD"));
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.roleDropdown).click();
cy.get(welcomePage.roleDropdownOption)
.eq(1)
.click();
cy.get(welcomePage.nextButton).should("be.disabled");
cy.get(welcomePage.useCaseDropdown).click();
cy.get(welcomePage.useCaseDropdownOption)
.eq(1)
.click();
cy.get(welcomePage.nextButton).should("not.be.disabled");
cy.get(welcomePage.nextButton).click();
cy.get(welcomePage.newsLetter).should("be.visible");
cy.get(welcomePage.dataCollection).should("be.visible");
cy.get(welcomePage.dataCollection)
.trigger("mouseover")
.click();
cy.get(welcomePage.newsLetter)
.trigger("mouseover")
.click();
cy.get(welcomePage.createButton).should("be.visible");
cy.get(welcomePage.createButton).click();
cy.wait("@createSuperUser").then((interception) => {
expect(interception.request.body).not.contains(
"allowCollectingAnonymousData=true",
);
expect(interception.request.body).not.contains("signupForNewsletter=true");
});
cy.LogOut();
cy.wait(2000);
});
Cypress.Commands.add("SignupFromAPI", (uname, pword) => {
cy.request({
method: "POST",
url: "api/v1/users",
headers: {
"content-type": "application/json",
},
followRedirect: false,
form: true,
body: {
name: uname,
email: uname,
password: pword,
},
}).then((response) => {
expect(response.status).equal(302);
cy.log(response.body);
});
});
//Generate CRUD page methods: <Aishwarya>
Cypress.Commands.add("fillMongoDatasourceFormWithURI", () => {
cy.xpath(datasourceEditor["mongoUriDropdown"])
.click()
.wait(500);
cy.xpath(datasourceEditor["mongoUriYes"])
.click()
.wait(500);
cy.xpath(datasourceEditor["mongoUriInput"]).type(
datasourceFormData["mongo-uri"],
);
});
Cypress.Commands.add("startInterceptRoutesForMySQL", () => {
//All stubbing - updating app id to current app id for Delete app by api call to be successfull:
cy.replaceApplicationIdForInterceptPages(
"cypress/fixtures/mySQL_PUT_replaceLayoutWithCRUD.json",
);
cy.intercept("POST", "/api/v1/datasources/test", {
fixture: "testAction.json",
}).as("testDatasource");
cy.intercept("GET", "/api/v1/datasources/*/structure?ignoreCache=*", {
fixture: "mySQL_GET_selectTableDropdown.json",
}).as("getDatasourceStructure");
cy.intercept("PUT", "/api/v1/pages/crud-page/*", {
fixture: "mySQL_PUT_replaceLayoutWithCRUD.json",
}).as("replaceLayoutWithCRUDPage");
cy.intercept("GET", "/api/v1/actions*", {
fixture: "mySQL_GET_Actions.json",
}).as("getActions");
cy.intercept("POST", "/api/v1/actions/execute", {
fixture: "mySQL_POST_Execute.json",
}).as("postExecute");
cy.intercept("POST", "/api/v1/pages/crud-page", {
fixture: "mySQL_PUT_replaceLayoutWithCRUD.json",
}).as("replaceLayoutWithCRUDPage");
});
Cypress.Commands.add("startInterceptRoutesForMongo", () => {
//All stubbing
cy.replaceApplicationIdForInterceptPages(
"cypress/fixtures/mongo_PUT_replaceLayoutWithCRUD.json",
);
cy.intercept("POST", "/api/v1/datasources/test", {
fixture: "testAction.json",
}).as("testDatasource");
cy.intercept("GET", "/api/v1/datasources/*/structure?ignoreCache=*", {
fixture: "mongo_GET_selectTableDropdown.json",
}).as("getDatasourceStructure");
cy.intercept("PUT", "/api/v1/pages/crud-page/*", {
fixture: "mongo_PUT_replaceLayoutWithCRUD.json",
}).as("replaceLayoutWithCRUDPage");
cy.intercept("GET", "/api/v1/actions*", {
fixture: "mongo_GET_Actions.json",
}).as("getActions");
cy.intercept("POST", "/api/v1/actions/execute", {
fixture: "mongo_POST_Actions.json",
}).as("postExecute");
cy.intercept("POST", "/api/v1/pages/crud-page", {
fixture: "mongo_PUT_replaceLayoutWithCRUD.json",
}).as("post_replaceLayoutCRUDStub");
});
Cypress.Commands.add("startInterceptRoutesForS3", () => {
cy.intercept("POST", "/api/v1/datasources/test").as("testDatasource");
cy.intercept("PUT", "/api/v1/datasources/datasource-query/*").as(
"put_datasources",
);
cy.intercept("PUT", "/api/v1/pages/crud-page/*").as("put_replaceLayoutCRUD");
cy.intercept("POST", "/api/v1/pages/crud-page").as("post_replaceLayoutCRUD");
cy.intercept("GET", "/api/v1/actions*").as("get_Actions");
cy.intercept("POST", "/api/v1/actions/execute").as("post_Execute");
});
Cypress.Commands.add("replaceApplicationIdForInterceptPages", (fixtureFile) => {
let currentAppId, currentURL;
cy.readFile(fixtureFile, (err, data) => {
if (err) {
return console.error(err);
}
}).then((data) => {
cy.url().then((url) => {
currentURL = url;
const myRegexp = /applications(.*)/;
const match = myRegexp.exec(currentURL);
cy.log(currentURL + "currentURL from intercept is");
currentAppId = match ? match[1].split("/")[1] : null;
data.data.page.applicationId = currentAppId;
cy.writeFile(fixtureFile, JSON.stringify(data));
});
});
});
Cypress.Commands.add(
"paste",
{ prevSubject: true },
(selector, pastePayload) => {
cy.wrap(selector).then(($destination) => {
const pasteEvent = Object.assign(
new Event("paste", { bubbles: true, cancelable: true }),
{
clipboardData: {
getData: () => pastePayload,
},
},
);
$destination[0].dispatchEvent(pasteEvent);
});
},
);
Cypress.Commands.add("clearPropertyValue", (value) => {
cy.get(".CodeMirror textarea")
.eq(value)
.focus({ force: true })
.type("{uparrow}", { force: true })
.type("{ctrl}{shift}{downarrow}", { force: true });
cy.focused().then(($cm) => {
if ($cm.contents != "") {
cy.log("The field is empty");
cy.get(".CodeMirror textarea")
.eq(value)
.clear({
force: true,
});
}
});
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
});
Cypress.Commands.add(
"validateNSelectDropdown",
(ddTitle, currentValue, newValue) => {
let toChange = false;
cy.xpath('//span[contains(text(),"' + currentValue + '")]').should(
"exist",
currentValue + " dropdown value not present",
);
if (newValue) toChange = true;
if (toChange) {
cy.xpath(
"//p[text()='" +
ddTitle +
"']/parent::label/following-sibling::div/div/div",
).click(); //to expand the dropdown
cy.xpath('//span[contains(text(),"' + newValue + '")]')
.last()
.click({ force: true }); //to select the new value
}
},
);
Cypress.Commands.add("typeValueNValidate", (valueToType, fieldName = "") => {
if (fieldName) {
cy.xpath(
"//p[text()='" + fieldName + "']/parent::label/following-sibling::div",
).then(($field) => {
cy.updateCodeInput($field, valueToType);
});
} else {
cy.xpath("//div[@class='CodeEditorTarget']").then(($field) => {
cy.updateCodeInput($field, valueToType);
});
}
cy.EvaluateCurrentValue(valueToType);
// cy.xpath("//p[text()='" + fieldName + "']/following-sibling::div//div[@class='CodeMirror-code']//span/span").should((fieldValue) => {
// textF = fieldValue.innerText
// fieldValue.innerText = ""
// }).then(() => {
// cy.log("current field value is : '" + textF + "'")
// })
});
Cypress.Commands.add("clickButton", (btnVisibleText) => {
cy.xpath("//span[text()='" + btnVisibleText + "']/parent::button")
.scrollIntoView()
.click({ force: true });
});
Cypress.Commands.add(
"actionContextMenuByEntityName",
(entityNameinLeftSidebar, action = "Delete") => {
test: Automated tests for RestApi Bug in Typescript (#10137) * Bugs #9069, #9201, #6975, #9922 - Scripted * Mongo DS update from Cloud to Localhost * Updating command.js * Ignoring Mongo until Localhost is fixed * S3 fixes * S3 fix * Mongo Cloud to Localhost transition * Bug #6375 scripted * Failure fix * S3 fix + testSaveDs method flow update * Refresh datasource structure script fix * Entity explorer datasource structure script fix * testSaveDs method flow update fixes * testSaveDs method flow update fixes - set 2 * S3, Mongo Skipping cases fix * Custom Chart failure fix * Button-Call-Query Validation case script fix * Confirm run action failure fix * Confirm run action script fix * Dropdown-Call-Query Validation script fix * S3 - Delete icon issue fix * S3 - Delete icon locator updated * actionContextMenuByEntityName method call update * Table widget add new menu button column - rgb fix * Commenting BG color verify - to override flakiness * Mongo skipping script fix * Commenting Cypress.runner.stop() * Removing .skip * Bind_tableApi_spec.js failure fix * Slash command failure fix * Bugs # 8595 & 10049 - Implemented * Updating AGHelper methods to explicit public * Reverting tsconfig.json * tsconfig.json reverted * Adding local tsconfig.json for Cypress tests * fixture read updating for ts tests * Updating .yml files to pick up ts files execution * Including ts files for cypress run * Running only ts test files * Inclusion of TS files for cypress run * Revert cypress.json to run all tests * Added validation for Bug #10055 & commented * Flaky fix
2022-01-06 15:06:17 +00:00
cy.wait(2000);
cy.xpath(
"//div[text()='" +
entityNameinLeftSidebar +
"']/ancestor::div[contains(@class, 't--entity')]//span[contains(@class, 'entity-context-menu')]//div",
)
.first()
.click({ force: true });
cy.xpath(
"//div[text()='" +
action +
"']/parent::a[contains(@class, 'single-select')]",
)
.click({ force: true })
.wait(500);
if (action == "Delete")
cy.xpath("//div[text()='" + entityNameinLeftSidebar + "']").should(
"not.exist",
);
},
);
Cypress.Commands.add("selectEntityByName", (entityNameinLeftSidebar) => {
cy.xpath(
"//div[contains(@class, 't--entity-name')][text()='" +
entityNameinLeftSidebar +
"']",
)
.last()
.click({ force: true })
.wait(2000);
});
Cypress.Commands.add(
"EvaluatFieldValue",
(fieldName = "", currentValue = "") => {
let toValidate = false;
if (currentValue) toValidate = true;
if (fieldName) {
cy.xpath(
"//p[text()='" +
fieldName +
"']/parent::label/following-sibling::div//div[@class='CodeMirror-code']",
).click();
} else {
cy.xpath("//div[@class='CodeMirror-code']").click();
}
cy.wait(3000); //Increasing wait time to evaluate non-undefined values
const val = cy
.get(commonlocators.evaluatedCurrentValue)
.first()
.should("be.visible")
.invoke("text");
if (toValidate) expect(val).to.eq(currentValue);
return val;
},
);
cy.all = function(...commands) {
const _ = Cypress._;
const chain = cy.wrap(null, { log: false });
const stopCommand = _.find(cy.queue.commands, {
attributes: { chainerId: chain.chainerId },
});
const startCommand = _.find(cy.queue.commands, {
attributes: { chainerId: commands[0].chainerId },
});
const p = chain.then(() => {
return _(commands)
.map((cmd) => {
return cmd[chainStart]
? cmd[chainStart].attributes
: _.find(cy.queue.commands, {
attributes: { chainerId: cmd.chainerId },
}).attributes;
})
.concat(stopCommand.attributes)
.slice(1)
.flatMap((cmd) => {
return cmd.prev.get("subject");
})
.value();
});
p[chainStart] = startCommand;
return p;
};
Cypress.Commands.add("renameWithInPane", (renameVal) => {
cy.get(apiwidget.ApiName).click({ force: true });
cy.get(apiwidget.apiTxt)
.clear()
.type(renameVal, { force: true })
.should("have.value", renameVal)
.blur();
});
Cypress.Commands.add("getEntityName", () => {
let entityName = cy.get(apiwidget.ApiName).invoke("text");
return entityName;
});
Cypress.Commands.add("VerifyErrorMsgAbsence", (errorMsgToVerifyAbsence) => {
// Give this element 10 seconds to appear
//cy.wait(10000)
cy.xpath(
"//div[@class='Toastify']//span[contains(text(),'" +
errorMsgToVerifyAbsence +
"')]",
{ timeout: 0 },
).should("not.exist");
});
Cypress.Commands.add("setQueryTimeout", (timeout) => {
cy.get(queryLocators.settings).click();
cy.xpath(queryLocators.queryTimeout)
.clear()
.type(timeout);
cy.get(queryLocators.query).click();
});
//Not Used!
Cypress.Commands.add("VerifyNoDataDisplayAbsence", () => {
cy.xpath("//div[text()='No data to display']", { timeout: 0 }).should(
"not.exist",
);
});
// Cypress.Commands.add('isNotInViewport', element => {
// cy.xpath(element).then($el => {
// const bottom = Cypress.$(cy.state('window')).height()
// const rect = $el[0].getBoundingClientRect()
// expect(rect.top).to.be.greaterThan(bottom)
// expect(rect.bottom).to.be.greaterThan(bottom)
// expect(rect.top).to.be.greaterThan(bottom)
// expect(rect.bottom).to.be.greaterThan(bottom)
// })
// })
Cypress.Commands.add("isNotInViewport", (element) => {
cy.xpath(element).should(($el) => {
const bottom = Cypress.$(cy.state("window")).height();
const right = Cypress.$(cy.state("window")).width();
const rect = $el[0].getBoundingClientRect();
expect(rect).to.satisfy(
(rect) =>
rect.top < 0 || rect.top > bottom || rect.left < 0 || rect.left > right,
);
});
});
Cypress.Commands.add("isInViewport", (element) => {
cy.xpath(element).then(($el) => {
const bottom = Cypress.$(cy.state("window")).height();
const rect = $el[0].getBoundingClientRect();
expect(rect.top).not.to.be.greaterThan(bottom);
expect(rect.bottom).not.to.be.greaterThan(bottom);
expect(rect.top).not.to.be.greaterThan(bottom);
expect(rect.bottom).not.to.be.greaterThan(bottom);
});
});
// Cypress.Commands.overwrite("type", (originalFn, element, text, options) => {
// const clearedText = '{selectall}{backspace}'+`${text}`;
// return originalFn(element, clearedText, options);
// });
addMatchImageSnapshotCommand({
failureThreshold: 0.1, // threshold for entire image
failureThresholdType: "percent",
});