Commit Graph

4011 Commits

Author SHA1 Message Date
Bhavin K
46844053cf
Bug/tablewidget image url spliting (#5627)
Fixing #5480 where the app became unusable because of a regex introduced in the build
2021-07-06 18:43:26 +05:30
akash-codemonk
6d83d8d7c5
Fix: Fix case when a derived property changes the dependent properties are not logged in the debugger (#5442) 2021-07-06 16:13:01 +05:30
Satish Gandham
6098241403
Add performance tracker for resizable component (#5573)
* Add types for wdyr manually

* Add performance tracker for resizable component. Represent the hover performance.

* Pass down widget details to resizable component

* Remove debugging code.

Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-07-06 14:51:46 +05:30
Pawan Kumar
df4cfb99ab Fix: App crash on list widget after copy/paste (#5605)
* fix list widget in list widget bug when pasting

* remove console.log

* add test

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
(cherry picked from commit fa4e42f4c6)
2021-07-06 12:30:07 +05:30
Pawan Kumar
fa4e42f4c6
Fix: App crash on list widget after copy/paste (#5605)
* fix list widget in list widget bug when pasting

* remove console.log

* add test

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-07-06 12:24:34 +05:30
Yash Vibhandik
ca87b692bd
FIX #4802 : Color picker inconsistency (#4822)
* convert green rgb to hex code
* update Container_spec cypress test
2021-07-06 12:07:19 +05:30
Tolulope Adetula
6d32e868ce
feat: HTML Render option (#5566)
* Text widget now has an option to render the HTML code as it is. Once the user enables `render as html` the text widget will not parse HTML
2021-07-06 10:34:54 +05:30
Paul Li
d658d64961
FEATURE-1726 : Iframe Widget (#5588)
-- Change border style to solid instead of inset
2021-07-05 18:57:33 +05:30
Tolulope Adetula
f864f689cd
fix: Add Appname to title (#5488)
The appname will be displayed on the browser tab instead of `appsmith | editor / viewer`
2021-07-05 18:56:56 +05:30
Hetu Nandu
be05a1bc26 Add node-forge crypto libraries (#5597) 2021-07-05 17:16:21 +05:30
Hetu Nandu
d4f3d49681
Add node-forge crypto libraries (#5597) 2021-07-05 17:15:21 +05:30
Hetu Nandu
75c439f66d
Handle exception where prepared statements viewer does not get a value (#5531) 2021-07-05 16:29:48 +05:30
Rishabh Saxena
3391ead510
Minor fixes related to the comments feature (#5551) 2021-07-05 12:42:02 +05:30
Ayush Pahwa
fac59c75bb
Updating state on componentDidUpdate (#5476)
* Updating state on componentDidUpdate

* Removed console logs, replaced text with enum

* Removed the unnecessary return statements
2021-07-05 11:51:29 +05:30
Hetu Nandu
c2a1c1feb4
Don't log debug level logs in prod (#5527) 2021-07-05 11:19:43 +05:30
Yash Vibhandik
8ef7c62bb6
FIX #4376 : update default config response to render proper data for … (#4778)
- update default config response to render proper data for table widget drop on canvas
- clone data for primaryColumns
2021-07-05 11:01:47 +05:30
Yash Vibhandik
02384eed36
updated isLoading state when event action completed in Filepicker widget (#5407) 2021-07-05 10:58:47 +05:30
Yash Vibhandik
54c3cfc028
FIX #4813 : display filter count and highlighted filter button (#4916)
- add condition for display filter count and highlighted filter button
- update boolean prop to color string to handled highlight filtered text
2021-07-05 10:56:50 +05:30
akash-codemonk
234ba480f8
Fix flaky debugger test (#5555) 2021-07-05 10:53:57 +05:30
Vicky Bansal
b6e205e5b2
Fix-Rename compact mode property in Table Widget to Row Height (#5496)
* Change compact mode title to Row height in property pane configurations
2021-07-02 16:57:20 +05:30
Vicky Bansal
fb9925cdc3
Fix-Input widget with text area expands over boundaries (#5114)
* Fix input widget resize issue due to textarea resizable

Added cypress test to validate textarea cannot be resized

* Removed cypress test and added jest test for input textarea css testing
2021-07-02 16:53:38 +05:30
Paul Li
38ffe86290
Rate widget (#4891)
* FEATURE-3357 : Rate Widget

-- Create the first MVP of rate widget

* FEATURE-3357 : Rate Widget

-- Change the widget name into rating
-- Change the widget icon
-- Fix the overflow issue in case max count is big
-- Fix the issue in case default rate is zero
-- Add validations for maxCount and defaultRate

* FEATURE-3357 : Rate Widget

-- Fix an issue : Stars is cut off if maxCount is greater than 20
-- Add test cases for two validation types, RATE_DEFAULT_RATE and RATE_MAX_COUNT

* FEATURE-3357 : Rate Widget

-- Add expected data type for tooltip field

* FEATURE-3357 : Rate Widget

-- Expose maxCount

* FEATURE-3357 : Rate Widget

-- Change contents of isAllowHalf property
-- Adjust alignment of stars dynamically
-- Decrease default widget width

* FEATURE-3357 : Rate Widget

-- Remove a unnecessary comment block
2021-07-02 15:25:50 +05:30
Yash Vibhandik
6102f5b119
Added text color JS convertible support in text widget
added text color js convertible support in text widget, added COLOR_PICKER_TEXT validation and updated test case (#5409)
2021-07-02 12:39:17 +05:30
Rishabh Saxena
cf7fe8d6a8
Collab minor fixes (#5457) 2021-07-02 11:34:36 +05:30
akash-codemonk
7d57311290
Fix: Remove property from dependency map when binding is removed (#5538) 2021-07-01 18:48:46 +05:30
Pranav Kanade
1647815d24
[Fix] revert new nav (#5533)
* Revert "[Bug] Mock data section is missing (#5517)"

This reverts commit be48f2f5

* Revert "[Feature #4542] : simple nav unify api/datasource (#4987)"

This reverts commit 8d8b9ed2
2021-07-01 18:14:41 +05:30
Bhavin K
96c6b3b80f
moved table property pane config (#5478)
In the table widget, The header options are not re-ordered below the Actions
2021-07-01 12:23:21 +05:30
Pranav Kanade
be48f2f50f
[Bug] Mock data section is missing (#5517)
* updated the condition to show mock databases

* removed log
2021-07-01 11:21:54 +05:30
Pranav Kanade
8d8b9ed203
[Feature #4542] : simple nav unify api/datasource (#4987)
* 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

* removed apis/db tabs and replaced em with integrations tab

* removed the unnecessary + integrations btn

* Ordered the action entries under integrations

* updated the getURL with proper params

* updated the link of create datasource btn

* updated the back btn link from data source editor

* 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.

* 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

* 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

* not routing to integrations on create query/api

* removed the query/datasource/api home pages

* fixed scrolling issue

* will show a list of queries and apis for action picker

* showing icons for each action under integrations

* added a way to list data sources in action creators

* cam show icons for datasources

* linked integration tab movement to URL

* fixed the create new query bug

* removed search

* added the auto redirection mode

* added new mode to support showing mock data bases

* on click show more works properly

* removed extra padding

* removed height

* showing all the data sources on active tab

* fixed the creation of google sheet

* updated the proper routing for curl

* fixed page height

* removed loader

* added a spinner for creating a new api

* will be showing edit/add query permanantly

* updated the redirection on save and delete datasource

* fixed the redirection logic on delete

* will not show security banner

* added empty state for active data sources

* updated the hover state

* minor fix to redirect on delete from entity pane

* fixed a cy command to create new api

* fixed a command to select api/query from lightning menu

* updated the navigate to data source editor

* removed add btns for new int creation

* updated the testSaveDeleteDatasource command

* fixed bind table text pagination spec

* more test case fixes for deleting a query using context menu

* update curl test

* updated curl post import spec

* fixed click from apis to integrations

* updated execute db query command + updated delete query mech

* updated CreationOfUniqueAPIcheck command

* updated query datasource spec

* fixed an action creator bug.

* fixed curl api creation bug

* removed irrelavent part of the test

* fixed the button colors

* updated back link from datasource page

* Revert url validation changes for the debugger since this is used to check whether we are on a query or an api and show its dependencies

* updated a test case to open integrations option in action selectors

* Update app/client/src/pages/Editor/IntegrationEditor/DatasourceCard.tsx

Co-authored-by: Rishabh Saxena  <rishabh.robben@gmail.com>

* separated msg

* styling fixes for collapse component

* renamed a file

* declared a new const in theme

* updated border

* removed a faint line from collapse card

* removed unnecessary condition

* updated component name

* log removed

* split action creator file

* updated the icon usage in action creators

* can properly fetch mock data sources

* can show mock databases in create new

* can use mock db sources

* fixed the scrollbars

* updated the api icon for both global search + action creator

* updated integrations name in datasources

* added a back to canvas ribbon

* updated query and api editor to show back to canvas ribbon

* added a ribbon to go back

* updated button styles

* updated the action creator and test commands/classes

* updates to show the proper mock databases

* added proper type for mock datasources

* removed unnecessary log

* updated a test case to work with new nav

* minor updates for tests

* updated a command to properly delete a datasource

* minor redirection fix

* made the mock db api call unblocking

* fixed scroll bars all over

* fixed bg colors for back ribbons

* declared a constant for thin scrollbar

* removed unnecessary action.

Co-authored-by: Akash N <akash@codemonk.in>
Co-authored-by: Rishabh Saxena  <rishabh.robben@gmail.com>
2021-06-30 23:51:52 +05:30
Rishabh Saxena
5681468752
Show page entities on top within global search results (#5494) 2021-06-30 17:15:48 +05:30
Ayush Pahwa
56bf480f0a
Added a variable to props to display the placeholder text (#5082)
The default text shown when the error tab or logs tab is empty in the debugger is the same. This fix changes that text by adding a variable in the props of the BlankState component.
2021-06-30 16:33:35 +05:30
Aswath K
ad9319980f
Fix page load actions not triggering when switching pages in edit mode (#5430) 2021-06-30 12:49:43 +05:30
Hetu Nandu
7876967b34
Fix invalid quotes breaking evaluation (#5413) 2021-06-29 20:00:39 +05:30
Tolulope Adetula
132abdaa54
feat: add object fit control (#4986)
* Added attribute to image widget to change cover properties
2021-06-29 19:00:14 +05:30
Bhavin K
140d6c8dda
fix: comma-separated splitting of image url in table col of type image (#4427)
* fix for comma separated splitting of image url in table col of type image
2021-06-29 18:59:19 +05:30
somangshu
a42e89a8a2 Merge branch 'release-frozen' into release 2021-06-29 17:07:31 +05:30
NandanAnantharamu
27171765e2
Added delay after typing in Cypress test (#4168)
* added delay after typing

* updated method

* updated type in test

* updated common method

* Added wait between CreationOfUniqueAPIcheck()

Added delay between CreationOfUniqueAPIcheck() to prevent the stale exception.

* Updated API name

* Upated spec to handle retry

Co-authored-by: arslanhaiderbuttar <arslan@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-06-29 17:01:53 +05:30
dependabot[bot]
f5cb70e06c
Bump prismjs from 1.23.0 to 1.24.0 in /app/client (#5458)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-29 15:32:18 +05:30
Somangshu Goswami
9b1dbeb9dc
Revert "Enable total number of rows and page size for server side pagination in table widget (#4863)" (#5469)
This reverts commit related to #2230 & #1578. We will revisit this problem again and implement the solution based on the discussion in the thread.
2021-06-29 15:01:41 +05:30
Hetu Nandu
da8740f141
Update form label changes (#5468) 2021-06-29 14:26:15 +05:30
imgbot[bot]
0ed6a018ca
[ImgBot] Optimize images (#5467)
*Total -- 1,409.96kb -> 1,370.42kb (2.8%)

/static/animations/invite.gif -- 778.42kb -> 751.72kb (3.43%)
/static/animations/login-google.gif -- 625.10kb -> 612.35kb (2.04%)
/app/client/src/assets/icons/comments/chat.svg -- 0.44kb -> 0.43kb (1.79%)
/app/client/src/assets/icons/comments/comment-mode-unread-indicator.svg -- 0.58kb -> 0.57kb (1.69%)
/app/client/src/assets/icons/comments/notifications-empty-state.svg -- 4.78kb -> 4.71kb (1.39%)
/app/client/src/assets/icons/widget/embed.svg -- 0.64kb -> 0.64kb (0.46%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-29 14:10:56 +05:30
NandanAnantharamu
b11f0d8d7f
Removed Reload action (#5450)
* removed Reload action

* count assertion removed
2021-06-28 20:43:44 +05:30
Yash Vibhandik
c5e56662a1
FIX #4627: updated css to change button widget height when deployed (#5439)
This fixes the difference in the height of a button widget between edit mode and deploy mode.
2021-06-28 18:56:11 +05:30
YogeshJayaseelan
2e96701ff3
Manual test Ideas for GoogleSheets and Mongo DB Form Input (#4857) 2021-06-28 15:41:20 +05:30
NandanAnantharamu
2370331628
Test updated as it was flaky (#5441) 2021-06-28 14:05:06 +05:30
Rishabh Saxena
5fe13f5da4
Onboarding typeform related fixes (#5416) 2021-06-28 13:08:44 +05:30
Ashok Kumar M
cf19b8e44d
[Feature] Widget Grouping Phase - 3 (Cut Copy Paste) (#5083)
* Cut copy paste first cut

* removed different parent groups logic

* mouseup on the outer canvas removes selections.

* bug fix

* remove unwanted dead code.

* Adding tests

* build fix

* min height fixes

* fixing specs.

* fixing specs.
2021-06-28 12:41:47 +05:30
akash-codemonk
d4dfa836b1
Changes to show multiple messages for a log in the debugger (#5144) 2021-06-28 09:44:06 +05:30
Snyk bot
9ab1113763
Security upgrade node-sass from 4.14.1 to 6.0.1
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TRIMNEWLINES-1298042
2021-06-28 01:04:39 +05:30
Sumit Kumar
b2d4454492
Feature: add api key based and bearer token based authentication options to REST API datasource (#5367)
* add api key based and bearer token based authentication options to REST API datasource
* this change is ported to release from Feature: datasource changes for api key auth, bearer token auth, combine config. #4683
2021-06-25 12:15:48 +05:30
arslanhaiderbuttar
950257f8f2
Chart UI test cases (#5370)
* Chart UI Test Cases

Added UI Test cases for Chart Widget.
- All Chart Types
- JS Scenarios
- onClick Scenarios
- Copy
- Delete

* Fixed Chart displaying issue.

Fixed Chart displaying issue.
2021-06-24 19:28:20 +05:00
Rishabh Saxena
6640a64fe4
Make the whole window scrollable instead of the main container (#5369) 2021-06-24 16:41:56 +05:30
akash-codemonk
7f478482d1
Fix: Fixes a bug in onboarding flow step 1 (#5363) 2021-06-24 14:42:12 +05:30
Rishabh Saxena
b24dd8f8b2
Minor collab fixes (#5271) 2021-06-24 14:34:27 +05:30
Rishabh Saxena
29a6136380
Set mode for comments (#5372) 2021-06-24 12:51:01 +05:30
Rishabh Saxena
a61b802039
Update comments onboarding carousel images (#5373) 2021-06-24 12:50:35 +05:30
Pranav Kanade
599996fbfa
bug/duplicate application name error will be handled (#5316)
* will show last saved app name if save app name action results in error

* handled duplicate appname update for editing cards

* fixed the app icon update bug

* updated list widget dsl
2021-06-24 12:02:09 +05:30
akash-codemonk
3747d41c30
Show the associated page name subtly in the omnibar (#5120) 2021-06-24 11:14:36 +05:30
Rishabh Saxena
c351643f57
Notification updates (#5239) 2021-06-23 21:12:07 +05:30
Vicky Bansal
fe700a8049
Fixed empty area issue when columns are hidden in published mode (#5162) 2021-06-23 19:09:04 +05:30
Hetu Nandu
dce3a80e40
Minor fixes for errors (#5361) 2021-06-23 18:55:18 +05:30
Vicky Bansal
6b7aef8dc8
Enable total number of rows and page size for server side pagination in table widget (#4863)
* Add defaultPageSize and totalRecordsCount properties in table widget

* Changing next button disable

* Added checks for properties change

* Handle defaultPageSize change

* Updated util.test to handle new table properties

* Configure for cypress test for page size and total records count properties

* Added cypress test for default page size and total records count validation

* Fix test cases

* Handle empty space for page size is less than availabe space in table widget
2021-06-23 18:53:24 +05:30
Satish Gandham
47bc5aa032
Merge pull request #5026 from appsmithorg/feature/1726-iframe-widget
Adding iframe widget
2021-06-23 13:01:40 +05:30
Hetu Nandu
eae2e46b9d
Fix cyclical dependency issue when Api returns an error (#5333)
Co-authored-by: Trisha Anand <trisha@appsmith.com>
2021-06-23 12:59:36 +05:30
NandanAnantharamu
3fb00b6c7a
Added Cypress tests for tab widget (#4345)
* Added tests for tab widget

* Added another test

* Commone method updated

* commented test
2021-06-22 23:26:45 +05:30
rahulramesha
b12cea84a6
Merge pull request #5167 from appsmithorg/FIX/5073-File-Picker-close-button-tool-tip-content-change
FIX/5073 for File Picker close button tool tip content change
2021-06-22 16:52:19 +05:30
Somangshu Goswami
3c8944cc1c
Merge pull request #4341 from appsmithorg/fix/dropdown-overlap-modal
fix: Dropdown option gets overlapped on the ModalComponent
2021-06-22 15:37:44 +05:30
dependabot[bot]
d20dec6cf6
Bump ws from 6.2.1 to 6.2.2 in /app/client (#4941)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 13:49:38 +05:30
arunvjn
f4b1daa459
Use loadash get function to add fall back value to datasource url (#5285) 2021-06-22 11:56:18 +05:30
Shrikant Sharat Kandula
c4acc05d27
Remove unused configurations in Netlify 2021-06-22 10:45:54 +05:30
arunvjn
469d7f0e14
Fix to enable scroll in sql query results. (#5091)
* Dynamically adjust table virtualizer's height according to resizer
2021-06-22 09:23:53 +05:30
arunvjn
655918f741
Removed intermediate navigation to datasource list page. (#5304) 2021-06-21 21:28:00 +05:30
Hetu Nandu
441f42c72f
Generate linting errors via JSHint (#5034) 2021-06-21 16:39:51 +05:30
Paul Li
9bc1cd4899 Merge branch 'release' into feature/1726-iframe-widget 2021-06-21 06:54:20 -04:00
Paul Li
96c273cc22 FEATURE-1726 : Iframe Widget
-- Set default source url to wikipedia.org
-- Fix typo on the tooltip of onURLChanged, url to URL
-- Fix the issue which is related to reduced iframe in its deploy mode
-- Fix the issue which is related to the inclusion of nearby widgets in deploy mode
-- Add Expected Data Type fields with regard to borderOpacity and borderWidth
2021-06-21 06:48:00 -04:00
rahulramesha
c17588f2f8 Merge branch 'release' of github.com:appsmithorg/appsmith into FIX/5073-File-Picker-close-button-tool-tip-content-change 2021-06-21 15:17:10 +05:30
imgbot[bot]
4117aba204
[ImgBot] Optimize images (#5277)
*Total -- 3,594.44kb -> 3,429.78kb (4.58%)

/static/animations/widgets.gif -- 1,349.47kb -> 1,261.08kb (6.55%)
/static/animations/javascript.gif -- 2,244.10kb -> 2,167.84kb (3.4%)
/app/client/src/assets/icons/comments/filter.svg -- 0.86kb -> 0.86kb (0.34%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-21 14:55:06 +05:30
Somangshu Goswami
82a62cf4a7
Merge pull request #4864 from appsmithorg/FIX/4731-dragging-and-dropping-table-widget-error-in-debugger
FIX #4731: update condition for selectedRowIndices when table widget drag and drop
2021-06-21 14:39:10 +05:30
arslanhaiderbuttar
a9961f06ef
Merge pull request #5170 from appsmithorg/buttonUITestCases
Button UI test cases
2021-06-21 13:23:30 +05:00
akash-codemonk
e7f6598231
Fix: Log dependent property values in debugger when a property is updated (#4865) 2021-06-21 13:50:25 +05:30
Yash
26a70870f0 Merge remote-tracking branch 'origin/release' into FIX/4731-dragging-and-dropping-table-widget-error-in-debugger 2021-06-21 13:15:07 +05:30
imgbot[bot]
6358062dd7
[ImgBot] Optimize images (#5260)
*Total -- 1,360.99kb -> 1,333.59kb (2.01%)

/static/animations/running-api.gif -- 1,353.80kb -> 1,326.48kb (2.02%)
/app/client/src/assets/images/InspectElement.svg -- 4.50kb -> 4.43kb (1.46%)
/app/client/src/assets/icons/comments/down-arrow.svg -- 0.32kb -> 0.32kb (1.21%)
/app/client/src/assets/icons/ads/bell.svg -- 0.38kb -> 0.37kb (0.78%)
/app/client/src/assets/icons/ads/upload_success.svg -- 0.48kb -> 0.48kb (0.61%)
/app/client/src/assets/icons/ads/download.svg -- 0.60kb -> 0.60kb (0.49%)
/app/client/src/assets/icons/comments/eye.svg -- 0.91kb -> 0.91kb (0.32%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-21 11:28:32 +05:30
arslanhaiderbuttar
ef39ae8c68
Updated Widgets_form_input_table_default_validation.js
Updated Widgets_form_input_table_default_validation.js
2021-06-18 17:08:57 +05:00
Abhinav Jha
2c3b457b47
Fix Table Widget Filter issue (#3975)
* Fix issue where non-string empty values are not correctly filtered

* Add unit test for fix
2021-06-18 17:34:34 +05:30
Pawan Kumar
91bf527bea
List Widget Phase 2 (#4189)
* update  meta properties + default properties map

* update widget registery

* update get meta property

* update metahoc + widgetfactory + data tree evaluator

* try sending function as string to worker

* revert data tree evaluator update

* pass default props map from dataTreeWidget file

* wip

* save child meta properties

* remove console.log

* save meta and default map in list

* update listwidget

* remove console.log + unused variables

* revert getMetaPropertiesMap function

* fix data tree test

* fix list widget test

* fix entity definition test

* fix overriting of item in updatedItems

* remove todo comments

* fix meta prop issue

* revert making meta properties from undefiend to "" & fix filepicker bug

* fix test case

* change items to listData and updatedItems to items

* remove console.log

* fix test

* extract derived properties to dervied.js

* disabled top, left, right resize handler list widget container

* add test for dervied js

* add test for selectedItem

* fix background color bug on hover

* remove console.log

* fix chart widget inside list widget

* fix checkbox issue + points raised by yogesh

* revert the createImmerReducer usage

* fix parse derived properties

* remove internal props object that fails the test

* fix import typo

* allow bottom resize handler

* fix template height check

* fix template height check

* update template size check

* fix the is visible invalid prop issue

* fix migration of list widget phase 2

* fix migration

* remove unused import

* fix migration

* fix migration

* remove console.log

* hide delete option for container in entity explorer

* fix testcases

* remove unused import

* fix switch widget meta prop

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-06-18 13:12:57 +05:30
Tolulope Adetula
2e896e1ddd Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-18 07:09:34 +01:00
Satish Gandham
295ac586ba
Merge pull request #5222 from appsmithorg/ui/perf/add-widget-type-id-to-property-pane-tracker
Add widget type and id to property pane tracker
2021-06-18 11:37:55 +05:30
Tolulope Adetula
9b39cdbb45 Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-18 07:07:35 +01:00
rahulramesha
b4519b9dae Merge branch 'release' of github.com:appsmithorg/appsmith into FIX/5073-File-Picker-close-button-tool-tip-content-change 2021-06-18 10:46:27 +05:30
Rishabh Saxena
75481e93d2
Fix redirect URL on 401s (#5230) 2021-06-17 22:50:32 +05:30
arslanhaiderbuttar
005c8077eb
Add commands in Command.js
Add commands in Command.js 
copyWidget, deleteWidget
2021-06-17 18:47:54 +05:00
arslanhaiderbuttar
7d901c25a6
Fixed and updated Button Specs.
Fixed "Button-Call-Query Validation" test case in Button Spec and updated Copy, delete widget test cases.
2021-06-17 18:43:43 +05:00
arslanhaiderbuttar
1c1f7391d7 Merge branch 'release' into buttonUITestCases 2021-06-17 18:32:21 +05:00
akash-codemonk
11342651db
Fix: Show error callout in api pane when there is an error (#4827) 2021-06-17 18:57:46 +05:30
Ashok Kumar M
a76b8cad9b
Feature: Widget Grouping Phase II (#4825)
* dip

* dip

* Cleaning up grid density positioning.

* dip

* dip

* dip

* dip

* code clean up

* dip

* dip(restructuring widget selection)

* Deselect parents and children of a widget when user multi selects.

* dip

* dip

* dip

* dip

* dip

* fixing a bad merge

* fixing tests

* adding jest tests.

* common util

* dip

* dip

* fixes

* restrict in deploy mode.

* fixing dynamic layout.

* fixing tests.

* on paste fix.

* fixing specs.

* addressing code review comments

* dip

* dip

* dip

* fixing specs.
2021-06-17 18:56:54 +05:30
arslanhaiderbuttar
95382420df Merge branch 'release' into buttonUITestCases 2021-06-17 17:04:42 +05:00
NandanAnantharamu
7d8b57cb7a
removed unwanted wait (#5206) 2021-06-17 16:27:54 +05:30
Satish Gandham
76ad932682 Add widget ID, widget type to property pane open perforamnce tracker. 2021-06-17 15:04:18 +05:30
Rishabh Saxena
9c99f36bd6
Comments feature fixes (view mode) (#5081) 2021-06-17 13:07:27 +05:30
akash-codemonk
6001e69de4
Highlight the second item in in the omnibar search results (#4611) 2021-06-17 12:24:55 +05:30
Satish Gandham
68ba1acb58
Merge pull request #5148 from appsmithorg/ui/perf/add-tags-option-to-performance-tracker
Add an option to set tags on sentry performance transactions #5147
2021-06-17 11:13:23 +05:30
Rishabh Saxena
1b2f01ed2a
Profile image updates (#4783) 2021-06-17 00:06:34 +05:30
Satish Gandham
2ffd43bcd0 - Remove the is_array check 2021-06-16 23:22:10 +05:30
Rishabh Saxena
f7405f9004
Reset the user in store on 401s (#5153) 2021-06-16 22:39:25 +05:30
Rishabh Saxena
10b3f7e790
Feature/signup success url (#5124) 2021-06-16 21:21:18 +05:30
arslanhaiderbuttar
988cc39b7c
Merge branch 'release' into buttonUITestCases 2021-06-16 17:27:46 +05:00
arslanhaiderbuttar
ba4450aa57 Resolved Conflict in QueryEditor.json file
Resolved Conflict in QueryEditor.json file
2021-06-16 17:02:15 +05:00
Ashok Kumar M
e8152ce198
Fix: updating basic dsl for fork and duplicate feature cypress specs (#5152)
* dip

* dip
2021-06-16 17:21:00 +05:30
rahulramesha
9ce7e906a0 fix for #5073 2021-06-16 15:14:09 +05:30
Yash
2e0f307794 Merge remote-tracking branch 'origin/release' into FIX/4731-dragging-and-dropping-table-widget-error-in-debugger 2021-06-16 14:57:09 +05:30
arslanhaiderbuttar
49788e5c93
Deleted Hard Waits.
Deleted Hard Waits.
2021-06-16 13:55:05 +05:00
arslanhaiderbuttar
9b86a4c6e1 Cypress.json update 2021-06-16 13:27:19 +05:00
Satish Gandham
172bf61648 - Fix typo in type definitions 2021-06-16 10:42:41 +05:30
Satish Gandham
f15eba445c - Set the default perfTags value to [] 2021-06-16 10:15:40 +05:30
Satish Gandham
5c1a9b512a Add an option to set tags on transactions #5147 2021-06-15 20:53:48 +05:30
Abhijeet
7c430303aa
Allow only organization admins to export application (#5085)
* Added permission export:applications for admin role

* Only admins are allowed to export applications

Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-06-15 18:18:21 +05:30
arslanhaiderbuttar
a45405917f JS Scenario 2021-06-15 17:24:25 +05:00
arslanhaiderbuttar
e355d342bf Button UI Test Cases.
Automated following UI test cases
for button regarding the property pane:
Button Style Validation
Button Copy and paste
Button Delete
Create api, and then call it upon clicking the button widget.
Create query, and then call it upon clicking the button widget.
All above using JS
2021-06-15 15:19:30 +05:00
Tolulope Adetula
47bda1d736 Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-15 10:18:19 +01:00
Hetu Nandu
123fc4bc1d
Fix incorrect action type reference (#5121) 2021-06-15 12:39:27 +05:30
Somangshu Goswami
ca9324c60a
Merge pull request #4580 from appsmithorg/feature/2111-toggle-header-options
Feature/2111 toggle header options
2021-06-15 11:26:55 +05:30
Paul Li
29928aa48b Merge branch 'release' into feature/1726-iframe-widget 2021-06-15 01:55:11 -04:00
arunvjn
4ee614b132
Fix/api editor enhancement (#5095)
* Keep datasource tab open when there are datasources configured in API editor

* Save headers when users save an action as datasource
2021-06-15 11:24:14 +05:30
Somangshu Goswami
d54dbd1596
Merge pull request #4946 from appsmithorg/FIX/4875-model-close-icon-reference-update
FIX #4875 : update modal onclick reference for same modal while pasting modal
2021-06-15 11:22:00 +05:30
NandanAnantharamu
9b75dba780
updated test flow (#5118) 2021-06-15 10:12:07 +05:30
NandanAnantharamu
861ab7ec81
Updated fork/duplicate test (#4923)
* Updated test to handle version

* updated test

* added a small wait

* Assertion updated

* formatted code

* fork test updated

* dsl file added

* Updated test

* Try waiting in the addDsl step

* Other fixes

Co-authored-by: hetunandu <hetu@appsmith.com>
2021-06-14 19:29:13 +05:30
Rishabh Saxena
a2e3496c8e
Check if user exists before loading the form (#5108) 2021-06-14 16:32:41 +05:30
Satish Gandham
c00cce0b12
Merge pull request #4849 from appsmithorg/perf/ui/optimize-popper-component/4837
[Perf] Optimize popper component by not triggering layout on every render
2021-06-14 08:29:08 +05:30
Paul Li
59bf649131 Merge branch 'release' into feature/1726-iframe-widget 2021-06-12 12:12:28 -04:00
Paul Li
31177efc18 FEATURE-1726 : Iframe Widget
-- Remove the spread operator in IframeWidget
-- Connect the widget help with the correct documentation path
-- Expose source and title for autocomplete
-- Remove the redundant wrapping with meta from the widget
2021-06-12 12:08:10 -04:00
Kaushik Varanasi
9d6247672a
[FIX] modify regex to accept cyrillic characters in page name (#4741)
* modify regex to accept cyrillic characters in page name

* Remove separator regex in order to allow all utf characters

* Disallow special characters
2021-06-12 20:35:26 +05:30
Rishabh Saxena
50e5807e8d
Minor comment tour updates (#5024) 2021-06-11 20:31:32 +05:30
Paul Li
809416ab21 Merge branch 'release' into feature/2111-toggle-header-options 2021-06-11 09:25:12 -04:00
Paul Li
4d9ea51baa Merge branch 'release' into feature/1726-iframe-widget 2021-06-11 09:21:38 -04:00
Paul Li
6c9f3c2a89 FEATURE-1726 : Iframe widget
-- Remove spread operator on IframeComponent
-- Use a theme color by default for border color
-- Fix the crash issue when the widget is removed
2021-06-11 09:16:29 -04:00
NandanAnantharamu
173145ab36
Fix/org test (#5051)
* updated locator

* removed unwanted check

* updated test
2021-06-11 17:09:12 +05:30
Confidence Okoghenun
8cea1210e4
Updates mkcert installation steps in docs (#4637) 2021-06-11 14:25:46 +05:30
Somangshu Goswami
7615e54f1e
Merge pull request #4299 from appsmithorg/feature/4135-table-url-column-pretty-link
Feature/4135 table url column pretty link
2021-06-11 12:50:04 +05:30
Trisha Anand
06cafb6066
Getting Prepared Statement for Postgres, MySQL, and MS-SQL and Smart Substitution for Rest API plugins out of beta (#5019)
* Correcting text for Mongo Form Insert command

* Getting Prepared Statement for Postgres, MySQL, and MS-SQL and Smart Substitution for Rest API plugins out of beta

* Fixed failing test case

* Fixed Ms-sql plugin test failure
2021-06-10 13:55:56 +05:30
Paul Li
e2168f70d8 Merge branch 'release' into feature/1726-iframe-widget 2021-06-10 04:18:56 -04:00
Paul Li
88a885b759 FEATURE-1726 : Iframe Widget
-- Bind onMessageReceived
-- Refactor event bindings
2021-06-10 04:17:33 -04:00
dependabot[bot]
072ff7ad35
Bump merge-deep from 3.0.2 to 3.0.3 in /app/client (#4982)
Bumps [merge-deep](https://github.com/jonschlinkert/merge-deep) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jonschlinkert/merge-deep/releases)
- [Commits](https://github.com/jonschlinkert/merge-deep/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: merge-deep
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 12:00:50 +05:30
prapullac
23b4e23a7b
Manual test ideas for Tab widget (#4319) 2021-06-10 11:59:36 +05:30
akash-codemonk
02db8dd968
Improve omnibar search when special characters exist in query (#4965) 2021-06-10 11:38:00 +05:30
Paul Li
b682741f13 Merge branch 'release' into feature/4135-table-url-column-pretty-link 2021-06-10 01:31:54 -04:00
Paul Li
47da2c622f FEATURE-1726 : Iframe Widget
-- Bind onURLChanged event listener
2021-06-10 01:29:52 -04:00
Rishabh Saxena
9c75596957
Init notifications (#4839) 2021-06-09 20:02:17 +05:30
akash-codemonk
6996e6eab4
Feature: Show entity dependencies in debugger (#4356) 2021-06-09 18:15:41 +05:30
Pranav Kanade
b04b7ddf02
[Fixed #4520] - Remove Entity Explorer Search (#4600)
* 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>
2021-06-09 17:50:15 +05:30
Rishabh Saxena
07a292328a
Comments feature fixes (#4738) 2021-06-09 16:05:10 +05:30
Paul Li
a54b0ffc16 Merge branch 'release' into feature/2111-toggle-header-options 2021-06-09 06:19:41 -04:00
Paul Li
8cef35cecf FEATURE-2111 : Show/Hide Table Controls
-- Add a migration for the header options visibilities
2021-06-09 06:16:48 -04:00
Paul Li
a5cdf32590 FEATURE-1726 : iframe widget
-- Scaffold the widget
-- Bind properties
2021-06-09 05:39:17 -04:00
Satish Gandham
f88f1370ee - Close the property pane at the start of the test as it's not closed in the earlier test case. 2021-06-08 23:20:16 +05:30
Confidence Okoghenun
3291e8ca85
chore: Fixes typo in collab tour (#4681) 2021-06-08 20:40:10 +06:00
Somangshu Goswami
ebacb9e11d
Merge pull request #4844 from appsmithorg/FIX/3899-typeerror-in-custom-chart
FIX #3899 : added supported custom chart types list, validate chart t…
2021-06-08 18:12:00 +05:30
Somangshu Goswami
972bc2fee4
Merge pull request #4967 from appsmithorg/fix/-page-saga-bug
fix: *isRetry is undefined* bug on Page saga
2021-06-08 18:09:50 +05:30
Somangshu Goswami
3816eb2773
Merge pull request #4641 from appsmithorg/FIX/4524-Toggle-dyanmic-to-normal-boolean-field
[ISSUE#4524]Fix: Added a check in else block too and assigned default…
2021-06-08 17:56:59 +05:30
Satish Gandham
d2fafaa7f6 Merge branch 'release' into perf/ui/optimize-popper-component/4837 2021-06-08 14:39:36 +05:30
Tolulope Adetula
b0c7c1c5ca fix: options display in deploy view 2021-06-08 08:40:41 +01:00
Somangshu Goswami
d37c7a97a4
Merge pull request #4834 from appsmithorg/feature/modal-onClose
added onclose property and handlers on ModalWidget
2021-06-08 12:43:50 +05:30
Pranav Kanade
dd9f8b362d
[Feature #3379] Added recaptcha for signup (#4701)
* 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
2021-06-08 11:10:11 +05:30
Satish Gandham
7c0f46a189
Merge pull request #4605 from appsmithorg/perf/ui/optimize-editableText-component
[Perf] Patch for bluperint to optimize editable text component
2021-06-07 20:11:54 +05:30
Tolulope Adetula
89ca5b6da0 fix: isRetry bug in Page saga 2021-06-07 15:33:20 +01:00
Somangshu Goswami
5f01ec859d
Merge pull request #4660 from appsmithorg/FIX/4573-custom-chart-type-not-supported-text
FIX #4573 : added custom fusion chart config to override default message
2021-06-07 19:09:35 +05:30
akash-codemonk
8e7b95fd62
Omnibar UI/UX improvements (#4677)
- Open omnibar on cmd + p as well
- Add analytics event for opening discord link
- Update api icon to keep same width
- Click anywhere on search result row will now open the link instead of just clicking on the icon 
- Change text from "Recents" to "Recent Entities" 
- Show a footer with a few instructions.
2021-06-07 18:44:35 +05:30
Somangshu Goswami
5bca743790
Merge pull request #4452 from appsmithorg/fix--color-picker-in-form-widget
fix: add color picker to form component
2021-06-07 18:15:15 +05:30
Somangshu Goswami
43e8195192
Merge pull request #4799 from appsmithorg/fix/default-table-scrolls
Horizontal scrollbars are not required for default table widget
2021-06-07 17:58:09 +05:30
Rishabh Saxena
2e6b262f29
Revert specific handling at setup for macs with apple chips (#4591) 2021-06-07 16:23:18 +05:30
Somangshu Goswami
57487947f3
Merge pull request #4372 from appsmithorg/feature/datepicker-max-date
fix :extended maxDate and minDate limits to 100 years from now.
2021-06-07 14:51:27 +05:30
Somangshu Goswami
e1fb11b27c
Merge pull request #4604 from appsmithorg/fix/4362-recaptcha-field-unexpected-data-types
Fix/4362 recaptcha field unexpected data types
2021-06-07 14:50:53 +05:30
Somangshu Goswami
ba0a7a428e
Merge pull request #4734 from appsmithorg/bug/select-lodash-options
added string check on options props
2021-06-07 14:45:49 +05:30
vicky.bansal@primathon.in
6610786e79 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/default-table-scrolls 2021-06-07 13:04:04 +05:30
Tolulope Adetula
cf8d9b8c0b Merge branch 'release' into fix--color-picker-in-form-widget 2021-06-07 07:33:17 +01:00
Tolulope Adetula
210e65a668 Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-07 07:28:42 +01:00
Pranav Kanade
55e6fcfc2f
App viewer will not be able to export app (#4938) 2021-06-07 11:30:10 +05:30
Sumit Kumar
d2a74b5ac9
Feature: firestore plugin support for multiple where conditions (#3740)
* allow users to add multiple where conditions to firestore's get documents query.
2021-06-07 10:43:16 +05:30
Satish Gandham
5152f2ad57 Merge branch 'release' into perf/ui/optimize-editableText-component 2021-06-07 10:25:22 +05:30
Satish Gandham
e0642ddaab Merge branch 'release' into perf/ui/optimize-popper-component/4837 2021-06-07 10:11:49 +05:30
Yash
430e8522f1 FIX #4875 : update modal onclick reference for same modal while pasting modal and added test case 2021-06-05 22:09:30 +05:30
Pranav Kanade
8290dd5a25
Fix/update cypress command delete user from org (#4930)
* 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
2021-06-05 11:01:18 +05:30
Pranav Kanade
42bbc1edf1
[Feature #4903] Show warning text for choosing choosing to leave organisation. (#4915)
* 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
2021-06-04 16:26:58 +05:30
Somangshu Goswami
162b4bd4bc
Merge pull request #4618 from appsmithorg/fix/2358-dropdown-multi-select-too-much-space
Fix/2358 dropdown multi select too much space
2021-06-04 16:15:16 +05:30
Somangshu Goswami
29262ecbd5
Merge pull request #4309 from appsmithorg/fix/text-parsing
Fix email parsing issue in text widget
2021-06-04 16:06:29 +05:30
Somangshu Goswami
4cf050147b
Merge pull request #4835 from appsmithorg/fix/custom-chart-config-better-doc
fixing docs and expectation strings on custom chart
2021-06-04 16:04:15 +05:30
akash-codemonk
24d2974a3e
Improve omnibar highlight and search experience (#4753) 2021-06-04 16:03:57 +05:30
Somangshu Goswami
f02b440ec9
Merge pull request #4794 from appsmithorg/FIX/3648-display-issue-delete-toast-message-on-rte
FIX #3648 : updated css to display toast message properly on deleting…
2021-06-04 16:03:27 +05:30
Somangshu Goswami
57cd947d9f
Merge pull request #4425 from appsmithorg/bug/datepicker-max-date-validation
Fix: Allow the same dates to be used in Default & Min/Max fields
2021-06-04 16:03:00 +05:30
Rishabh Saxena
d9758f7755
Onboarding form (#4910) 2021-06-04 13:18:17 +05:30
Apeksha Bhosale
0199aeef33
Improve autocomplete (#4898) 2021-06-04 13:03:54 +05:30
Apeksha Bhosale
179d5ae8a9
Improve JS error reporting in the debugger (#4854) 2021-06-04 12:39:36 +05:30
arunvjn
a7a7390d08
Fixed overlapping dropdown in MYSQL forms (#4914) 2021-06-04 11:09:31 +05:30
Nayan
5cf5160c99
bugfix: redirect user to homepage when user was inside an org and lef… (#4905)
* bugfix: redirect user to homepage when user was inside an org and left that organization

* -removed a console log
2021-06-04 00:36:34 +06:00
arunvjn
2757f0fe15
Fixed mouse click bug in datasource suggestions(#4668) 2021-06-03 22:02:59 +05:30
Yash
8008aefcc7 FIX #4573 : custom fusion chart sample data make consistent as chartData property 2021-06-03 20:50:23 +05:30
arunvjn
c8b93cf1ec
Fix to show datasource auth info clearly (#4900) 2021-06-03 18:07:18 +05:30
Satish Gandham
64a3131812 Merge branch 'release' into perf/ui/optimize-popper-component/4837 2021-06-03 14:14:47 +05:30
Paul Li
f7ae4f0b2d Merge branch 'release' into feature/2111-toggle-header-options 2021-06-03 03:46:29 -04:00
Paul Li
53fe96b5cf FEATURE-2111 : Show/Hide Table Controls
-- Use isHeaderVisible variable for conditional rendering
2021-06-03 03:43:08 -04:00
abhishek nayak
8a1ed9773b
Merge pull request #4383 from appsmithorg/snyk-upgrade-a64f1aa8c6960bf68ab55f4ece93ec96
[Snyk] Upgrade flow-bin from 0.91.0 to 0.148.0
2021-06-03 13:03:28 +05:30
somangshu
90d4d3a71a Merge branch 'release' into feature/datepicker-max-date 2021-06-03 11:56:51 +05:30
somangshu
d794cbbef9 Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-03 11:53:31 +05:30
Kaushik Varanasi
3a6da2d797
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 11:48:08 +05:30
vicky.bansal@primathon.in
40debe9e42 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/default-table-scrolls 2021-06-03 11:32:16 +05:30
arunvjn
4952207fc2
UI improvements to API Editor (#4845)
* Change CTA to apply datasource on datasource card click
* Fix for Request method button's alignment issue.
* Hide save/edit datasource button when url field is empty
* Added edit icons to navigate to datasource form
2021-06-03 10:29:41 +05:30
arunvjn
a31adce20d
Bug/api editor datasources (#4780)
* Fixed datasource urls' disappearance when the saved datasource has a trailing slash

* Refactored query params parser to a seperate function.
Added unit tests for the new function
2021-06-03 10:28:18 +05:30
NandanAnantharamu
03b2e7b042
updated locator (#4871) 2021-06-02 21:23:30 +05:30
Hetu Nandu
8c84dcfdec
Fix multiline js issues (#4816) 2021-06-02 18:27:27 +05:30
Yash
3d18a9b36a FIX #4731: update condition for selectedRowIndices when table widget drag and drop 2021-06-02 15:31:52 +05:30
Nayan
78915301e3
[Issue #4572]-Allow users to leave an organization (#4634)
* [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>
2021-06-02 15:56:22 +06:00
NandanAnantharamu
86d3d1d2be
Added wait for route (#4817)
* Added wait for route

* updated test with datasource route

* udpated version and cleanup

* updated duplicate app
2021-06-02 13:34:02 +05:30
imgbot[bot]
a11e732b61
[ImgBot] Optimize images (#4707)
*Total -- 3,752.13kb -> 3,526.66kb (6.01%)

/static/images/users.png -- 15.03kb -> 6.11kb (59.37%)
/static/images/integrations.png -- 14.43kb -> 9.37kb (35.05%)
/static/images/build-tool.png -- 27.04kb -> 21.86kb (19.15%)
/app/client/src/assets/icons/ads/commentIcon.png -- 0.90kb -> 0.77kb (14.67%)
/static/images/git-banner.jpg -- 779.36kb -> 666.22kb (14.52%)
/static/images/git-banner-left.png -- 72.13kb -> 65.42kb (9.29%)
/app/client/src/assets/icons/comments/context-menu.svg -- 0.43kb -> 0.40kb (5.92%)
/app/client/src/assets/icons/comments/commentCursor.png -- 1.41kb -> 1.34kb (4.72%)
/app/client/src/assets/images/comments-onboarding/step-4.png -- 14.90kb -> 14.26kb (4.3%)
/static/images/animations/video-preview.gif -- 1,300.08kb -> 1,247.97kb (4.01%)
/static/images/animations/writing-js.gif -- 264.13kb -> 254.80kb (3.53%)
/static/images/git-banner-right.png -- 654.13kb -> 633.46kb (3.16%)
/static/images/animations/running-api.gif -- 38.67kb -> 37.59kb (2.8%)
/app/client/src/assets/icons/ads/open.svg -- 0.32kb -> 0.32kb (1.81%)
/app/client/src/assets/icons/ads/cross.svg -- 0.22kb -> 0.21kb (1.81%)
/app/client/src/assets/icons/control/back.svg -- 0.26kb -> 0.26kb (1.49%)
/app/client/src/assets/icons/ads/app-icons/draghandler.svg -- 0.53kb -> 0.52kb (1.48%)
/app/client/src/assets/icons/comments/comment-mode-unread-indicator.svg -- 0.40kb -> 0.39kb (1.46%)
/app/client/src/assets/icons/comments/send-button.svg -- 0.21kb -> 0.21kb (1.41%)
/app/client/src/assets/icons/comments/read-pin.svg -- 0.29kb -> 0.29kb (1.34%)
/app/client/src/assets/icons/comments/unread-pin.svg -- 0.29kb -> 0.29kb (1.34%)
/app/client/src/assets/icons/comments/check-oval.svg -- 0.30kb -> 0.30kb (1.28%)
/app/client/src/assets/icons/comments/emoji.svg -- 0.40kb -> 0.40kb (1.22%)
/app/client/src/assets/icons/comments/reaction-2.svg -- 1.19kb -> 1.17kb (1.15%)
/app/client/src/assets/icons/control/open-new-tab.svg -- 1.09kb -> 1.08kb (1.08%)
/app/client/src/assets/icons/comments/trash.svg -- 0.32kb -> 0.32kb (0.91%)
/app/client/src/assets/icons/comments/chat.svg -- 0.34kb -> 0.33kb (0.87%)
/app/client/src/assets/icons/comments/pin_3.svg -- 0.39kb -> 0.39kb (0.75%)
/app/client/src/assets/images/profile-placeholder.svg -- 0.54kb -> 0.54kb (0.72%)
/app/client/src/assets/icons/comments/reaction.svg -- 0.83kb -> 0.82kb (0.71%)
/app/client/src/assets/icons/comments/pen.svg -- 0.42kb -> 0.41kb (0.7%)
/app/client/src/assets/icons/comments/edit-mode.svg -- 0.42kb -> 0.42kb (0.7%)
/app/client/src/assets/icons/comments/link.svg -- 0.65kb -> 0.64kb (0.6%)
/app/client/src/assets/icons/comments/unpin.svg -- 0.51kb -> 0.51kb (0.57%)
/app/client/src/assets/icons/comments/toggle-comment-mode.svg -- 0.51kb -> 0.51kb (0.57%)
/app/client/src/assets/icons/ads/cancel.svg -- 0.52kb -> 0.51kb (0.57%)
/static/images/animations/selections.gif -- 119.85kb -> 119.23kb (0.52%)
/app/client/src/assets/icons/control/download-data-icon.svg -- 0.62kb -> 0.61kb (0.48%)
/app/client/src/assets/icons/comments/pin.svg -- 0.63kb -> 0.63kb (0.47%)
/app/client/src/assets/icons/comments/pin_2.svg -- 0.87kb -> 0.87kb (0.45%)
/static/images/animations/move-around.gif -- 229.66kb -> 228.69kb (0.43%)
/app/client/src/assets/icons/ads/bug.svg -- 0.70kb -> 0.70kb (0.42%)
/static/images/animations/drag-drop.gif -- 159.38kb -> 158.73kb (0.41%)
/app/client/src/assets/icons/ads/wand.svg -- 2.79kb -> 2.77kb (0.39%)
/app/client/src/assets/icons/ads/warning-triangle.svg -- 1.08kb -> 1.07kb (0.36%)
/app/client/src/assets/icons/control/filter-icon.svg -- 0.91kb -> 0.91kb (0.32%)
/app/client/src/assets/icons/ads/card-context-menu.svg -- 1.12kb -> 1.12kb (0.26%)
/app/client/src/assets/icons/widget/list.svg -- 1.65kb -> 1.65kb (0.24%)
/app/client/src/assets/images/comments-onboarding/step-3.png -- 39.31kb -> 39.29kb (0.05%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-02 07:51:52 +05:30
Satish Gandham
899b7f2f24 Merge branch 'release' into perf/ui/optimize-editableText-component 2021-06-01 22:54:56 +05:30
Yash
23bfcc706d FIX #3899 : added supported custom chart types list, validate chart type and fix type error by fusioncharts 2021-06-01 20:27:58 +05:30
Nidhi
26ce58e9e3
Changes to client credentials form (#4836) 2021-06-01 17:41:48 +05:30
Satish Gandham
6e8338089e - Change useEffect hook to use deep cehck for modifiers instead of refernece equality
- Moemoize getThemeDetails
2021-06-01 17:37:16 +05:30
Somangshu Goswami
771cf4a34f
Merge pull request #4805 from appsmithorg/fix/table-pagesize-migrations
Fix for pageSize calculation in table widget
2021-06-01 16:44:23 +05:30
bhavin
a889153714 fixing docs and expectation strings on custom chart 2021-06-01 16:01:32 +05:30
bhavin
53598e8027 added onclose property and handlers on ModalWidget 2021-06-01 14:50:13 +05:30
Tolulope Adetula
59738c5019 Merge branch 'release' into fix/dropdown-overlap-modal 2021-06-01 07:11:52 +01:00
Hetu Nandu
ae28731947
Enable smart substitution for widgets (#4801) 2021-06-01 10:29:45 +05:30
bhavin
2b9cc622cc replaced string check with array check 2021-06-01 09:36:47 +05:30
arunvjn
9e8e432a1f
Feature/cmd enter to execute actions (#4774)
Added new global hotkey to trigger Run on cmd+enter

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Apple <nandan@thinkify.io>
2021-05-31 21:10:21 +05:30
Somangshu Goswami
5e72910be5
Merge pull request #4525 from appsmithorg/bug/model-reset-children-meta-onclose
updated closeModal saga to stop reseting children meta properties.
2021-05-31 20:09:17 +05:30
Somangshu Goswami
d770b360b0
Merge pull request #4350 from appsmithorg/fix/dropdown-default-value
fix: set default format in table date type cell
2021-05-31 20:08:49 +05:30
Somangshu Goswami
de4af915b3
Merge pull request #4766 from appsmithorg/bug/chart-onDataPointClick
added click event config for customChart
2021-05-31 20:08:28 +05:30
Somangshu Goswami
fd7db3356e
Merge pull request #4433 from appsmithorg/fix/-filePicker-widget-property-cleanup
fix: remove uploadedFileUrls property from FilePicker
2021-05-31 20:07:16 +05:30
Somangshu Goswami
ceabb7a50f
Merge pull request #4693 from appsmithorg/FIX/4603-truncate-long-column-names
FIX #4603 : updated css to truncate long column name
2021-05-31 20:06:55 +05:30
vicky.bansal@primathon.in
3182d2fe15 Fix unused variable issue 2021-05-31 17:27:00 +05:30
vicky.bansal@primathon.in
5ea2d961db Added migration to update parentRowSpace property of table widget 2021-05-31 17:09:06 +05:30
dependabot[bot]
d65dcdc72c
Bump lodash from 4.17.20 to 4.17.21 in /app/client (#4438)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:15:01 +05:30
dependabot[bot]
0386978159
Bump hosted-git-info from 2.8.8 to 2.8.9 in /app/client (#4439)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 13:55:48 +05:30
dependabot[bot]
f75ec7874b
Bump dns-packet from 1.3.1 to 1.3.4 in /app/client (#4781)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 11:01:06 +05:30
Ashok Kumar M
2052a8e545
Fix: Positioning widgets without left right column towards the end of the page. (#4777) 2021-05-28 22:25:10 +05:30
Yash
ad427c86b2 FIX #3648 : updated css to display toast message properly on deleting RTE 2021-05-28 21:42:47 +05:30
arunvjn
a133a320cf
Added replacer in stringfy method to optionally use toString method for big ints. (#4745) 2021-05-28 21:30:21 +05:30
akash-codemonk
cbca6bedd4
Clear debugger errors on page switch (#4672) 2021-05-28 19:44:44 +05:30
arunvjn
f6a33fafbf
Text overflow bug in datasource tab in API Editor(#4776) 2021-05-28 17:46:09 +05:30
arslanhaiderbuttar
23faa19707
Removed the reload (#4767)
cy.reload was causing some issue in saving the default value for input2.
2021-05-28 16:30:25 +05:30
Yash
9de9b1eb30 FIX #4573 : added sample custom fusion chart config and updated data shape to override default message 2021-05-28 14:49:36 +05:30
Tolulope Adetula
664ba6ab22
Update File-picker widget property 2021-05-28 01:45:37 -07:00
bhavin
cfded6d99e added click event config for customChart 2021-05-28 11:46:11 +05:30
Satish Gandham
b75dcc384d
Merge pull request #4563 from appsmithorg/perf/ui/optimize-binding-prompt/4555
[Perf] Remove code causing expensive style recalculation from binding prompt
2021-05-28 11:17:43 +05:30
Satish Gandham
83b44b30b6
Merge pull request #4680 from appsmithorg/ui/perf/optimize-expensive-style-calc-evalauatedValuePopup/4679
Memoize the evaluate popup placement value
2021-05-28 11:16:21 +05:30
Ashok Kumar M
575d7fe7f9
Fix: Adding missing widget properties when a new tab is created. (#4733)
* dip

* dip

* dip

* Revert "dip"

This reverts commit f0eeaa4a2dc9845509945c2af9376f1573baafdf.

* dip

* removing unwanted iteration.

* Adding and fixing specs.
2021-05-28 08:28:02 +05:30
Nidhi
5ddd58cdfd
Added optional audience and resource fields for oauth2 datasources (#4678)
* Added optional audience and resource fields for oauth2

* Review changes

* Don't show audience and resource fields by default
2021-05-27 21:53:59 +05:30
abhishek nayak
02e52d019f
Merge pull request #4414 from appsmithorg/areyabhishek-patch-4
[FIX] Update Dropdown Widget default value placeholder
2021-05-27 19:23:03 +05:30
bhavin
c014485268 added string check on options prop 2021-05-27 16:27:10 +05:30
Apeksha Bhosale
47969d708c
show pre-filled values for autocomplete (#4400)
* 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
2021-05-27 15:31:26 +05:30
somangshu
ee4fa8307f Merge branch 'release' into areyabhishek-patch-4 2021-05-27 12:38:32 +05:30
Pawan Kumar
0d41797a26
Fix: List Widget crashes on null empty object in data (#4349)
* filter null values in property pane autocomplete

* add hover states for list items

* add loading state in list

* fix loading state of list widget

* open list widget property on click of container

* fix isVisible bug in list widget children

* remove unused import

* add cusor pointer

* add focused state for first item in list widget

* fix empty state

* fix test case

* fix visiblity bug

* fix test case

* fixes for review comments

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-05-27 12:11:38 +05:30
Rishabh Saxena
9f76218306
Trigger invite flow via comments (#4602) 2021-05-27 11:51:36 +05:30
arunvjn
5c45217f3d
Feature/datasource list in api editor (#4587)
Show datasource list in API editor
2021-05-27 08:35:05 +05:30
Tolulope Adetula
b78c6204b9 fix: Add zIndex Layers of Dropdown and Modal 2021-05-26 14:56:40 +01:00
Tolulope Adetula
f54d4c618e Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-26 13:56:48 +01:00
Apeksha Bhosale
4825ce2a2a
Show JS eval errors in evaluated value pane and debugger (#4463)
Co-authored-by: jsartisan <pawankumar2901@gmail.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
2021-05-26 18:02:43 +05:30
Yash
a24623da94 FIX #4603 : updated css to truncate long column name 2021-05-26 17:51:09 +05:30
Yash
218ad04553 FIX #4524 : revert added check in else block and add handle boolean validation in validator 2021-05-26 17:43:25 +05:30
vicky.bansal@primathon.in
bd5ca7011c Removed unused import 2021-05-26 16:57:01 +05:30
akash-codemonk
8bd6ed3a70
Feature: Show current value in the debugger when widget property has an error (#4592) 2021-05-26 13:47:52 +05:30
vicky.bansal@primathon.in
312ea00138 Increase width of default table widget so that scrollbars are not required by default 2021-05-26 10:22:08 +05:30
vicky.bansal@primathon.in
7d7dad4b87 Updated yarn 2021-05-26 09:04:11 +05:30
vicky.bansal@primathon.in
042ee3fa46 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/text-parsing 2021-05-26 08:57:40 +05:30
vicky.bansal@primathon.in
dcebd1103e Fix for email parse 2021-05-26 08:47:46 +05:30
Satish Gandham
bfc8b6a46f Memoize the evaluate popup placement value 2021-05-25 22:07:38 +05:30
Nikhil Nandagopal
50b03302e4 fixed validation messages 2021-05-25 19:18:35 +05:30
Satish Gandham
ad3997ecde Merge branch 'release' into perf/ui/optimize-binding-prompt/4555 2021-05-25 11:14:28 +05:30
Yash
e34a156f18 FIX #4573 : added custom fusion chart config to override default message 2021-05-24 18:27:50 +05:30
Tolulope Adetula
4ac85a7fd9 fix: add Layers to the dropdown 2021-05-24 10:09:43 +01:00
Tolulope Adetula
b95ff2001e Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-24 08:21:30 +01:00
Yash
591f9395f6 [ISSUE#4524]Fix: Added a check in else block too and assigned default config 2021-05-24 12:27:33 +05:30
Tolulope Adetula
b2a86d7e11 fix: failing modal test 2021-05-24 06:52:49 +01:00
Nikhil Nandagopal
750e3808f2 Merge branch 'release' into fix/validation-messages 2021-05-24 11:01:24 +05:30
Satish Gandham
7ef5f70596 Merge branch 'release' into perf/ui/optimize-editableText-component 2021-05-24 06:53:35 +05:30
Satish Gandham
b01c615056
Merge pull request #4554 from appsmithorg/perf/ui/optimize-resizable-component
Optimize resizable component
2021-05-21 19:33:51 +05:30
Satish Gandham
516aa0f40c
Merge pull request #4397 from appsmithorg/perf/ui/reduce-json-view-data
[Performance] Collapse all but the first two records in react-json-view
2021-05-21 19:32:52 +05:30
Paul Li
5701e2ac3e Merge branch 'release' into fix/2358-dropdown-multi-select-too-much-space 2021-05-21 05:39:47 -04:00
Paul Li
0966536638 FIX-2358 : Too much spacing between option on multi selection option in Dropdown Widget
-- Adjust space between tag items along a flexbox's cross-axis
2021-05-21 05:32:28 -04:00
Nikhil Nandagopal
4ed203d4af Merge branch 'release' into fix/validation-messages 2021-05-21 14:19:25 +05:30
Nikhil Nandagopal
ecb85efe7c updated validation messages 2021-05-21 14:18:59 +05:30
Rishabh Saxena
220c8d9d25
Remove isFromSignup param to prevent duplicate analytics hits (#4480) 2021-05-21 13:20:27 +05:30
Tolulope Adetula
3c1f4bca9b Merge branch 'release' into fix/-filePicker-widget-property-cleanup 2021-05-21 08:05:17 +01:00
Tolulope Adetula
f4e693f4f8 Merge branch 'release' into fix--color-picker-in-form-widget 2021-05-21 06:42:26 +01:00
Tolulope Adetula
6381f5d2ec Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-21 06:41:06 +01:00
Paul Li
5ae2d1a04a Merge branch 'release' into fix/4362-recaptcha-field-unexpected-data-types 2021-05-20 15:30:29 -04:00
Paul Li
4d9aa2bd00 FIX-4362 : Unexpected data types in the Recaptcha field for buttons breaks the widget
-- Add a guard for invalid googleRecaptcha key
2021-05-20 15:28:02 -04:00
Satish Gandham
c5133fca87 - Patch the blueprint core module with the editabletext performance optimization 2021-05-21 00:55:05 +05:30
Satish Gandham
ee7d9f2498 Merge branch 'release' into perf/ui/optimize-resizable-component 2021-05-20 18:45:59 +05:30
Satish Gandham
041ee6a479 Merge branch 'release' into perf/ui/reduce-json-view-data 2021-05-20 18:45:31 +05:30
Rishabh Saxena
8964aea9df
[Feature] Comments feature updates (#4579) 2021-05-20 17:33:08 +05:30
arunvjn
63db439183
Fixed r.match bug (#4593) 2021-05-20 16:51:10 +05:30
somangshu
29579a71fa Merge branch 'release' into areyabhishek-patch-4 2021-05-20 15:21:25 +05:30
bhavin
4e559b4228 remove no selection option 2021-05-20 13:54:26 +05:30
Tolulope Adetula
0372e47e14 Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-20 08:33:49 +01:00
Hetu Nandu
aac5fcb6c7
Use the Function constructor for user script eval (#4446)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-05-20 12:31:10 +05:30
NandanAnantharamu
7f2b0c6b30
Fix: Mongo datasource and query Cypress test (#4578)
* fix for MongoQuery Test

* Fixed cypress test

* removed unwanted code

* updated another test

* Commented Query part for stub test
2021-05-20 12:22:50 +05:30
NandanAnantharamu
7c587f0288
binding list widget with Api (#4229) 2021-05-20 11:15:48 +05:30
Tolulope Adetula
afcf7d793a fix: PR comments 2021-05-20 06:04:52 +01:00
prapullac
81f3ccd163
Manual test ideas for List Widget (#4090) 2021-05-19 19:27:26 +05:30
Paul Li
c1557c187a FEATURE-2111 : Show/Hide Table Controls
-- Adjust pageSize
-- Change column header height
-- Restore the logic for renderEmptyRow
2021-05-19 07:02:07 -04:00
Satish Gandham
3886386b4d Merge branch 'release' into perf/ui/reduce-json-view-data 2021-05-19 16:21:43 +05:30
Paul Li
c906b0e447 FEATURE-2111 : Show/Hide table controls
-- Apply some cleanup
2021-05-19 05:36:30 -04:00
Paul Li
9e0ec2304a Revert "FEATURE-2111 : Show/Hide Table Controls"
This reverts commit 1d3c2da455d0a58beb4189898464baf5096c1aee.
2021-05-19 05:36:30 -04:00
Paul Li
7cf12ed031 FEATURE-2111 : Show/Hide Table Controls
-- Remove extra space when the header options is all hidden
2021-05-19 05:36:30 -04:00
Paul Li
35e28dcb08 FEATURE-2111 : Show/Hide Table Controls
-- PositionedContainer : Add padding-bottom: 42px in case of Table widget
2021-05-19 05:33:45 -04:00
Paul Li
f943d0b330 FEATURE-2111 : Show/Hide Table Controls
-- Remove JS convertible
-- Set isBindProperty and isTriggerProperty to false
2021-05-19 05:31:53 -04:00
Paul Li
c76ef9e3d7 FEATURE-2111 : Show/Hide Table Controls
-- Add the header options section for the visibility setting
-- Render conditionally the header part based on the setting
2021-05-19 05:31:53 -04:00
Tolulope Adetula
4c3834828a fix: remove console statement 2021-05-19 08:21:25 +01:00
Tolulope Adetula
4e890dce86 fix: remove unnecessary className 2021-05-19 08:21:00 +01:00
Tolulope Adetula
523972e191 Fix: modal and Dropdown 2021-05-19 08:20:00 +01:00
prapullac
3073bbc5c8
Adding manual test ideas for Text Widget (#3910) 2021-05-19 11:46:12 +05:30
Satish Gandham
f266ca3793 Merge branch 'release' into perf/ui/optimize-resizable-component 2021-05-19 11:37:41 +05:30
Trisha Anand
d5e5be5d6a
[Feature] Mongo Form (#4378) 2021-05-19 11:05:24 +05:30
Arpit Mohan
b1d7258dcb
Adding support for multipart form data (#4547)
* 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
2021-05-19 10:48:51 +05:30
Tolulope Adetula
18e5dde01d Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-18 22:24:33 +01:00
Ashok Kumar M
8c8141650a
Feature: Widget grouping Phase I (Multi select and Bulk Delete) + Canvas Enhancements. (#4219)
* Feature: Canvas layer enhancements(DIP)

* feedback fixes

* fixing build

* dip

* dip

* dip

* fixing build

* dip

* dev fixes

* dip

* Fixing top bottom resize handles

* dip

* reposition widget name on top edges.

* dip

* dip

* dip

* dip

* renaming selectedWidget to lastSelectedWidget

* code clean up

* Fixing list widget as per grid scale.

* Fixing existing specs.

* Adding migration test cases.

* dip

* FIxing proppane in modal.

* fixing modal z-indedx.

* fix for modal name.

* dip

* dip

* dip

* adding test cases for hotkeys.

* dip

* dip

* fixing build

* Trying some performance improvements for jests.

* 17 mins with runinband lets try without it.

* minor bug fixes.

* code clean up

* save migrated app on fetch.

* fixing few cypress tests

* fixing cypress tests

* fixing cypress tests.

* fixing cypress

* updated DSL

* Addressing code review comments.

* test fails

* dip

* eslint fixes.

* fixing debugger cypress tests.

* updating latest page version.

* updating migration changes to cypress dsl's.

* updating chart data fixes for cypress tests.

Co-authored-by: Apple <nandan@thinkify.io>
2021-05-18 23:59:39 +05:30
arunvjn
b14f043172
Fix/datasource request headers in api (#4481)
* Show datasource headers when used in an API
2021-05-18 21:40:53 +05:30
Somangshu Goswami
41419e0406
Merge pull request #4199 from appsmithorg/feature/table-excel-export
Allow table data to download as Excel
2021-05-18 20:17:16 +05:30
Somangshu Goswami
01aa8ed36d
Merge pull request #4316 from appsmithorg/fix/server-side-search
Disable client side search when server side search is enabled in table widget
2021-05-18 20:16:30 +05:30
Somangshu Goswami
52da3e7030
Merge pull request #3791 from aswathkk/issue/3321
Allow removing filter on Dropdown Widget
2021-05-18 20:15:42 +05:30
Somangshu Goswami
559555f175
Merge pull request #4485 from appsmithorg/bug/select-optionmenu-scroll
fix: select disabled option popover overflow
2021-05-18 20:01:06 +05:30
Somangshu Goswami
c233dc1273
Merge pull request #4313 from appsmithorg/fix/datepickerwidget-popover
fix: datepicker popover adjust height and width.
2021-05-18 20:00:04 +05:30
akash-codemonk
9e082a6156
Feature: Show widget error state (#4558) 2021-05-18 19:24:40 +05:30
Satish Gandham
faeac974ca - Remove code casuing expensive style recalculation 2021-05-18 17:48:29 +05:30
akash-codemonk
51b98eed2f
Fix: Debugger shows errors for evaluations done on page load (#4552) 2021-05-18 17:21:32 +05:30
arunvjn
4733edfccd
Fixed query params parsing in API pane (#4482)
* Fixed query params parsing when there are mulitple "="s.

* Added cypress tests to validate query params parsing
2021-05-18 17:17:43 +05:30
arunvjn
08966499be
Remove request/response data from copies of an executed API (#4521) 2021-05-18 17:17:22 +05:30
Shrikant Sharat Kandula
1e052a9462
Fix redirectUrl not being encoded (#4546) 2021-05-18 11:22:54 +05:30
Satish Gandham
bbecba125e - Wrap the methods passed to editableText component with useCallback
- Use destructing for props
2021-05-18 00:42:06 +05:30
Apple
5abd651e25 updated test 2021-05-17 21:36:46 +05:30
akash-codemonk
cbace9d5d7
Fix: Debugger showing previous application logs (#4455) 2021-05-17 15:31:22 +05:30
Satish Gandham
6bf7903570
Merge pull request #4470 from appsmithorg/ui/eslint/sort-destructured-props
Add eslint rule to sort destructured props and auto fix the issues.
2021-05-17 14:52:59 +05:30
Satish Gandham
bed4b39561
Merge pull request #4292 from appsmithorg/perf/optimize-table-widget
Optimize table widget
2021-05-17 14:52:49 +05:30
bhavin
b323c75d1d updated closeModal saga to stop reseting children meta properties on a modal 2021-05-17 14:04:56 +05:30
Apeksha Bhosale
e4ee2b07c9
r.match on API pane error (#4497)
* r.match on API pane error

* Pr comment fixed
2021-05-17 12:51:48 +05:30
arunvjn
67e292cc2a
Fixed handleSubmit bug in API form editor (pagination buttons) (#4477) 2021-05-15 00:13:08 +05:30
bhavin
cab7f4a099 fix: select disabled option popover overflow 2021-05-14 14:53:22 +05:30
arunvjn
341a4d62af
Bug/paste widget append copy to name (#4399)
* Changes to retain widget/Action names on copy when there is no clash.

* Updated tests

Co-authored-by: Apple <nandan@thinkify.io>
2021-05-14 14:35:55 +05:30
NandanAnantharamu
b66692ba57
Test commented (#4476) 2021-05-14 12:32:25 +05:30
arunvjn
068e4065d7
Expose response headers for API/DB actions (#4336)
* 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
2021-05-14 12:21:09 +05:30
NandanAnantharamu
fb8b6d1995
updated method to print response (#4473) 2021-05-13 21:27:19 +05:30
Trisha Anand
377629955d Revert "Init minor comment"
This reverts commit 2b7212da8c.
2021-05-13 20:01:37 +05:30
Trisha Anand
2b7212da8c Init minor comment 2021-05-13 19:52:54 +05:30
Tolulope Adetula
e7cd7148fa update: fix test 2021-05-13 14:08:07 +01:00
Tolulope Adetula
083efdcdbe fix: Form widget random color test 2021-05-13 13:31:46 +01:00
Satish Gandham
d27dcca678 - Remove jsx-no-bind and noshadow eslint rules 2021-05-13 17:50:04 +05:30
Satish Gandham
8ecac87ec7 Change the cell renderer function from class property to inline and use JSON.stringify to do the comparision. 2021-05-13 17:38:15 +05:30
Satish Gandham
8ad7eecdeb - Auto fix sort ddestructured props rule 2021-05-13 14:05:39 +05:30
Nidhi
ea451ef061
Add default configs for prod and tests (#4464)
* Added default cs config for prod and tests

* Env variable for new installations

* K8s defaults
2021-05-13 13:30:23 +05:30
Satish Gandham
8f1cc88b7d Merge branch 'release' into add-more-eslint-rules 2021-05-13 12:47:50 +05:30
Satish Gandham
f2d228c346 - Add no shadow eslint rule 2021-05-13 12:41:11 +05:30
Apeksha Bhosale
66c7a0b252
Revert "Separating js error and validation error for debugger (#4361)" (#4447)
This reverts commit c6a8f81d60.
2021-05-13 09:50:30 +05:30
bhavin
0015d72122 updated max year for datepicker to +100, same as property pane datepicker 2021-05-12 21:01:17 +05:30
NandanAnantharamu
fb7db810da
Updated Cypress locator for product updates test (#4454) 2021-05-12 17:43:11 +05:30
Tolulope Adetula
285f7faf41 fix: add color picker to form component 2021-05-12 11:03:34 +01:00
Pawan Kumar
cc36bdc051
Fix: TypeError: t.match is not a function (#4445)
* add is number check before setting widget property

* use toString of lodash

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-05-12 13:27:28 +05:30
Apeksha Bhosale
c6a8f81d60
Separating js error and validation error for debugger (#4361)
* separate js error and validation error

* PR comments fixed and added error for pageload action

* reverted to jsError message property

* small check for empty errors

* small changes for Test to pass

* space was missing for test case

* removed console statement
2021-05-12 12:10:32 +05:30
Tolulope Adetula
0b1db5689f Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-12 02:22:07 +01:00
Tolulope Adetula
f6c7036d5c fix: remove uploadedFileUrls ppty from FilePicker 2021-05-11 16:53:02 +01:00
Ashok Kumar M
3eeaf86097
Fix: Resize doesn't react as intended for top/bottom handles. (#4321) 2021-05-11 20:09:33 +05:30
Satish Gandham
8bd947671d Move the expensive getBoundingReactangle call to isColliding function to avoid unnecessary calls. 2021-05-11 20:09:09 +05:30
bhavin
ca7594ac3f fixed : deafult and min/max is allow same date 2021-05-11 13:07:16 +05:30
Satish Gandham
68c258ab3a - Remove unncessary anonymous funciton
- Use destructured imports
2021-05-11 12:25:42 +05:30
vicky-primathon.in
56f0ba716b Merge branch 'release' of https://github.com/appsmithorg/appsmith into feature/table-excel-export 2021-05-11 12:10:26 +05:30
vicky-primathon.in
78bad85e24 Used useCallBack hook and remove inline arrow function 2021-05-11 12:10:13 +05:30
Satish Gandham
812e893eee - Add name to memoized resizableComponent 2021-05-11 12:03:07 +05:30
Satish Gandham
8763f9518b - Memoize EditorContext value
- Change mapDispatchToProps to object form
2021-05-11 12:02:24 +05:30
akash-codemonk
d6de913949
Revert "Feature: Show widget error state (#4202)" (#4406)
This reverts commit bf7a8b91a4.
2021-05-11 09:40:43 +05:30
abhishek nayak
1276edf517
Update DropdownWidget.tsx
Updated the default value to something that doesn't fail.
2021-05-11 03:19:03 +05:30
Tolulope Adetula
8c484798de fix: overlay covering widget explorer 2021-05-10 20:59:16 +01:00
Apeksha Bhosale
2138c9059b
match is not a function (#4409) 2021-05-10 19:40:22 +05:30
arunvjn
1b98c2e520
Revert Gsheets warning modal (#4405) 2021-05-10 19:39:26 +05:30
Tolulope Adetula
23367fe3be Merge branch 'release' into fix/dropdown-overlap-modal 2021-05-10 14:43:38 +01:00
Tolulope Adetula
579085a88b Merge branch 'fix/Datasource-dropdown-stacking-issue' into fix/dropdown-overlap-modal 2021-05-10 14:42:40 +01:00
Tolulope Adetula
57a621978d Merge branch 'release' into pr/3791 2021-05-10 14:33:01 +01:00
arunvjn
3b61af395e
Fix/text overflow json viewer (#4367)
CSS fix to wrap long urls/text in json viewer. GSheets to occupy full width
2021-05-10 18:58:38 +05:30
NandanAnantharamu
408517de39
Datasource test with basic profile added (#4374) 2021-05-10 17:27:54 +05:30
vicky-primathon.in
f14ca6b6c3 Hide sub icon 2021-05-10 17:04:17 +05:30
vicky-primathon.in
97178ea899 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-header-styles 2021-05-10 16:56:37 +05:30
vicky-primathon.in
9ab8da4671 Table header style changes 2021-05-10 16:54:50 +05:30
Pawan Kumar
fc10625d41
Fix: Cannot read property 'label' of undefined & Cannot read property 'length' of undefined (#4389)
* fix for label of undefined

* add check for data type

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-05-10 15:22:17 +05:30
vicky-primathon.in
aa5beddf4a Merge branch 'release' of https://github.com/appsmithorg/appsmith into feature/table-excel-export 2021-05-10 15:08:48 +05:30
vicky-primathon.in
30510c56b4 Fix download dropdown UI 2021-05-10 15:08:23 +05:30
bhavin
4c824a1214 fix: datepicker popover adjust height and width. 2021-05-10 13:14:29 +05:30
akash-codemonk
359d104f5f
Show debug button in toast only for some particular errors (#4311) 2021-05-10 13:13:12 +05:30
akash-codemonk
78ccfadb61
Fix: Make contents of tab selectable (#4390) 2021-05-10 13:08:39 +05:30
Somangshu Goswami
d4e3de6330
Merge pull request #4359 from appsmithorg/fix/dropdown-rename-select
Refactor: Rename Dropdown to Select
2021-05-10 11:25:24 +05:30
Somangshu Goswami
1864166fdc
Merge pull request #4285 from appsmithorg/fix/date-time-picker-bug
change data-time format 'YYYY-MM-DD hh:mm:ss A' to 'YYYY-MM-DD hh:mm:ss'
2021-05-10 11:21:42 +05:30
snyk-bot
02d1231d60
fix: upgrade flow-bin from 0.91.0 to 0.148.0
Snyk has created this PR to upgrade flow-bin from 0.91.0 to 0.148.0.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/nikhil-nu4/project/d17f040d-321b-4afe-b115-70b9f45067b1?utm_source=github&utm_medium=upgrade-pr
2021-05-09 04:59:13 +00:00
akash-codemonk
bf7a8b91a4
Feature: Show widget error state (#4202) 2021-05-07 20:03:20 +05:30
bhavin
c3960a7a4d fix :extended maxDate and minDate limits to 100 years from now. 2021-05-07 18:38:43 +05:30
Nidhi
4a288439f0
Added basic authentication type to REST APIs (#4040)
* Added basic authentication type to REST APIs

* Spacing for prefix

* Tests and json ignore for password

* Client side form changes

* Review comments
2021-05-07 17:24:05 +05:30
Satish Gandham
c86390ebfe - Collapse all but the first two records in react-json-view 2021-05-07 15:22:53 +05:30
arunvjn
45aa3c57f1
Added null check against datasource url (#4352) 2021-05-07 13:24:58 +05:30
Tolulope Adetula
ff4dbfde74 Merge branch 'release' into fix/Datasource-dropdown-stacking-issue 2021-05-07 08:41:34 +01:00
Tolulope Adetula
00669d9b8e fix: move dropdown options to portal 2021-05-07 08:35:00 +01:00
Nidhi
51aee58c54 Bearer prefix without space 2021-05-07 12:35:34 +05:30
bhavin
47a7128a06 Refactor: rename Dropdown to Select 2021-05-07 10:56:36 +05:30
Tolulope Adetula
213d7e0c58 Merge branch 'release' into pr/3791 2021-05-06 19:04:14 +01:00
Paul Li
a2faae4216 Merge branch 'release' into feature/4135-table-url-column-pretty-link 2021-05-06 10:32:06 -04:00
Paul Li
8ea4638d00 FEATURE-4135 : Table URL columns pretty link
-- Change controlType for display text to COMPUTE_VALUE
2021-05-06 10:29:09 -04:00
bhavin
9b91a09c73 fix: set default format in table date type cell 2021-05-06 19:36:41 +05:30
arunvjn
65d33c2614
Fixed query params parsing in API pane when dynamic bindings are present in the URL (#4205) 2021-05-06 18:45:05 +05:30
Trisha Anand
ee14571ffc
[Bug Fix] : Removal of cyclical dependencies due to action relationships being added to dependency map (#4342) 2021-05-06 18:28:06 +05:30
vicky-primathon.in
a5dbb5261b Added test case to validate onSearchTextChange function if configured in table widget 2021-05-06 13:54:18 +05:30
Tolulope Adetula
829742b239 fix: reduced portal zindex 2021-05-06 08:18:39 +01:00
Satish Gandham
f193ff4a21 - Remove the accidental recursive funciton call in tablewidget 2021-05-06 12:01:39 +05:30
Satish Gandham
9fc5770d72 - Refactor the Cell render function and change it into a class property.
- Remove unsed hook.
2021-05-05 18:31:11 +05:30
Satish Gandham
abf7277d20
Merge pull request #4240 from appsmithorg/perf/optimize_react-json-viewer
Memoize CurrentValueViewer to prevent expensive rerenders of react JSON viewer
2021-05-05 18:18:05 +05:30
Trisha Anand
218ac82e7f
During updateDependencyMap, when dependencies are getting added for a path, only add if the dependency is not a parent of the path. (#4315)
* 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
2021-05-05 17:55:39 +05:30
Rishabh Saxena
95f3cb8a9a
Log an analytics event for cyclical dependency errors (#4323) 2021-05-05 16:51:15 +05:30
Trisha Anand
6cf3b8a901
In case the chart series data id starts with a number, it was incorrectly identified as a number instead of a string which led to incorrect path computed to check in binding paths (#4322) 2021-05-05 16:50:59 +05:30
Paul Li
ee47510fac Merge branch 'release' into feature/4135-table-url-column-pretty-link 2021-05-05 05:29:46 -04:00
Paul Li
4be80b665a FEATURE-4135 : Table URL columns pretty link
-- Remove the anchor tag wrapping display text
-- Make display text case-sensitive
2021-05-05 05:26:57 -04:00
Kaushik Varanasi
984119e9cb
Feature: auto create organisation Fixes #2720 (#3922)
* 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
2021-05-05 12:40:35 +05:30
vicky-primathon.in
e96fa63f6d Disable client side search when server side search is enabled in table widget 2021-05-05 12:39:15 +05:30
Somangshu Goswami
fd6709b29a
Merge pull request #4119 from appsmithorg/fix/date-input-edit
Fix date string parsing for date from input field
2021-05-05 12:08:16 +05:30
Somangshu Goswami
0a0d9794dd
Merge pull request #4099 from appsmithorg/fix/#3860-input-widget-validation
[Bug] : Input widget validation issues#3860
2021-05-05 12:06:59 +05:30
Somangshu Goswami
6d41a4eb27
Merge pull request #4211 from appsmithorg/fix/4134-table-filter-case-insensitive
Fix/4134 table filter case insensitive
2021-05-05 12:02:27 +05:30
bhavin
a29b20eca5 fix: set date picker calendar popover position to bottom 2021-05-05 11:53:59 +05:30
Satish Gandham
4543bcc39e Add eslint rule to warn against inline functions in jsx 2021-05-05 11:37:12 +05:30
vicky-primathon.in
ba2d9e1ed2 Added cypress test to validate email parsing 2021-05-05 11:30:33 +05:30
vicky-primathon.in
53b99c1a34 Fix email parsing issue in text widget 2021-05-05 10:59:49 +05:30
abhishek nayak
10b8cdc32a
Update WidgetConfigResponse.tsx
Edited default table column size to remove scrollbar
2021-05-05 03:36:21 +05:30
Paul Li
e1be6ad940 Merge branch 'release' into feature/4135-table-url-column-pretty-link 2021-05-04 15:53:24 -04:00
Paul Li
a5a0e0d85d FEATURE-4135 : Table URL columns pretty link
-- Add displayText field into property pane
-- Display urls based on displayText
-- Fix url alignment issue
2021-05-04 15:48:40 -04:00
Abhinav Jha
b508e37387
Fix DEFAULT_OPTION_VALUE validations which were breaking evaluations (#4295) 2021-05-04 22:42:15 +05:30
akash-codemonk
6ad40de1e5
Fix undefined error in debugger sagas (#4291)
Use correct types and check if validationMessages exists as it could be undefined
2021-05-04 20:12:42 +05:30
Satish Gandham
611a07af75 Add eslint rule to sort destructure keys 2021-05-04 19:45:29 +05:30
Apeksha Bhosale
8473226382
app crashes when moving from google to rest api (#4282)
* app crashes when moving from google to rest api

* wrong url for test
2021-05-04 18:38:20 +05:30
bhavin
5f9497a627 date format 'YYYY-MM-DD hh:mm:ss A' to 'YYYY-MM-DD hh:mm:ss' 2021-05-04 16:39:05 +05:30
Satish Gandham
adb5f7bc7a - Memoize ReactTableComponent 2021-05-04 16:30:57 +05:30
Rishabh Saxena
99c302e018
Fix update application test (#4281) 2021-05-04 14:31:19 +05:30
Satish Gandham
30b33331a2
Fix cyclic dependency making the table widhget crash the app. #4209 (#4214)
- Check if sanitizedTableData is array

Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-05-04 13:04:35 +05:30
Kaushik Varanasi
7af0faa32e
Feature: Fork apps across orgs : fixes #3089 (#4121)
* 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
2021-05-04 11:34:23 +05:30
arunvjn
da0abfb2bf
CSS fix to wrap long urls/text in json viewer (#4269) 2021-05-04 11:17:09 +05:30
Satish Gandham
2a3d0fd28e - Destructure TableComponent props 2021-05-04 00:12:21 +05:30
Nidhi
8596f51921
New privacy policy (#4267)
* New policy

* Minor styling
2021-05-03 22:54:03 +05:30
abhishek nayak
edfe965cf7
Merge pull request #4248 from appsmithorg/areyabhishek-patch-2
Update WidgetConfigResponse.tsx
2021-05-03 20:28:44 +05:30
arunvjn
2956953955
Feature/gsheet warning modal (#4258)
Added modal to inform the users about google sheet warnings and events to monitors sheets usage.
2021-05-03 17:43:37 +05:30
Nidhi
446220515f
Added limited use disclosure (#4261)
* Added limited use disclosure
2021-05-03 16:28:51 +05:30
Satish Gandham
e3b361a8d4 Change inline functions in jsx to class properties 2021-05-03 14:33:03 +05:30
akash-codemonk
c36b1ffa04
Update debugger analytics events (#4186)
- Send analytic event for tab change in api and query pane

- Also update debugger text

- Send open debugger analytic event while opening from shortcut
2021-05-03 13:38:49 +05:30
Ashok Kumar M
4350da7da3
Fix: Updating help text for tabs widget after refactor. 2021-05-03 13:12:57 +05:30
Rishabh Saxena
81a2bfa067
Fix storybook build (#4087) 2021-05-03 11:19:12 +05:30
Pawan Kumar
923cbcd595
Fix: Validation on grid gap + handle delete child on list widget (#4247)
* handle delete case for list widget

* add check for grid grap validation

* update test

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-05-03 10:31:47 +05:30
abhishek nayak
782afcc6b0
Create WidgetConfigResponse.tsx 2021-05-01 04:57:16 +05:30
abhishek nayak
7623b99830
Update WidgetConfigResponse.tsx
1. Changed default text of dropdown widget, and radio button
2. Changed the font size of title of form widget to heading1 from paragraph
3. Changed default location of Google maps widget
2021-05-01 04:25:37 +05:30
Satish Gandham
449ea505fe Memoize CurrentValueViewer to prevent expensive rerenders of react json viewer #4239 2021-04-30 15:06:28 +05:30
Nikhil Nandagopal
9650dfe638
Merge pull request #4236 from appsmithorg/fix/table-data
fixed the column sizes
2021-04-30 14:55:19 +05:30
Nikhil Nandagopal
529114f57f fixed the column sizes 2021-04-30 13:49:13 +05:30
Abhinav Jha
d8c9d16575
Fix #1805 base64 encoded images (#4020)
Co-authored-by: Navdeep Singh <navdeep.er@gmail.com>
Co-authored-by: Apple <nandan@thinkify.io>
2021-04-30 12:30:13 +05:30
Somangshu Goswami
9caf953b41
Merge pull request #4128 from appsmithorg/fix/#4023-datepicker-incorrect-placeholder
[Bug-4023] : Incorrect placeholder in the datepicker widget
2021-04-29 21:21:36 +05:30
vicky-primathon.in
3d79900290 Merge branch 'release' of https://github.com/appsmithorg/appsmith into feature/table-excel-export 2021-04-29 19:56:21 +05:30
Somangshu Goswami
64961dde16
Merge pull request #4006 from appsmithorg/fix/native-scrollbars-experience
Fix-Native scrollbar UX with custom scrollbars
2021-04-29 16:27:14 +05:30
Rishabh Saxena
a0d2e8533d
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs

* add actions

* add assets

* state management for existing comments and creating new

* add ui components

* add overlay comments wrapper to baseWidget

* add toggle comment mode button at editor header

* trigger tests

* Disallow commenting as someone else

* Add applicationId for comments

* lint

* Add overlay blacklist to prevent component interaction while adding comments

* Comment thread style updates

* Placeholder comment context menu

* Controlled comment thread visibility for making new comments visible by default

* Update comment type description

* Reset input on save

* Resolve comment thread button ui

* fix close on esc key, dont create new comment on outside click

* Submit on enter

* add emoji picker

* Attempt at adding a websocket server in Java

* CRUD APIs for comment threads

* Add API for getting all threads in application

* Move types to a separate file

* Initial commit for real time server (RTS)

* Add script to start RTS

* Fix position property

* Use create comment thread API

* Use add comment to thread API

* Add custom cursor

* Dispatch logout init on 401 errors

* Allow CORS for real time connection

* Add more logs to RTS

* Fix construction of MongoClient

* WIP: Real time comments

* Enable comments

* Minor updates

* Read backend API base URL from environment

* Escape to reset comments mode

* Set popover position as auto and boundary as scroll parent

* Disable warning

* Added permissions for comment threads

* Add resolved API for comment threads

* Migration to set commenting permission on existing apps

* Fix updates bringing the RTS down

* Show view latest button, scroll to bottom on creating a new comment

* Cleanup comment reducer

* Move to typescript for RTS

* Add missing server.ts and tsconfig files

* Resolve / unresolve comment

* Scaffold app comments

* Minor fixes: comment on top of all widgets, add toggle button at viewer header

* Reconnect socket on creating a new app, set connected status in store

* Retry socket connection flow

* Integration tests for comments with api mocks using msw

* Fix circular depependency

* rm file

* Minor cleanup and comments

* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper

* Use policies when pushing updates in RTS

* ENV var to set if comments are enabled

* Fix: check if editor/viewer is initialised before waiting for init action

* Add tests for comments reducer

* Revert "ENV var to set if comments are enabled"

This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.

* Enable comments for users with appsmith email

* lint

* fix

* Try running a socket.io server inside backend

* Update comment reducer tests

* Init mentions within comments

* Fix comment thread updates with email rooms

* Minor fixes

* Refactors / review suggestions

* lint

* increase cache limit for builds

* Comment out tests for feature that's under development

* Add Dockerfile for RTS

* Fix policies missing for first comment in threads

* Use draftJS for comments input with mentions support

* fix fixtures

* Use thread's policies when querying for threads

* Update socket.io to v4

* Add support for richer body with mentions

* Update comment body type to RawDraftContentState

* fix stale method

* Fix mentions search

* Minor cleanups

* Comment context menu and thread UI updates

* revert: Scaffold app comments

* Yarn dependencies

* Delete comment using id api added

* Init app comments

* Add test for creating thread

* Api for delete comment with id

* Test comment creation response and policies

* Copy comment links

* Fix reset editor state

* Delete valid comment testcase added

* Delete comment TC : code refactor

* Don't allow creating comments with an empty body

* Pin comments WIP[]

* Ignore dependency-reduced-pom.xml files from VCS

* Cleanup of some dev-only files, for review

* Delete comment

* Update socket.io to v4 in RTS

* Pin and resolve comment thread object added in commentThread

* Pin and resolve comment thread object added in commentThread

* Update comment thread API

* Added creationTime and updationTime in comment thread response

* Added creationTime and updationTime in comment thread response

* Added human readable id to comment threads, fallback to username for null name in user document

* Refactor

* lint

* fix test, rm duplicate selector

* comment out saga used for dev

* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status

* lint

* trigger tests

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 16:03:51 +05:30
Paul Li
6d9d7d94bf Merge branch 'release' into fix/4134-table-filter-case-insensitive 2021-04-29 06:04:05 -04:00
vicky-primathon.in
9469571a0c Fix type issue 2021-04-29 15:33:40 +05:30
Paul Li
aedac74d3a Merge branch 'release' into fix/#4023-datepicker-incorrect-placeholder 2021-04-29 05:54:24 -04:00
Paul Li
2344af3b59 BUG-4134 : Table filter search shouldn't be case sensitive
-- Lowercase and then apply filters
2021-04-29 05:41:16 -04:00
vicky-primathon.in
92764c8f5c Used zipcelx instaed of xlsx lib to download table data as excel 2021-04-29 14:50:43 +05:30
Apeksha Bhosale
82a330bebb
show invalid datasource but in different color (#4198) 2021-04-29 13:25:20 +05:30
arunvjn
5867375090
Code changes to show records count for db queries/APIs/GSheets. (#4185) 2021-04-29 11:29:38 +05:30
vicky-primathon.in
fcc4ad18f6 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/native-scrollbars-experience 2021-04-29 01:42:47 +05:30
Somangshu Goswami
3c144a1fe5
Merge pull request #3962 from appsmithorg/fix/multi-select-values-reset
Fix-Multi select dropdown values does not get reset inside a form
2021-04-28 20:58:23 +05:30
Somangshu Goswami
6eec8236b6
Merge pull request #4192 from appsmithorg/fix/dropdown-default-value
Fix-Dropdown default value not trimming special characters
2021-04-28 20:52:36 +05:30
Somangshu Goswami
8e5f6ec271
Merge pull request #4045 from appsmithorg/fix/table-image-cell-align
Fix- Image alignment in table widget cells
2021-04-28 20:48:31 +05:30
Somangshu Goswami
0c5e73f9fa
Merge pull request #4065 from appsmithorg/fix/table-filter-selection-background
Removed background from selected dropdown item in table widget filters
2021-04-28 20:46:41 +05:30
Somangshu Goswami
201436b84d
Merge pull request #4187 from appsmithorg/fix/bug-1610-cropped-text-in-text-widget
BUG-1610 : Text gets cropped in the text widget even when there is go…
2021-04-28 20:08:16 +05:30
vicky-primathon.in
e78b4db3b2 Merge branch 'release' of https://github.com/appsmithorg/appsmith into feature/table-excel-export 2021-04-28 18:54:26 +05:30
vicky-primathon.in
398fe551cc Handle table data download as excel 2021-04-28 18:37:35 +05:30
Satish Gandham
7f7f6f666b
Development: Add eslint rules for code consistency (#4083)
Co-authored-by: Satish Gandham <satish@appsmith.com>
Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
2021-04-28 15:58:39 +05:30
Nidhi
706fd06e15
Including services and their role (#4193)
* Including services and their role

* Explicitly mention Google tokens
2021-04-28 15:07:55 +05:30
vicky-primathon.in
4909a83c00 Fix date input test case 2021-04-28 14:08:09 +05:30
vicky-primathon.in
6d5269fa3b Added cypress test to validate default value with enter works 2021-04-28 12:43:08 +05:30
vicky-primathon.in
d4e636b519 Updated cypress test 2021-04-28 12:12:16 +05:30
Paul Li
2e61174890 BUG-1610 : Text gets cropped in the text widget even when there is good amount of space
-- Change css line-height property into 1.2
2021-04-28 01:43:03 -04:00
Hetu Nandu
c8bce7344b
Set derived values as undefined if cyclic dependency (#4159) 2021-04-27 19:09:52 +05:30
Paul Li
17dd8d525e Merge branch 'release' into fix/#3860-input-widget-validation 2021-04-27 09:19:50 -04:00
Nikhil Nandagopal
a931c372be
Merge pull request #4179 from appsmithorg/fix/logs
[Fix] fire events locally to debug analytics
2021-04-27 18:31:47 +05:30
Nikhil Nandagopal
73cb703962 fire event locally to debug analytics 2021-04-27 18:23:08 +05:30
arunvjn
cbb619a266
Show server error message when mongo auth is invalid. (#4110) 2021-04-27 18:22:26 +05:30
Pawan Kumar
6cd9f39b7f
fix cypress test for chart-text binding (#4177)
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-04-27 17:13:36 +05:30
Nikhil Nandagopal
217b55697b
Merge pull request #4089 from appsmithorg/fix/table-data
Updated the default table data to guide users to connect a datasource
2021-04-27 14:14:23 +05:30
Ashok Kumar M
8f7cc87801
Fix: Tabs widget refactor with new nested property validation (#4014)
* dip

* test cases first commit

* Adding Tabs migrator.

* fixing tests.

* bug fix.

* selected tab fix

* missed commit

* fixing bugs

* Fixing tab name bugs.

* close property pane when dragging or resizing

* migration changes.

* release rebase changes.

* adding List factory

* remove dynamic bindings on deleting tabs.

* Adding validation messages for nested properties as well

* fixing validation issue.

* tabs visibility validation.

* missed commit

* Fixing broken cypress tests.

* Fixing broken tests.
2021-04-27 12:46:54 +05:30
vicky-primathon.in
72d5ec5b64 Fix dropdown default value not trimmed before using for value selection 2021-04-27 11:29:52 +05:30
vicky-primathon.in
15ae304da4 Added cypress test to validate issue fix 2021-04-27 11:21:08 +05:30
Apeksha Bhosale
0b2bd452df
Query pane size adjusted as API pane field (#4162) 2021-04-27 11:04:09 +05:30
abhishek nayak
c1bc9ed9f2
Update ContainerWidget.tsx
Updated the color field in the property pane to color picker instead of 'Input_text'
2021-04-27 05:07:11 +05:30
Kaushik Varanasi
9752631103
Bugfix: omnibar issues : fixes #3742 (#3998)
* Added reducers and sagas for cleaning up ui.pageWidgets on creating new application

* Add border and scale to omnibar helpbar on hover

* Added analytics event for omnibar fire on clicking help button

* Linked documentation buttons in API pane and DB query pane to Omnibar

* Added tests to make sure Omnibar has correct styles

* Added margin to make sure border is visible

* Added cypress tests to check that api pane documentation opens the omnibar modal

* Added tests for page widgets reducer reset widget state action

* Added cypress tests to check db documentation opens in global search modal

* remove scale transform

* update recent widgets on selecting widget from omnibar and also clear search when done

* added some documentation links for specific db queries

* added more documentation links, added analytics for omnibar open, set query on opening omnibar from navigation

* remove slicing of 1st option in recent entities, revert previous code and remove console log

* make query syntax better

* add transparent border to remove side effects

* ensure that query is empty upon opening omnibar

* add omnibar documentation helpers to constants

* remove unused files

* added omnibar open and search to readmore button in new query pane

* added analytics event, cleanup and documentation

* removed unused set queries

* Fixed failing cypress tests according to new workflow. Removed invalid comments
2021-04-26 22:15:03 +05:30
somangshu goswami
02fed75899 Merge branch 'release' into fix/table-filter-selection-background 2021-04-26 20:24:03 +05:30
Somangshu Goswami
978bec7866
Merge pull request #3987 from appsmithorg/fix/filepicker-clear-files
Fix-Selected file deletion not working in File Picker widget
2021-04-26 20:17:45 +05:30
vicky-primathon.in
c88e0724e1 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-image-cell-align 2021-04-26 19:46:02 +05:30
vicky-primathon.in
f50b1508ba Cypress test to validate issue fix 2021-04-26 19:45:46 +05:30
Nikhil Nandagopal
c3ef0b1bc5 Merge branch 'release' of github.com:appsmithorg/appsmith into fix/table-data 2021-04-26 19:19:41 +05:30
Hetu Nandu
12bb6dd715
Fix datasource invalids check (#4164) 2021-04-26 19:18:13 +05:30
Nikhil Nandagopal
edac5344d2 Merge branch 'release' of github.com:appsmithorg/appsmith into fix/table-data 2021-04-26 19:00:09 +05:30
Nikhil Nandagopal
165c7cdc78 removed unused imports 2021-04-26 18:59:53 +05:30
Nikhil Nandagopal
54fd4c5832 updated action as a primary col 2021-04-26 18:16:56 +05:30
Apeksha Bhosale
be15d0d44b
Show warning when connecting to localhost (#4017) 2021-04-26 17:47:38 +05:30
Apeksha Bhosale
5dac939534
Show hint message for identical column (#4033) 2021-04-26 17:46:48 +05:30
Hetu Nandu
74a292ffda
Add better code coverage comments (#4140) 2021-04-26 16:21:52 +05:30
Pawan Kumar
d814e780ed
Fix: Update chart from array to object (#3907)
* update structure of chart data

* update chart data

* update chart data structure

* remove array like validator

* remove log

* remove log

* widget utils + update tests for chart data validations

* update utils test

* add migrations

* remove unnecessary helper function

* remove unnecessary helper function

* update validation test cases

* WIP

* WIP 2

* Remove validationConfigMap from widget and add to properties

* Update data tree validator to get validation from the correct place

* Minor reference fixes

* Fix test mocks

* fix for bad setting of nested property path

* add test for migration for chart widget function

* fix test for widget utils

* remove unused import;

* remove unsued import

* update migration version

* remove console and add check if data is array

* fix custom fusion chart + validation not working issue

* move custom fusion chart config to chart data section

* remove console and unused import

* fix test

* fix property config test

* fix dynamicbinding path list in migration

* remove old chart validation

* remove old validation test

* fix widget prop utils test

* remove array codepath for widget utils

* fix utils test

* fix utils test

* fix prettier issue

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: hetunandu <hetu@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-04-26 16:05:59 +05:30
Rishabh Saxena
46b67577dd
Check if localstorage is supported (#3974) 2021-04-26 14:48:39 +05:30
vicky-primathon.in
e0130336eb added lib for excel export 2021-04-26 12:40:24 +05:30
Hetu Nandu
c92eb0e5a4
Introduce different evaluation types for different binding fields (#3834) 2021-04-26 11:11:32 +05:30
Hetu Nandu
05e935b0a0
Fix flaky tests (#4133) 2021-04-23 20:54:42 +05:30
akash-codemonk
7291ce70e6
Revert ExecutionParams test change (#4132) 2021-04-23 19:53:26 +05:30
akash-codemonk
36532cbcc8
[Feature] Debugger logs (#3633) 2021-04-23 19:20:55 +05:30
Paul Li
37b8a054e8 [Bug-4023] : Incorrect placeholder in the datepicker widget
-- Change date format to `YYYY-MM-DD HH:mm`
2021-04-23 08:08:37 -04:00
Hetu Nandu
11e9276964
Fix set evaluated tree performance tracking 2021-04-23 17:04:33 +05:30
Pawan Kumar
ce4ae70377
add check for root existence (#4120)
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-04-23 14:45:19 +05:30
vicky-primathon.in
2cd932ce80 Fix date string parsing for date from input field 2021-04-23 13:34:37 +05:30
Pawan Kumar
1717b0e392
[Feature] Grid Widget (#2389)
* Updated test

* updated assertions

* Resizing image to take full width of table cell

* updated assertion

* Stop updating dynamicBindingPathList directly from widget

* Fix selectedRow and selectedRows computations

* Fix primaryColumns computations

* Updated test for derived column

* Added tests for computed value

* Added check clear data

* Reordering of test

* updated common method

* Made image size as 100% of table cell size

* add templating logic

* Updated flow and dsl

* Clear old primary columns

* Updated testname

* updated assertion

* use evaluated values for children

* Fix primary columns update on component mount and component update

* add isArray check

* remove property pane enhancement reducer

* add property pane enhancement reducer

* disable items other than template + fix running property enchancment on drop of list widget

* disbled drag, resize, settingsControl, drag for items other than template

* add grid options

* uncomment the widget operation for add child for grid children

* handle delete scenario for child widget in list widget

* WIP: Use the new delete and update property features

* add listdsl.json for testcases

* add test cases for correct no. of items being rendered

* add test cases currentItem binding in list widget

* change dragEnabled to dragDisabled

* change resizeEnabled to resizeDisabled

* change settingsControlEnabled to settingsControlDisabled

* change dropEnabled to dropDisabled

* update settingsControlDisabled default value

* Use deleteProperties in propertyControls

* Fix unsetting of array indices when deleting widget properties

* remove old TableWidget.tsx file

* Fix derived column property update on primary column property update

* Handle undefined primary columns

* Fix filepicker immutable prop issue

* Fix object.freeze issue when adding ids to the property pane configuration

* fix widget issue in grid

* Fix column actions dynamicBindingPathList inclusion issue

* remove consoles + fix typo around batch update

* Remove redundant tests

* js binding test for date picker

* hydate enhancement map on copy list widget

* check for dynamicleaf

* fixes

* improve check

* fix getNextWidgetName

* update template in list widget when copying

* updating template copy logic when copying widget

* update dynamicBindingPathList in copied widget

* Add path parameter to hidden functions in property pane configs

* fix copy bug when copying list widget

* add computed list property control

* Remove time column type

Fix editor prompt for currentRow

Fix undefined derivedColumns scenario

Remove validations for primaryColums and derivedColumns

Fix section toggle for video, image and button column types

* Fix table widget actions and custom column migrations

* Add logs for cyclical dependency map ♻️

* Process array differences

* add property control for list widget

* Fix onClick migrations

* Property pane config parity

* binding and trigger paths from the property pane config (#2920)

* try react virtualized library

* Fix unit test

* Fix unit test 

* Fix minor issues in table widget

* Add default meta props to binding paths to ensure eval and validation

* Dummy commit 🎉

* Remove unnecessary datepicker test

Fix chart data as string issue

* Achieve table column sorting and resizing parity with release

* handle scenario where last column isn't available to access

* Fix for panel config path not existing in the widget

* Fix bindings in currentRow (default)

Add dummy property pane config for canvas widget

* Update canvas widgets with dynamicPathLists on delete of property paths

* Add all diffs to change paths and trim later

* Add back default properties 🚶🏻‍♂️

* Use object based paths instead of arrays for primaryColumns and derivedColumns

* Fix issue in reordered columns

* Fix inccorect update order

* add virtualized list

* Fix failing property pane tests

* minor change

* minor list widget change

* Remove .vscode from git

* Rename ads to alloy

Fix isVisible in list widget

* move grid component to widget folder

* fix import in widget registry

* add sticky row in virtualized list

* add sticky container

* Fix Height of grid widget items container

* fix dragging of items in children other than template children

* update list widget

* update list widget

* Fix padding in list widget

* hide scrollbar in list widget list

* fix copy bug in list widget

* regenrate enhancement map on undo delete widget

* Use enhancementmap for autocomplete in list widget

Basic styles for list widget scrollbar

* add custom control in widget config

* minor commit

* update scrollbar styles

* remove unused variable

* fix typo in custom control

* comment out test cases

* remove unused imports

* remove unused imports

* add JSON stringify in interweave

* add noPad styling in dragLayer for noPad prop

* implement grid gap

* add list item background color prop

* add white color in color picker control

* fix gap in last list item

* remove onBeforeParse in textcomponent

* remove virtualization in grid widget

* allow overflow-y

* add onListItemClick action

* add beta label

* add pagination

* fix actions in pagination in list widget

* add list widget icon

* add list background color default value

* remove extra div

* fix pagination issue

* fix list widget crashing on perpage change

* extract child operation function to widgetblueprint saga

* refactor enhancements

* add enhancement hook

* refactor propertyUpdate hook enhancment

* remove enhacement map

* revert renaming ads to alloy

* add autopagination

* Cleanup unused vars

Re-write loop using map

Fix binding with external input widget

* update default background color

* remove unnessary scrol + fix pagination per page

* remove console.log

* use grid gap in pixel instead of snap

* fix list widget tests for binding

* add tests for on click action and pagination

* remove unnecessary imports

* remove overflow hidden in list component

* Add feature to enable template actions

* update property pane help text for list widget

* disable pagination in editor view

* update property pane options

* add test case for action

* uncomment tests

* fix grid gap validation

* update test cases

* fix property pane opening issue for list tempalte

* Disable form widgets in list widget

* fix template issue for actions

* add validation tests for list data

* update starting template

* add selectedRow + enable pagination in edit mode

* remove extra padding in list widget + popper fix on settingDisabled

* add stop propagation for button click

* fix click event in edit mode

* disallow filepicker widget for list widget

* add test for list widget entity definition for selectItem

* remove unused imports

* fix test

* remove evaluated value for list child widgets

* add comment

* remove log

* fix copying bug in list widget

* add check for not allowing template to copy

* fix test

* add test for property pane actions

* remove unused import

* add draglayercomponent test

* add test for draggable component

* add test for evaluatedvalue popup

* add test for messages.ts

* add test for widgeticons

* add test for property pane selector

* add test for widget config response

* start testing widget configresponse

* add test for enhancements in widget config

* add test for codeeditor

* add test for base widget + list widget

* add test for executeWidgetBlueprintChildOperations

* remove unused import

* add test for widget operation utils

* remove unused import

* add test for handleSpecificCasesWhilePasting

* remove unused function

* remove unused import

* add empty list styling

* resolve all review comments

* fix message test

* add test for widget operation utils

* fix merge conflicts

* move validations in property config

Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: vicky-primathon.in <vicky.bansal@primathon.in>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
Co-authored-by: Piyush <piyush@codeitout.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-04-23 11:13:13 +05:30
Paul Li
d099a3954e [Bug] : Input widget validation issues#3860
-- Rewrite the validation for number type
2021-04-22 04:32:23 -04:00
vicky-primathon.in
3abd6416e9 Created Scrollbar thumb components and used useMemo for optimizatized rendering of table header component 2021-04-22 10:13:54 +05:30
Nidhi
6b31aa333b
Introducing Google Sheets Plugin (#3517)
* cherry pick -make new

* revert to enable fix from release

* attempt to hook into existing datasource editor

* gSheets plugin skeleton from Rest API

* Changes for database migration

* fix for auth code

* separate it out

* action page loads!

* add to explorer

* create action from datasource

* Editor JSON WIP

* working query form

* Editor JSON WIP

* import to

* fix toast message

* redirect from datasource and editor pages

* fix onboarding

* fix imports and constants

* refactor form out

* refactor queryForm

* Merge branch 'release' into feature/google-sheets

* Merge branch 'release' into feature/google-sheets

* initial values from settings, editor and form

* Check

* remove dangling code around lightTheme

* Safety net

* remove class

* try mouseover solve

* force click

* changes from review

* fix action form name on import

* Merge branch 'release' into feature/google-sheets

* minor cleanup

* Merge branch 'release' into feature/google-sheets

* WIP

* Google sheets changes

* Merge conflicts

* Merging and fixes, needs refactoring

* Check

* Merge branch 'release' into feature/google-sheets

* Fixed tests

* Add cloud services env variable

* Clean up saga

* Clean up

* Refactoring

* Deleted svg file

* Minor fixes

* Modified design to allow behaviour in google sheets methods (#3486)

* Modified design to allow behaviour in google sheets methods

* Review changes

* Removed sysout

* Added handling of edge cases with table data

* Merge branch 'release' into feature/google-sheets

* Fixes

* Fixes

* Added validations

* Improved tests

* Removed extraneous injected bean

* Review changes

* Fixed bug with method

* Changes to Google sheets plugin's request and response structures (#3692)

* Method changes

* Removed logging

* Renaming options

* Reverting pom version

* Modified type of collection variables, fixed errors

* Converted row offset field to one that supports dynamic bindings

* Review changes

* List SAAS plugin type actions under lightning menu apis (#3820)

* list saas plugin type actions under lightning menu apis

* combine saas plugin type actions in the other sub menu of lightning menu

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>

* Fix merge issues

* Prettified query editor and a few fixes w/ ux

* Test fixes

* Reformatting request

* code for REST added (#3876)


Co-authored-by: hetunandu <hetu@appsmith.com>

* Renamed body to row object

* Renamed placeholder for range

* Renamed range heading

* Modifications to handle range semantics

* Use spreadsheet Url instead of id

* Ordering of methods

* Removed logging

* Add tests for Dynamic text controls

* Add tests for url helpers

* Fix coverage config

* Nevermind

* Interface changes

* There is no body here

* Yay to hints

* Delete row field is separately handled as row index

* placeholder support (#4001)

* Fixed tests, typos and creating new sheets with random rows

* Switched to using 'rowIndex' throughout

* binding path added for query input field (#4016)

* - Fixed QA bugs (#4032)

- Split delete sheet into two
- Removed dynamic query input types from hidden keys

* Proper exceptions

* Removed extra logging

* Throw exception if update method does not match any of the columns

* Same for bulk update

* Zero-indexed delete row

* I'm a space bound rocket ship

* Logic to register installations with cs (#4062)

* Logic to register installations with cs

* Clean up

* Casting to string

* Checking to see if this makes the test pass

* Added an extra null check

Co-authored-by: Piyush <piyush@codeitout.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Apeksha Bhosale <7846888+ApekshaBhosale@users.noreply.github.com>
2021-04-22 09:00:09 +05:30
vicky-primathon.in
1474aa01e3 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/native-scrollbars-experience 2021-04-21 21:27:55 +05:30
vicky-primathon.in
e9055a6521 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/multi-select-values-reset 2021-04-21 21:26:19 +05:30
vicky-primathon.in
eea0472a72 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/filepicker-clear-files 2021-04-21 21:25:47 +05:30
vicky-primathon.in
c42839180e Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-image-cell-align 2021-04-21 21:25:19 +05:30
Hetu Nandu
4d73e7e0b3
Widget validation for nested property paths (#3947) 2021-04-21 20:04:25 +05:30
Nikhil Nandagopal
a13fe4369e updated the default table data to guide users to connect a datasource 2021-04-21 16:10:45 +05:30
Satish Gandham
f7794495d7
Fix Map Widget crash #3843 (#4031)
* Fix map method being called on undefined varaible in MapComponent #3843
Sentry Issue: APPSMITH-N5

* Add type to marker property #3843

Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-04-21 14:55:35 +05:30
Hetu Nandu
6c681ef98c
Fix initial value check for action form config (#4080) 2021-04-21 13:18:24 +05:30
Vicky Bansal
318cb78464
Escape line break characters when exporting table data to CSV (#3757) 2021-04-20 16:17:06 +05:30
Trisha Anand
eeaa26a7cc
Type migration from String to Object for plugin specified templates to preserve boolean and any other future data types (#4053)
* WIP : Type migration from String to Object for value

* Migrating config from string to boolean for prepared statement.
Handled error for already stored actions where PS config is stored as String and not Boolean.
2021-04-20 16:09:48 +05:30
dependabot[bot]
ff3c5cf37f
Bump ssri from 6.0.1 to 6.0.2 in /app/client (#4060)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 15:59:30 +05:30
NandanAnantharamu
302181bf48
WIP: Added new test for Text widget (#3953)
* Added new test for Text widget

* Added tests for text widget property panes

* updated tests
2021-04-20 14:29:52 +05:30
Apeksha Bhosale
333c4169eb
name can't be read from empty object (#3958) 2021-04-20 12:26:30 +05:30
NandanAnantharamu
256f64aefc
Removed test for collapse/open Property pane (#4059) 2021-04-20 11:28:30 +05:30
Apeksha Bhosale
568269e8e1
size change for raw and editor in API editor (#3984)
* size change for raw and editor in API editor

* removed from global css file

* removed classes
2021-04-20 11:13:26 +05:30
Apeksha Bhosale
f509f1b50b
datasource edit should be always enabled (#3979) 2021-04-20 11:12:25 +05:30
vicky-primathon.in
385011daa0 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-image-cell-align 2021-04-19 22:17:20 +05:30
Hetu Nandu
59ad172d81
Hot fix redirection race in oAuth autorisation flow (#4052) 2021-04-19 18:47:27 +05:30
vicky-primathon.in
faaf2e3345 Scroll should not be required for header in default table 2021-04-19 17:02:31 +05:30
vicky-primathon.in
934563a154 Removed background from selected dropdown item in table widget filters 2021-04-19 13:32:23 +05:30
NandanAnantharamu
1c10279945
Updated profile tests (#4002) 2021-04-19 13:31:05 +05:30
Trisha Anand
eaa24ca894
[Bug Fix] : Fetch actions by id during refactor action name to solve IncorrectResultSizeDataAccessException for pages where duplicate action names exist (#4030)
* New dto for refactoring action name which includes actionId as well

* Refactor action name now also takes actionId as payload and fetches the action from db by id instead of name to solve for the scenario where the action names could be duplicated.

* Adding actionId to QP of action refactor API.

* WIP : test for asserting the bug fix

* WIP test

* Fixed the test case asserting refactoring works for an action when there are duplicate action names in the page.

Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
2021-04-19 12:35:10 +05:30
vicky-primathon.in
2b8ab8dc8f Align page number text in table pagination 2021-04-19 11:12:18 +05:30
vicky-primathon.in
7a9dfb2066 Fixed table image cell alignment
Added cypress test to validate image cell alingment
2021-04-19 10:31:17 +05:30
vicky-primathon.in
15521fef06 Fix horizontal scrollbar 2021-04-19 09:02:47 +05:30
NandanAnantharamu
812e73a881
Basic DS test scenarios (#4026) 2021-04-16 16:08:41 +05:30
vicky-primathon.in
89af3501aa Removed vertical scroll bar from table header 2021-04-15 16:37:54 +05:30
Trisha Anand
9b49308abe
Adding dependency relationship to plugins (#3997)
* Added dependencies to be added to dependencyMap on client to Postgres, MSSQL, MySQL and Mongo plugins

* Added Dependency config for API

* Fixed the test case
2021-04-15 11:36:41 +05:30
vicky-primathon.in
c8c0ca929e fix 2021-04-15 11:12:45 +05:30
vicky-primathon.in
a3d74c692a removed unnecessary tests 2021-04-15 11:06:03 +05:30
vicky-primathon.in
f46beeb4c6 Reverted changes to ScrollIndicator file name 2021-04-15 11:03:09 +05:30
vicky-primathon.in
99ea7db01b Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/native-scrollbars-experience 2021-04-15 10:44:46 +05:30
vicky-primathon.in
d224f2921d Fix scrollbars 2021-04-15 10:31:06 +05:30
NandanAnantharamu
3a52f51af0
WIP : Updated test for page spec (#3749)
* Updated test for page spec

* Updated test for pages with widget

* updated test

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-04-14 13:44:06 +05:30
vicky-primathon.in
1e6a0e8e92 Fix filepicker widget delete file not working
Added cypress test case to test selected file deletion works
2021-04-13 16:55:50 +05:30
Vicky Bansal
4778b0a450
Fix Table column names allowed to have spaces when editing in property pane panel titles (#3869)
Added cypress test to validate name formatting
2021-04-13 16:33:13 +05:30
vicky-primathon.in
3dc6e0884d Added cypress test case to test multi selected dropdown options are cleared in form reset 2021-04-12 13:07:05 +05:30
Vicky Bansal
d6399c2e48
Disable pagination controls when the table has a single page (#3895)
* Disable input number field when there are no pages to navigate to

* Added cypress test to validate table pagination is disabled
2021-04-09 16:06:50 +05:30
Vicky Bansal
791e8195b1
Align column headers when aligning columns (#3885)
* Align table column header title with table columns

* Added cypress test to validate column header text alignment
2021-04-09 16:04:01 +05:30
Vicky Bansal
43720123d8
Fix: Select Table Widget when a row is selected (#3871) 2021-04-09 16:03:22 +05:30
vicky-primathon.in
53d1333530 use derivedProperty selectedIndexArr instead of computing selectedIndexes 2021-04-09 15:50:48 +05:30
vicky-primathon.in
1db50eb527 Custom scrollbar changes 2021-04-09 12:34:31 +05:30
Rishabh Saxena
d8f2211b70
Fix edit and fork buttons visible simultaneously on the viewer header (#3723) 2021-04-08 14:12:13 +05:30
Kaushik Varanasi
c37adc0a4d
Fix spacing of fields in org settings: fixes (#3612) (#3681)
* add row colums styling to organisation settings fields

* add tests to make sure the grid layout is rendered

* added margin to make spacing look similar to before

* remove negative margin and reduce width

* added jest tests to make sure component mounts and that it has correct styles

* revert unnecessary changes related to cypress tests

* added strict checking for null to avoid ts errors

* use early returns on file empty

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>

* use early returns on file empty

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>

* fixed typo

* added findbytext for sync call

* removed unused imports

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-04-08 11:20:26 +05:30
Trisha Anand
df993efcde
Updated the DSL to change primary columns for an array to a map structure in the DSL (#3905) 2021-04-07 18:22:52 +05:30
Hetu Nandu
28995e5b53
Fix PS and smart substitute true false value (#3896) 2021-04-07 16:06:17 +05:30
Abhinav Jha
f5b97e3863
Fix column ordering in table widget (#3755) 2021-04-07 06:33:30 +05:30
NandanAnantharamu
547a9a7ee0
Added tests for Oauth and Stubbed tests (#3463)
* Added tests for Oauth and Stubbed tests

* updated tests

* test updated

* updated DS tests

* review comments incorporated

* flag removed

* postinvite stubbed

* intercept req added and chromewebsecurity flag added

* Update app/client/cypress/support/commands.js

* updated header request

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-04-06 18:59:27 +05:30
vicky-primathon.in
b2ab89c2c5 add react custom scrollbar types 2021-04-06 17:01:52 +05:30
Hetu Nandu
8bdc491a81
Hot fix for plugin form not downloaded for onboarding (#3879) 2021-04-06 15:47:25 +05:30
Rishabh Saxena
d13f755ba8
Update GTM script (#3711) 2021-04-05 20:54:22 +05:30
NandanAnantharamu
8cd6c95e70
updated table property pane test (#3837)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-04-05 17:25:27 +05:30
Apeksha Bhosale
48790ce6ca
Array support hidden field (#3809) 2021-04-05 15:41:04 +05:30
vicky-primathon.in
a24f8ae6ae Added react-custom-scrollbars 2021-04-05 14:52:55 +05:30
Kaushik Varanasi
8f8b7b281f
Fixes error on failed github docs fetch (#3665)
fixes #3551
2021-04-05 14:07:04 +05:30
Vicky Bansal
6b26e400a8
Bug fix for table crash #3645 (#3849) 2021-04-04 01:10:12 +05:30
Hetu Nandu
af5f6544ea
Always guarantee to fetch Api plugin forms (#3847) 2021-04-02 15:17:37 +05:30
Rishabh Saxena
244930dd69
Add support of component unit testing (#3828)
Update jest config, add msw hooks
2021-04-02 15:17:16 +05:30
Abhinav Jha
28921e0324
Fix table width on drag (#3839) 2021-04-02 13:48:30 +05:30
Vicky Bansal
bdf31dbf37
Text Widget new styling properties (#3167) 2021-04-01 14:00:33 +05:30
Arpit Mohan
91a7acea49
Adding table plugin in the Rich text editor (#3799)
* Add Table button in RTE Toolbar

Co-authored-by: Aswath K <aswath.sana@gmail.com>
2021-04-01 13:54:42 +05:30
dependabot[bot]
68e405a746
Bump y18n from 4.0.0 to 4.0.1 in /app/client (#3817)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 10:39:29 +05:30
Apeksha Bhosale
1f216167c4
removing new lines while showing url path field (#3717)
* added 2 states for path field

* added logic for compact only

* added small condition for no compact

* PR comments fixed

* removed redundant code

* added unit test for code editor functions

* Update app/client/src/components/editorComponents/CodeEditor/index.tsx

* setting cursor

setValue is resetting cursor position to the front.  so will update at the end

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-03-31 17:58:29 +05:30
Apeksha Bhosale
834fc3caf7
showing save datasource option all time (#3695)
* showing datasource

Exposing 'save as datasource' with empty path but in disable state till value is entered

* sending flag instead of value

* removed classname

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-03-31 16:09:13 +05:30
Rishabh Saxena
7ffc0d3786
Ignore cypress/no-unnecessary-waiting (#3794) 2021-03-31 14:05:19 +05:30
Hetu Nandu
0c77051944
Improve performance monitoring (#3790) 2021-03-31 13:10:59 +05:30
Ashok Kumar M
3bce03173a
Fix: Property pane improvements and bug fixes (#3766)
* Fix: Propane improvements bug fixes

* Adding plus indicator for New modal action.
2021-03-31 11:21:24 +05:30
vicky-primathon.in
b30ced453f Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-31 11:03:34 +05:30
Aswath K
a6afa8ce4d Makes isFilterable true by default for DropdownWidget 2021-03-31 08:42:27 +05:30
Aswath K
b447aa8345 Allow removing filter on Dropdown Widget 2021-03-31 00:35:17 +05:30
Abhinav Jha
10159fc442
Fix #3752 DatePicker tries to auto parse the defaultDate (#3753) 2021-03-30 14:32:25 +05:30
Hetu Nandu
aec7e613ad
Update dropdown font size and shadow (#3680) 2021-03-30 14:18:14 +05:30
Ashok Kumar M
984fbecac5
Fix: Adding debounce for renaming tabs. (#3758) 2021-03-30 13:44:25 +05:30
Pawan Kumar
d8b9b8e918
Fix: TypeError: e.widgetName is undefined and TypeError: Cannot read property 'toUpperCase' of undefined (#3694)
* call toUpperCase() only when widgetName exists

* use lodash instead of string class functions

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-03-30 11:20:00 +05:30
Hetu Nandu
363bee8ec9
Fix action field evaluation for editor (#3701) 2021-03-30 10:59:03 +05:30
dependabot[bot]
b4b903278c
Bump lodash-es from 4.17.11 to 4.17.14 in /app/client (#3738)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 10:38:34 +05:30
Ashok Kumar M
bf21c15ba9
Feature: Property pane enhancements(Bug fixes + Draggable popper) (#3748)
* Fix: On renaming a widget via entity explorer the canvas gets resized

* Fix: Close prop pane on resize start of unselected widget.

* Fix: Match all - corejs polyfill

* Fix: Proppane not updated properly when same type widgets are selected.

* Feature: Draggable Proppane.

* Bug fixes for draggable popup.

* Fix: Property pane editor when selecting another widget.

* resolve rebase bad merges.

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fixes

* cytest fix

* fixing draggable components inside porp pane.

* Adding cypress test.

* refactored Draggable list POC version

* reverting unwanted changes.

* prop pane bug fix

* unwanted dependencies.

* double click to open prop pane.

* Fixing bugs in draggable prop pane.

* one click prop pane open.

* ignore drag/resize click captures

* make prop pane draggable only via drag handler.

* Fixed property pane title.

* converting layer to hook and adding it to top most layer.

* removing irrelevant comments.

* close panel when widget changes.

* fixing cytests.

* bug fix

* fixing cytest

* Addressing code review comments.

* bug fix
2021-03-29 21:17:22 +05:30
Rishabh Saxena
3f55e16b35
Fix onboarding test spec: check res instead of req to verify if the datasource was created successfully (#3747) 2021-03-29 19:51:50 +05:30
hetunandu
b0580e9ee0 Revert "Feature: Property Pane improvements (#3561)"
This reverts commit 3437c16ef0.
2021-03-29 16:58:22 +05:30
Ashok Kumar M
3437c16ef0
Feature: Property Pane improvements (#3561)
* Fix: On renaming a widget via entity explorer the canvas gets resized

* Fix: Close prop pane on resize start of unselected widget.

* Fix: Match all - corejs polyfill

* Fix: Proppane not updated properly when same type widgets are selected.

* Feature: Draggable Proppane.

* Bug fixes for draggable popup.

* Fix: Property pane editor when selecting another widget.

* resolve rebase bad merges.

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fixes

* cytest fix

* fixing draggable components inside porp pane.

* Adding cypress test.

* refactored Draggable list POC version

* reverting unwanted changes.

* prop pane bug fix

* unwanted dependencies.

* double click to open prop pane.

* Fixing bugs in draggable prop pane.

* one click prop pane open.

* ignore drag/resize click captures

* make prop pane draggable only via drag handler.

* Fixed property pane title.

* converting layer to hook and adding it to top most layer.

* removing irrelevant comments.

* close panel when widget changes.

* fixing cytests.

* bug fix

* fixing cytest

* Addressing code review comments.

* bug fix
2021-03-29 15:28:52 +05:30
Apeksha Bhosale
8983940a30
Merge pull request #3659 from appsmithorg/fix/new-field-POST-change
Added index check to add content type in existing field
2021-03-29 15:26:03 +05:30
Hetu Nandu
55f65a9fe5
fix default override same value (#3691)
Co-authored-by: Trisha Anand <trisha@appsmith.com>
2021-03-29 12:44:16 +05:30
vicky-primathon.in
b153a0e78a Show header scrollbar always if needed 2021-03-27 11:36:42 +05:30
Nidhi
683176fc48
Increased default limit for webclient payload (#3718)
* Increased default limit for webclient payload
2021-03-26 21:34:10 +05:30
prapullac
d9417dc043
Adding test ideas for Switch widget (#3490)
* adding test ideas for Switch widget

* reset  widget for date change
2021-03-26 14:08:10 +05:30
Apeksha Bhosale
84ebd4324f
Updated link for datasource whitelist url (#3679) 2021-03-26 13:41:15 +05:30
prapullac
cee1b86f32
Adding test ideas for Edit profile (#3700) 2021-03-26 12:51:46 +05:30
Rishabh Saxena
973a70a624
Fix editor help menu background color and icon size (#3686) 2021-03-26 12:18:15 +05:30
Apeksha Bhosale
eab1f8372a Merge branch 'release' into fix/new-field-POST-change 2021-03-26 09:33:52 +05:30
abhishek nayak
5114ca75c4
Merge pull request #3706 from appsmithorg/fix/filteredData-columnProperties
Fix #3381: Table column properties now map correctly when filtering, sorting or searching
2021-03-26 01:30:03 +05:30
Abhinav Jha
5b3547c104 Fix filter condition functions
Fix issue where column properties don't update based on filters and sorting and search
2021-03-26 01:18:40 +05:30
vicky-primathon.in
ea701de662 Added unit tests 2021-03-25 23:58:09 +05:30
vicky-primathon.in
45d7a5fe0b Added unit tests 2021-03-25 23:46:56 +05:30
vicky-primathon.in
b6f21b00e0 Added unit tests 2021-03-25 23:28:51 +05:30
vicky-primathon.in
b6d47a078d Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-25 23:20:35 +05:30
vicky-primathon.in
e79f6c8806 Fix horizontal and vertical table scrollbars
Hide scrollbars during resize
2021-03-25 21:46:22 +05:30
NandanAnantharamu
424a1cbf69
SwitchWidget within FormWidget tests (#3501)
* added test with switch widget within farm widget

* Added another usecase with Switch

* added wait

* updated locators

* minor update

* add locators for switch widget spec

* removed waits and replaced with suitable assertions

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-03-25 21:38:16 +05:30
NandanAnantharamu
378330815b
Added test for tableWidget bug (#3528)
* Added test for tableWidget bug

* updated test

* review comment incorporated

* updated collapse pane test

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-03-25 16:31:51 +05:30
Rishabh Saxena
f2160d61e1
Fix onboarding Cypress test (#3678) 2021-03-25 13:23:56 +05:30
Apeksha Bhosale
4c464787a1
code folding in response and request (#3658) 2021-03-25 10:57:00 +05:30
Abhinav Jha
1ccece69e1
Custom FusionCharts Config (#2670)
* Property pane enhancements

- Property pane sections are collapsible
- Property pane controls can be hidden conditionally
- Property pane configurations now come from the widget instead of a global config file
- Property pane property updates can be hooked with other related updates
- Property pane control and section ids are generated dynamically now.

* Add chart type: "Custom FusionChart" (#2996)

Co-authored-by: Zeger Hoogeboom <zegerhoogeboom@users.noreply.github.com>
Co-authored-by: zeger <zeger@equinoxai.com>
2021-03-25 03:35:04 +05:30
Abhinav Jha
4a05b5d320
Fix #3335 - New method of computing table data to display (#3607) 2021-03-25 00:55:38 +05:30
Vicky Bansal
f2e0ed29c5
Update: DatePicker validates data as ISO 8601 string (#3397) 2021-03-24 17:42:24 +05:30
Vicky Bansal
97b9a32b32
Feature: Table Widget: URL column type (#3569) 2021-03-24 16:54:10 +05:30
Vicky Bansal
5ba4cc4400
Table Widget: Show null values as empty cells (#3522)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-03-24 14:33:48 +05:30
Vicky Bansal
06231e0f5f
Fix crash on Tabs property bindings (#3640) 2021-03-24 14:28:00 +05:30
Vicky Bansal
eb2c551def
DatePicker Widget: Additional date formats (#3162)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
2021-03-24 14:23:39 +05:30
Hetu Nandu
9a4c317f20
Store value improvements (#3663) 2021-03-24 10:39:47 +05:30
abhishek nayak
2e53c79464
Update ForkApplicationModal.tsx 2021-03-24 00:35:46 +05:30
vicky-primathon.in
f4d25f6b2e Renamed ScrollIndicator to VerticalScrollIndicator
Common css moved to DefaultTheme
2021-03-23 20:51:13 +05:30
prapullac
9da0d7abf6
Added test ideas for Table and Hide feature of the page (#3594) 2021-03-23 17:56:31 +05:30
Apeksha Bhosale
28a4b4a6d6 test case fixed
it was checking 3rd key:value pair for content type but with changes it will added to first empty field (0th)
2021-03-23 16:55:21 +05:30
Apeksha Bhosale
5d71e86f43 Test case and refactor code 2021-03-23 15:14:44 +05:30
Hetu Nandu
2dd1791810
Refactor and add unit tests to API interceptors (#3647) 2021-03-22 14:52:24 +05:30
Hetu Nandu
f345619f40
Fix code coverage generation file (#3655) 2021-03-21 12:02:47 +05:30
Hetu Nandu
f1cb2a35b7
Add jest coverage diff reporting action (#3651) 2021-03-20 19:28:10 +05:30
Hetu Nandu
52c7f5331a
Trigger client integration only on approved PRs (#3632)
Co-authored-by: Nidhi <nidhi@appsmith.com>
Co-authored-by: Nidhi <nidhi.nair93@gmail.com>
2021-03-19 14:21:14 +05:30
Hetu Nandu
64116583e3
Fix container widget dynamicBindingPathList correction (#3619) 2021-03-19 11:39:35 +05:30
NandanAnantharamu
a82c789c1a
udpated tests (#3617)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-03-19 11:19:54 +05:30
Nikhil Nandagopal
6b7fcc4c5d
Merge pull request #3615 from appsmithorg/minor-globalsearch-fixes
Minor globalsearch fixes
2021-03-19 11:17:00 +05:30
vicky-primathon.in
5fa3f3abd9 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-19 00:39:24 +05:30
vicky-primathon.in
bb77794125 handle scrollbar changes 2021-03-19 00:39:13 +05:30
Kaushik Varanasi
55c17a66aa
Fix success message for single user invite and multiple user invite (#3591)
* Fixed error message for single user invite

* updated success message for single user invite and created tests

* use state to detect and update the number of users invited

* removing unnecessary lines

* typo
2021-03-18 19:20:33 +05:30
hetunandu
12aba25a00 Remove page save event from frontend 2021-03-18 19:15:57 +05:30
Pawan Kumar
80895b876b
Enhancement: Virtualized Query Editor Table (#3496)
* add react-window on react-table

* remove .vscode launch.json

* add cellwrapper

* fix height issue in virtualized table

* useBlockLayout in Table

* add border-right on table row

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-03-18 18:40:57 +05:30
Rishabh Saxena
8acb365201 Fix placeholder 2021-03-18 18:19:05 +05:30
Rishabh Saxena
660b00b4d5 update title 2021-03-18 18:17:09 +05:30
Rishabh Saxena
82cd1b33ba fix document icon styles 2021-03-18 18:14:37 +05:30
vicky-primathon.in
354405d975 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-18 13:01:36 +05:30
Kaushik Varanasi
5f80e2561e
Merge pull request #3572 from appsmithorg/bugfix/trunncate-org-name-settings
add ellipsis to org name in settings
2021-03-18 12:39:52 +05:30
vicky-primathon.in
fb7cea6ec6 Resolved conflicts 2021-03-18 11:07:16 +05:30
ram-primathon
8b21dd30fd
add icon and subText in ads dropdown (#3598) 2021-03-18 02:06:26 +05:30
Hetu Nandu
441bb368d2
Reduce flakiness by adding waits (#3605) 2021-03-18 02:02:16 +05:30
Hetu Nandu
0debe37637
Add arbitary wait on onboarding test (#3604)
We recently changed the test to make sure we wait for the client to create an onboarding data source if it did not exist. This kind of check was also happening on the source code, and the complexity was not getting translated properly in the tests.

To improve the reliability of the test, I added an arbitrary wait time before we start the building
2021-03-17 23:59:40 +05:30
vicky-primathon.in
5f2d994fda Fix double imports 2021-03-17 18:00:16 +05:30
Vicky Bansal
1195a0b694
Reset selected row(s) when table data is changed (#3576)
* Fixed selected row resets when table data is changed

Added cypress test case to test selected row resets when table data changes

* Fixed cypress test case
2021-03-17 17:27:38 +05:30
vicky-primathon.in
f92a8d7fa6 Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-17 17:22:26 +05:30
vicky-primathon.in
9e65136a75 Merge branch 'fix/table-scrollbar' of https://github.com/appsmithorg/appsmith into fix/table-scrollbars 2021-03-17 17:21:37 +05:30
vicky-primathon.in
212cd423b5 Added horizontal scrollbar component
Add horizontal and vertical scrollbars in table widget
2021-03-17 17:15:49 +05:30
Nidhi
084faf8d54
Typo ¯\_(ツ)_/¯ (#3595) 2021-03-17 17:04:53 +05:30
Hetu Nandu
b32cdfc8cb
Remove property pane custom scrollbar for cypress (#3592) 2021-03-17 15:56:34 +05:30
Rishabh Saxena
0e3901953b
Fix specs (#3577) 2021-03-17 15:06:08 +05:30
Kaushik Varanasi
8fd0509bcb Merge branch 'release' into bugfix/trunncate-org-name-settings 2021-03-17 12:45:13 +05:30
NandanAnantharamu
8aca378028
updated flaky test (#3584)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-03-17 10:38:00 +05:30
Kaushik Varanasi
f9d2318e5a reconciling with current release 2021-03-17 00:22:01 +05:30
Kaushik Varanasi
dfa23a6944 added tests, documentation and better naming convention 2021-03-17 00:18:36 +05:30
Apeksha Bhosale
3dc04901c8 added index check to add content type in existing field 2021-03-16 19:57:21 +05:30
Kaushik Varanasi
2dcecfbf79 add ellipsis to org name in settings 2021-03-16 13:22:25 +05:30
hetunandu
eed140f945 stringify page save analytics 2021-03-16 11:01:48 +05:30
Ashok Kumar M
fc34901be8
Fix: Dynamic Canvas Height based on bottom most widget. (#3398)
* Fix: Dynamic Canvas Height based on bottom most widget.

* Checking cytest failure reason.

* Revert "Checking cytest failure reason."

This reverts commit 2e3aaa882b282e10e1cf491633101293b72ffa89.

* Using UPDATE_CANVAS_LAYOUT to update the layout.

* Remove unwanted declarations.

* Adding comments.
2021-03-16 10:31:37 +05:30
ram-primathon
3b0fb539d5
Property Pane re design (#3057)
Co-authored-by: devrk96 <rohit.kumawat@primathon.in>
Co-authored-by: hetunandu <hetu@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Vicky Bansal <67091118+vicky-primathon@users.noreply.github.com>
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-03-15 17:47:56 +05:30
Vicky Bansal
03be391fa3
Wrap evaluated data in computed value field (#3520) 2021-03-15 15:27:43 +05:30
Vicky Bansal
7c994da6e9
Allow null/empty values in Dropdown widget options (#3533) 2021-03-15 15:25:37 +05:30
Vicky Bansal
5acf2c3238
Fully display Table Widget filter conditionals (AND|OR) (#3521) 2021-03-15 14:39:10 +05:30
Vicky Bansal
812344c439
Persist Table Widget cell height to use as default in deployed app view (#3537) 2021-03-15 14:34:33 +05:30
Vicky Bansal
030269f684
Display the date column output correctly in table when using JS toggle for Display date format 2021-03-15 10:59:01 +05:30
Vicky Bansal
7f43705e7f
Fixed undefined poperty error when columnOrder is undefined (#3511) 2021-03-15 10:57:34 +05:30
Rishabh Saxena
3a47e085e3
Minor global search updates (#3502)
* Update editor header help button styles

* Dont show the current entity in the recents, to keep the previous on top
2021-03-13 23:31:47 +05:30
Arpit Mohan
660c194009
Moving all toast messages to messages.ts file (#2798)
Co-authored-by: hetunandu <hetu@appsmith.com>
2021-03-13 19:54:45 +05:30
Hetu Nandu
89effdd2fb
Refactor evaluate function and add tests (#3536) 2021-03-13 19:42:21 +05:30
Rishabh Saxena
7bd1e9587c
Use replace instead of replaceAll (#3538) 2021-03-13 16:15:51 +05:30
ram-primathon
191dde0b18
Fix API pane header and params count (#3494) 2021-03-13 13:53:46 +05:30
vicky-primathon.in
c952e9b10d Remove unnecessary scrollbar from inside table widget 2021-03-13 12:06:02 +05:30
Nikhil Nandagopal
3b2072eeb9
Merge pull request #3055 from appsmithorg/fix/rte-newline
Added defaultText and defaultHTML properties in RTE
2021-03-12 17:38:58 +05:30
Nikhil Nandagopal
261dfc308c
Merge pull request #3514 from appsmithorg/fix/file-picker
[Fix] Made bade 64 encoding the default type for S3
2021-03-12 16:29:05 +05:30
vicky-primathon.in
3da86b33fe Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/rte-newline 2021-03-12 15:24:51 +05:30
Nikhil Nandagopal
6bdd39c4b8 minor fixes 2021-03-12 14:47:42 +05:30
Nikhil Nandagopal
dbb16775de updated type to enum 2021-03-12 14:43:47 +05:30
Nikhil Nandagopal
82b65e12d1 Removed the property pane 2021-03-12 14:37:24 +05:30
Nikhil Nandagopal
11c8d4f34b made files a derived prop to change based on the file data type
added file type
2021-03-12 14:34:05 +05:30
Nikhil Nandagopal
d7a5f36fea Made bade 64 encoding the default type for S3
Added a data field for file pickers that is filled based on the property pane value
2021-03-12 13:44:32 +05:30
akash-codemonk
4995288801
Show fork modal while returning back to forking after signing in (#3509)
- Show loaders where required and other styling fixes
2021-03-12 13:14:16 +05:30
Abhinav Jha
246f7de444
Preserve Table Column properties when evaluations fail (#3495)
* When there is a cyclic depenency, the table data is processed as s string, leading to incorrect column computations and a render loop. Fixed this by bailing out when table data is a string, as further computations are moot
2021-03-12 12:00:38 +05:30
Arpit Mohan
f11cd45886
Correcting the github condition to start the API server (#3506) 2021-03-12 11:06:54 +05:30
ram-primathon
5b2832f380
Fix api settings page not getting updated (#3489) 2021-03-11 17:33:23 +05:30
Trisha Anand
9f63bfafd2
Adding JSON intelligent substitution for Rest Api plugin (#3474)
* POC : null value getting handled correctly

* Refactor code. Tested with and without quotes. This is working! Woohoo!

* Added support for mustache binding to include json objects and arrays

* Added test for smart substitution.

* Added setting to turn on/off smart substitutions in Rest API plugin

* Handling turning on smart json substitution

* Added error handling

* Added config to turn on smart substitution in JSON to make the tests pass now

* Adding a beta tag to the API setting.

* Spelling error resolved.

* Incorporated review comments.

* Catching JSON Parse exception in http call.
2021-03-11 14:10:00 +05:30
Pawan Kumar
385baaddcb
Enhancement: Virtualized Query Editor Table (#3460)
* add react-window on react-table

* remove .vscode launch.json

* add cellwrapper

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-03-11 10:25:37 +05:30
Hetu Nandu
bc646ab9b2
Fix: Delete tabs from the entity explorer (#3405)
Co-authored-by: Akash N <akash@codemonk.in>
2021-03-11 09:48:46 +05:30
Abhinav Jha
0172430489
Fix unreachable code reported by deepsourcelabs (#3483) 2021-03-11 08:46:50 +05:30
Shrikant Sharat Kandula
65568a4e13
Add more devices in AppLayout options (#3451)
* Remove width and introduce more AppLayout type enums

* Fix: Adding min width to layout options.

Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
2021-03-11 07:51:48 +05:30
dependabot[bot]
27bc73482a
Bump elliptic from 6.5.3 to 6.5.4 in /app/client (#3480)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 06:40:35 +05:30
akash-codemonk
1be56a8512
Applications marked as forkable can be forked (#3453) 2021-03-10 12:38:20 +05:30
Hetu Nandu
4e4c6b76a8
Improve cylical dependency error (#3471) 2021-03-10 12:28:52 +05:30