* Added a prop to hide the entity explorer search
* Updated the cypress tests to accomodate invisible entity explorer search bar
* Removed cmd + f key mapping for entity search.
Although, keeping it for widget search
* blocking default `cmd+f` event only if widget search is present
Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
* removed a test case dependent on entity search.
* Revert "removed a test case dependent on entity search."
This reverts commit d5595d1856bbbb6ae472f26cb125b86787197b48.
* fixed test cases for table widget to force em to use table's search functionality
Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
* added the isOpen and onClose pros to context menu component
* added a warning shown before letting a user leave org
* added confirmation modal for removing members from table
* Added warning modal to be showing on member deletion
* updated cypress tests
* fixed typo
* removed log
* updated deleteUserFromOrg cypress command
* added the isOpen and onClose pros to context menu component
* added a warning shown before letting a user leave org
* added confirmation modal for removing members from table
* Added warning modal to be showing on member deletion
* updated cypress tests
* fixed typo
* removed log
* 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>
* [Issue #4572]-Added API to leave organisation by any user
[Issue #4572]-Add option for organization admins to leave an organization
* -add option to leave organization in frontend for non-admin users
* -updated the leave org endpoint path and HTTP method as per PR review
* Update app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserOrganizationServiceImpl.java
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
* Update app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserOrganizationServiceImpl.java
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
* -add cypress test and some minor changes as per PR comment
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
* dot added after selection of an option
* added all options to autocomplete list
* small css change
* css changes
* small function change
* removed commented code
* data type match with autocomplete
* added headers and changes cursor activity for autocomplete
* removed wrong value
* removed type from server added to showhint
* modified and added test case
* small modification for test cypress case
* Handling multipart form data in the CURL import flow
* Adding Cypress test for curl import with multipart/form-data
* Also fixing minor bug where the form values need not always be double-quoted
* Expose response headers for API/DB actions
* Added responseMeta to actions datatree
* Modified cypress test to account for responseMeta
* Modify cypress test case
* More test changes
* Modified tests
* During updateDependencyMap, when dependencies are getting added for a path, only add if the dependency is not a parent of the path.
* To avoid catching all cyclical dependencies, only handling catching incorrect action dependencies when the dependency paths dont yet exist.
* Revert "To avoid catching all cyclical dependencies, only handling catching incorrect action dependencies when the dependency paths dont yet exist."
This reverts commit c494932289e33287074c56844fbf76c8418875af.
* Disabling cypress test which asserts cyclical errors when depending on yourself
* added basic function structure for creating organization
* added functionality for automatically creating an organization with 'Untitled organization 1' like applications. Need to add tests.
* added test for creating organizations with default names
* added tests for creating org with default name
* updated jest tests to not fill in the organization form
* remove unused imports
* deleted unnused files
* added more test to check invite users to application and check that the create application is visible
* updated share application tests according to the new workflow
* fix failing tests. TODO: fix tests with renameRandomOrg to rename specific org
* remove rename random org and rename specific orgs
* remove blocking code so the element can be scrolled into view
* fix tests
* try to fix flaky tests
* remove unused
* remove create organization tests as we are testing these components elsewhere
* fix failing tests by stubbing create org response
* update tests according to new workflow
* create basic button for forking
* added menu item for fork, opens a basic modal. TODO: Add functionality to fork
* clicking fork app enables organization select and forks across applications
* added close modal functionality. TODO: add tests, optimise code, remove duplicate and use exportswhere possible
* removed unused code
* Added cypress tests to check that fork app creates an app with same dsl. Tests Failing, needs fixing
* tests fixed, but needs unexpected login from cy
* Resolved bug with login by using correct cypress selectors
* Added tests to check that dsls match, added documentation and removed unused code
* remove unused fork function and directly dispatch from modal
* refactor code
* revert
* removed unused code and refactored tests
* feature/fork-apps-across-orgs-refactor
* make code prettier
* renamed components correctly
* refactored modal code into single file. TODO: fix warnings, test and remove unused code
* pass setModalClose to dialog component to maintain global modal state
* Added types for fork modal props
* update tests and remove unused code
* Removed isDeployedApp and instead passed trigger as a prop
* remove console logs and revert imports to small case
* rename files as components
* minor changes
* cleanup
* mock dispatch for jest
* move jest mocks to component tests