Commit Graph

3704 Commits

Author SHA1 Message Date
Rishabh Rathod
dc86c9b82b
feat: Show Crud Info Modal data from backend (#6882)
CRUD Info modal which pops up on successful CRUD generation, will now have dynamic data for each CRUD template.

Modal success `message` and `Image` to explain the working of the CRUD template is fetched from the backend.

Co-authored-by: Abhijeet <ABHI.NAGARNAIK@GMAIL.COM>
2021-08-26 12:53:39 +05:30
Snyk bot
058055331a
chore: Deleting redundant Dockerfile for Cypress (#5683)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-08-26 07:10:53 +00:00
Pranav Kanade
f65ef8ddf3
feat: add multiplayer feature flag (#6888)
* updated feature flag to type

* added feature flag dependency for pointer sharing and editor listing features
2021-08-26 12:26:13 +05:30
Shrikant Sharat Kandula
aea43006db
ci: Fix large documents breaking upload to Algolia (#6815)
When uploading docs to Algolia, if the document's JSON representation is larger than 10KB (roughly), then Algolia API will reject it.
2021-08-26 11:34:39 +05:30
Ayush Pahwa
5d30cb3537
feat: Changing evaluations for UQI from hidden type to js objects (#6792)
* Added a new type of UIComponent for DB editor forms

* Added a new state for UQI evals and connected it to the rendering form

* Added sagas to init and run the UQI eval

* Exporting fetch function as a selector

* Moved selector code to the formSelector file

* Added type to state config holder, removed custom diff function and fixed imports

* Fixed path, added the type for plugin in selector

* Created new enum, abstracted function for render and fixed var names

Co-authored-by: Apeksha Bhosale <7846888+ApekshaBhosale@users.noreply.github.com>
2021-08-26 11:07:07 +05:30
Vinod
9f3a24fbb0
feat: show lint errors in code editor (#6265) 2021-08-26 10:15:17 +05:30
akash-codemonk
80b288cecf
fix: Do not mark property pane field as an error when the field is empty. 2021-08-26 09:38:39 +05:30
ashit-rath
aca4457a32
Fix: RTE crash on defaultText change (#6789) 2021-08-25 19:41:15 +05:30
Yash Vibhandik
8099a50832
FIX: table widget updated page count on enter key press in pagination input (#6196) 2021-08-25 19:40:13 +05:30
Tolulope Adetula
d5f91c5495
Fix/select widget placeholder (#6677)
* fix: add placeholder to select widget
* fix: consistency between select / multi-select widgets
2021-08-25 19:37:01 +05:30
NandanAnantharamu
530735e13f
test: CypressNewVersion (#6116)
* Upgrade Cypress Version

* Upgrade to 7.6

* update moment library with Dayjs

* updated a test

* Added tests for copy to clipboard

* Added a missing dsl
2021-08-25 19:31:04 +05:30
Vicky Bansal
cb1604905e
Table sort column APIs (#6068)
User now should have access to the table sort column if any through the `{{table.sortOrder}}` API. This will return an object when sort is active > {column: string, order: enum|‘asc’|'desc'}. There should also be a `onSort` action available which can trigger an Event
2021-08-25 18:50:06 +05:30
Rishabh Rathod
0ff5ea543d
fix: Restrict e as valid number input (#6866)
Restrict e for table header index value and allow only whole numbers
2021-08-25 18:42:03 +05:30
Favour Ohanekwu
3d03dd3504
fix: improving multipart form data body (#6755)
* improved multipart form data body
2021-08-25 11:48:17 +01:00
Rishabh Saxena
ea0f5e888d
feat: add merge page ui (#6836) 2021-08-25 16:15:09 +05:30
Rishabh Saxena
be6fca279e
fix: tab component styles for the dark theme (#6833) 2021-08-25 16:13:45 +05:30
arslanhaiderbuttar
8380299958
fix: chart widget fix (#6867)
Custom fusion chart was loading with some delay and cypress test cases were getting previous element to verify the x axis data. Added one more check to wait till the chart data is loaded before verifying.
2021-08-25 15:42:41 +05:00
Favour Ohanekwu
aca5bd78b1
fix: inclusion of authorization error for Google sheets (#6674)
* Added authorisation status to Google sheet datasource form
2021-08-25 11:36:55 +01:00
Pawan Kumar
596edce2e0
fix: List Item de-selection and empty state on deploy mode (#6871)
* revert deselection

* fix empty list state page mode

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-08-25 15:56:45 +05:30
Ashok Kumar M
f4210e4601
fix: load main container without waiting for evaluations to complete. (#6669)
* Fix: load main container without waiting for evaluations to complete.
2021-08-25 14:39:50 +05:30
Rishabh Rathod
08917a0592
fix: Generate Page using Empty Table error (#6834)
- Do not allow to generate CRUD app when selected table of datasource is empty (has no columns)
- Fix #6824: When the Dropdown is empty (has no options) do not show the dropdown option (popup) UI.
2021-08-25 10:55:33 +05:30
Pawan Kumar
960159eef3
Grouping widgets into container (#5704)
* 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.

* fix merge conflcits

* fix border positioning

* fix canvas widgets incorrect bouding box

* fix bounding box position issue

* fix bounding box position issue

* fix

* border issue fix

* update test case

* add colors in theme

* use layers + use click capture on actions

* add icon for grouping

* fix overflow issue in contextmenu in containers

* fix context menu display issue

* update position of context menu

* fix container box-shadow issue

* fix container box-shadow issue

* revert container box shadow

* stop opening of property pane on shift clicking a widget

* remove console.log

* fix multiselect box issue

* add container on copy

* add analytics middleware

* refactor paste widget saga

* change flash element to accept array + revert refactor

* add logic to create containers from selected widgets

* update positions of grouped widgets

* fix comments + remove console

* update flashElementbyId to flashElementsById

* remove analytics middleware + remove unecessary imports

* add shorcut for grouping

* fix position issue when pasting

* allow grouping only when multi widgets are selected

* fix ux issues with widget grouping

* fix help text for grouping actions

* filter out the modal widget when calculting next row

* fix delete issue when grouping

* persist positin when grouping if there is no collision

* fix typo for new position

* changes for review comments

* changes for review comments

* fix position issue when pasting

* fix new container position issue

* move utils function to utils

* fix import issue

* fix the composite widget grouping issue

* fix table name bug

* remove repeated code

* move copied groups existence check;

* fix copied group check

Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-08-25 10:30:31 +05:30
akash-codemonk
daed3716c6
fix: Fix omnibar redirecting to invalid url when there are no results (#6696) 2021-08-25 10:28:58 +05:30
akash-codemonk
95c60bafeb
fix: Hide debugger errors until onPageLoadActions are run (#6786) 2021-08-25 10:04:42 +05:30
arunvjn
0b1e42691b
fix: Api pane url input height and datasource mouse click. (#6818) 2021-08-24 20:44:32 +05:30
Paul Li
cb4242e7e5
Feat: Style customisation in the button widget (#6052)
Added multiple style props to the button widget:
- Button styles
- The background colour can change with a hex code
- elevation (box-shadow & colour)
- There are button variant contained (solid button), outlined (only borders), text (text buttons)
- Button can have an end icon or start icon
2021-08-24 19:23:15 +05:30
Ashok Kumar M
de73e847ae
[Enhancement] Adding Webpack bundle analyser for CRA, removing source map explorer for better visualisation. (#6793)
* Enhancement: Adding better build visualiser(Webpack build analyser)
2021-08-24 17:44:23 +05:30
Ashok Kumar M
698b9d5b82
Fix: show property pane only when respective widget is present on the dom. (#6670) 2021-08-24 17:43:49 +05:30
Hetu Nandu
f012fd9d69
fix: Revert redux update perf improvements (#6808) 2021-08-24 17:40:25 +05:30
Ashok Kumar M
83147afdc5
feat: Widget grouping Extended Features (#6538)
- [x] Draw to select from outside of the editor.
- [x] Cmd + A to select child widgets inside containers, forms, list, tabs, and modals.

Fixes #5995
Fixes #6102
2021-08-24 17:08:20 +05:30
Yash Vibhandik
05d733cfe8
FIX #6193 : bind enter and tab key on color picker input to close color board (#6305)
This is done to improve the keyboard navigation on the property pane
2021-08-24 16:55:45 +05:30
arunvjn
1082cb9ca3
fix: Sentry type error in DB form (#6817) 2021-08-24 16:30:55 +05:30
yatinappsmith
aa869f21ab
test: Added Support for MySQL (#6795)
* Added Support for MySQL

* Update setup-test.sh

fixed sql file

* Update setup-test.sh

Fixed path
2021-08-24 14:16:52 +05:30
Paul Li
b170a014c6
menu style customization (#6237)
- Menu widget needs to show transparent background
- Make background none if user choose no background colour
- Adopt button style options(menu style, variant, box shadow, border radius)
2021-08-24 11:07:16 +05:30
Satish Gandham
da1af9cac7
Filepicker v2 - Don't store large files in the dataStore (#6692)
* - Create a clone of the existing filepicker widget

* - If a file is larges than 5MB, don't put it in the dataTree.

Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-08-24 09:08:57 +05:30
Ashok Kumar M
971cc35e7f
[Feature] Click on widget will no longer open property pane (#6219)
* [Feature] Click on widget will no longer open property pane

* fixing test cases

* coverage fixes

* fixing imports.

* fixing build failure.

* fixing new specs

* clear property pane state for any new selection.
2021-08-23 19:42:17 +05:30
akash-codemonk
bb1c5ab9a3
Send errorType as part of analytics payload for action execution errors (#6754) 2021-08-23 19:17:17 +05:30
Rishabh Saxena
7b23de64d9
Analytics events for the comments onboarding (#6763) 2021-08-23 14:55:16 +05:30
Pranav Kanade
6782bf6b85
fixes in import/export feature cypress tests. Will also show a prompt to be able to choose the download location (#6767) 2021-08-23 14:46:25 +05:30
Rishabh Saxena
aee2d19b8e
Commit page ui (#6772) 2021-08-23 14:15:54 +05:30
NandanAnantharamu
0e5816d413
Fix/chart spec (#6774)
* updated Chart spec with a wait for route

* updated Chart spec with a wait for route
2021-08-23 14:02:53 +05:30
Ayush Pahwa
b1d003fdba
Added new type to the ActionConfig, fixed some typos (#6748) 2021-08-23 13:04:44 +05:30
Yash Vibhandik
a5fe7c391e
fixed the filter issue in table widget (#6739)
The filters did not get reset where the data in the table widget changes in the edit mode. This is now fixed
2021-08-23 12:59:14 +05:30
akash-codemonk
25c6bd8c0f
Fix two skip tour options shown in onboarding (#6729) 2021-08-23 12:40:26 +05:30
akash-codemonk
a42938c139
Expand all debugger errors by default (#6676) 2021-08-23 11:57:23 +05:30
Pranav Kanade
7b587a8d43
Fix: Style for documentation link in query pane (#6716)
* updated styling for documentation link in query pane

* added message constants
2021-08-23 11:47:28 +05:30
arslanhaiderbuttar
01e5d8d839
Table UI test cases (#5910)
* TableUITestCases

Commit

* Table-widget-testcases

On Search Text Change Action
Default array data
On Row Selected Action
Explore Widget related documents Verification
On Page Change Action
Default search text
Default selected row
Delete Table Widget
Changing Column data type to "Image"
Changing Column data type to "URL"
Table Widget Functionality To Verify Row Height Functionality
Drage and Drop Table widget and verify default data
Table Widget Functionality To Filter The Data using 'Empty
Table Widget Functionality To Filter The Data using 'Not Empty'

* Discarded changes in cypress.json

Discarded changes in cypress.json

* Updated the test cases

* Undo changes to Cypress.json

Undo changes to Cypress.json

* Added new dsl json file

* Merge branch 'release' into SelectUITestCases

* table test cases fix

Co-authored-by: arslan <>
2021-08-21 12:34:23 +05:00
Rishabh Rathod
652950d239
Add Gsheets support for generate CRUD page (#6301)
* Add s3 support for generate CRUD
- Dropdown enhancement to open options on initial load
- Hide column selection option for s3

* Refactor the prop name

* Dropdown enchancement & Fix small issues

* Add fetch all sheets query

* Fix issues related to dropdown

* Add hooks to fetch sheets and spreadsheets

* Resolve warnings

* complete gheets basic support

* Add UI changes for Gsheet column names
- Fix Page Scroll issue

* Add debounce to avoid to many API calls

* Add request object formation via plugin config

* Resolve comments & remove executingDatasourceQuery

* Send sheetName in the tableName key.

* Add loader and Column name UI Fix

* Add Column Headers Label

* Fix logic to show comma separator btn column names
- Make "Column Header Fetched" text Bold

* Add tooltip info for searchable column

* Add value prop to TextInput
- Fix Table header Index Invalid Input issue

* Hotfix validator logic
2021-08-20 15:25:59 +05:30
Abhijeet
163c7cde71
Update template application file to fix failing cypruss TC (#6758) 2021-08-20 14:51:17 +05:30
Rishabh Saxena
add2127dad
Remove onboarding typeform (#6752) 2021-08-20 13:00:36 +05:30