* 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 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>
* 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
* create new app flow
* uncontrolled component error fixed
* loader added when user is deleting or user role is updating
* home page loader and create-new-app loader added
* user role changing and use deleting state fixed
* PR feeback changes added
* orgname loader added
* warnings removed
* fixed create-new-app flow and delete app test cases
* beforeAll test case condition fixed
* Initial navigation condition fixed in createOrg test cases
* app card loading state fixed
* 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>
* 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>
* Members and org settings page.
* Adding link back to applications
* Making UI look better.
* Fixing some more css
* Table dropdown onBlur, UI transparency, Popover issue fixed. Added sort arrow (#413)
* table dropdown ui issue and onblur click fixed
* position props value fixed
* tabs tripple click fixed
* Position props in table dropdown made optional
* tabs background color bug removed
* General settings page is bug free.
* Getting the manage users page to work.
* Moving general settings into its own file.
* Removing some unwanted URLs
* User cant change their role or remove themselves
* Changing onClick prop for Icon.
* Fixing tests
* Added loading states to text inputs.
* Added validators for text input
* Fixed border of skeleton for text input
* Adding a loader for Members screen
* Adding Noop to icon button
* Removing console.log
* Fixing imports.
* Moving org reducer to immer.
* Using utils email validator.
* Removing placeholder from text input props.
Co-authored-by: devrk96 <rohit.kumawat@primathon.in>
* Create Org related usecases
* Review comments incorporated
* Updated with env variables for test users and routes
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
The current push for fixing tests in the new ACL flow.
1. New way to handle create application.
2. API login
3. Removed redundant tests.
4. Fixed Issues wrt ACL changes