Commit Graph

3741 Commits

Author SHA1 Message Date
imgbot[bot]
b96b90e634
[ImgBot] Optimize images (#7014)
*Total -- 456.38kb -> 360.25kb (21.06%)

/contributions/images/intellij_config_2.png -- 51.42kb -> 27.41kb (46.7%)
/contributions/images/intellij_config_1.png -- 43.47kb -> 25.29kb (41.83%)
/deploy/fat_container/images/appsmith_supervisord_ui.png -- 169.18kb -> 117.24kb (30.71%)
/app/client/src/assets/icons/comments/commentCursor.svg -- 0.87kb -> 0.65kb (25.92%)
/app/client/src/assets/icons/menu/function.svg -- 0.21kb -> 0.18kb (11.9%)
/app/client/src/assets/icons/control/border-radius-sharp.svg -- 0.16kb -> 0.15kb (4.91%)
/app/client/src/assets/icons/control/border-radius-circle.svg -- 0.17kb -> 0.16kb (4.68%)
/app/client/src/assets/icons/control/box-shadow-variant4.svg -- 0.80kb -> 0.76kb (4.28%)
/app/client/src/assets/icons/control/box-shadow-variant5.svg -- 0.80kb -> 0.77kb (4.15%)
/app/client/src/assets/icons/control/border-radius-rounded.svg -- 0.17kb -> 0.16kb (4.14%)
/app/client/src/assets/icons/control/arrow_forward.svg -- 0.32kb -> 0.31kb (3.95%)
/app/client/src/assets/icons/control/box-shadow-variant3.svg -- 0.83kb -> 0.79kb (3.79%)
/app/client/src/assets/icons/control/box-shadow-variant2.svg -- 0.83kb -> 0.80kb (3.53%)
/app/client/src/assets/icons/control/box-shadow-variant1.svg -- 0.90kb -> 0.87kb (3.25%)
/app/client/src/assets/images/comments-onboarding/thumbnails/step-2.jpg -- 18.17kb -> 17.63kb (2.97%)
/app/client/src/assets/icons/control/divider_cap_right.svg -- 0.20kb -> 0.19kb (2.5%)
/app/client/src/assets/images/comments-onboarding/thumbnails/step-1.jpg -- 18.53kb -> 18.10kb (2.32%)
/app/client/src/assets/icons/widget/menu-button.svg -- 0.24kb -> 0.23kb (2.07%)
/app/client/src/assets/icons/widget/menu.svg -- 0.31kb -> 0.31kb (1.86%)
/app/client/src/assets/icons/control/add-circle.svg -- 0.28kb -> 0.27kb (1.75%)
/app/client/src/assets/icons/control/line_dashed.svg -- 0.22kb -> 0.22kb (1.75%)
/app/client/src/assets/icons/ads/chevron-down.svg -- 0.18kb -> 0.18kb (1.61%)
/app/client/src/assets/icons/control/divider_cap_left.svg -- 0.21kb -> 0.21kb (1.39%)
/app/client/src/assets/icons/ads/column.svg -- 0.21kb -> 0.21kb (1.37%)
/app/client/src/assets/images/long-arrow-right.svg -- 0.66kb -> 0.65kb (1.33%)
/app/client/src/assets/icons/widget/checkbox-group.svg -- 0.55kb -> 0.54kb (1.25%)
/app/client/src/assets/icons/ads/arrow-left-1.svg -- 0.24kb -> 0.24kb (1.23%)
/app/client/src/assets/icons/widget/icon-button.svg -- 0.32kb -> 0.32kb (1.22%)
/app/client/src/assets/icons/ads/check.svg -- 0.24kb -> 0.24kb (1.22%)
/app/client/src/assets/icons/ads/link_2.svg -- 0.65kb -> 0.65kb (1.19%)
/app/client/src/assets/icons/control/copy2.svg -- 0.25kb -> 0.25kb (1.16%)
/app/client/src/assets/icons/control/cap_solid.svg -- 0.35kb -> 0.35kb (1.11%)
/app/client/src/assets/icons/menu/filter.svg -- 0.28kb -> 0.28kb (1.05%)
/app/client/src/assets/icons/ads/trending-flat.svg -- 0.29kb -> 0.29kb (1.01%)
/app/client/src/assets/icons/control/align_left.svg -- 0.31kb -> 0.31kb (0.95%)
/app/client/src/assets/icons/ads/tables.svg -- 0.35kb -> 0.34kb (0.85%)
/app/client/src/assets/icons/control/align_right.svg -- 0.37kb -> 0.37kb (0.79%)
/app/client/src/assets/images/Plus-logo.svg -- 0.54kb -> 0.53kb (0.73%)
/app/client/src/assets/icons/control/close-circle.svg -- 0.42kb -> 0.42kb (0.7%)
/app/client/src/assets/icons/menu/new-plus.svg -- 0.59kb -> 0.59kb (0.5%)
/app/client/src/assets/images/long-arrow-bottom.svg -- 0.61kb -> 0.60kb (0.48%)
/app/client/src/assets/icons/control/group.svg -- 0.65kb -> 0.64kb (0.45%)
/app/client/src/assets/icons/help/close_blue.svg -- 0.66kb -> 0.66kb (0.45%)
/app/client/src/assets/icons/ads/warning-triangle.svg -- 1.11kb -> 1.10kb (0.44%)
/app/client/src/assets/icons/menu/close-filter.svg -- 0.67kb -> 0.67kb (0.44%)
/app/client/src/assets/icons/control/box-shadow-none.svg -- 0.72kb -> 0.71kb (0.41%)
/app/client/src/assets/icons/ads/expand-more.svg -- 0.73kb -> 0.72kb (0.4%)
/app/client/src/assets/icons/widget/rating.svg -- 0.51kb -> 0.51kb (0.38%)
/app/client/src/assets/icons/ads/book-open-line.svg -- 0.79kb -> 0.79kb (0.37%)
/static/how-it-works.svg -- 121.37kb -> 120.94kb (0.35%)
/app/client/src/assets/icons/menu/play-snippet.svg -- 0.83kb -> 0.83kb (0.35%)
/app/client/src/assets/icons/menu/binding.svg -- 1.13kb -> 1.12kb (0.35%)
/app/client/src/assets/icons/menu/copy-snippet.svg -- 0.91kb -> 0.91kb (0.32%)
/app/client/src/assets/icons/control/cut.svg -- 1.86kb -> 1.86kb (0.16%)
/app/client/src/assets/icons/menu/link.svg -- 2.79kb -> 2.78kb (0.14%)
/app/client/src/assets/icons/ads/git-merge.svg -- 2.43kb -> 2.43kb (0.12%)
/app/client/src/assets/images/Curl-logo.svg -- 3.56kb -> 3.56kb (0.11%)

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

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-09-01 07:20:48 +00:00
Arpit Mohan
94eba4b4b2
chore: Removing redundant toast message in action creation & deletion flow (#6998)
Also minor refactoring to simplify code flow making it easier to understand

Since we squash-merge all PRs, having the title conform to semantic PR guidelines is sufficient. We don't need to check the commits as well.
2021-09-01 03:40:44 +00:00
deepsource-autofix[bot]
ceeb1ad16b
chore: Remove the unreachable code block (#7000) 2021-09-01 08:42:24 +05:30
Pranav Kanade
7ba60bdaff
fix: link for resolved comment does not show a comment thread (#7001)
* minor fix to show empty app banner in the middle of the screen

* enforce the resolved comments filter, when user tries to open resolved comment directly through shared link

* minor fix: changed var name

* small fix to properly show the comment card action btns

* fix: if thread not present will show a warning
2021-08-31 19:56:43 +05:30
arunvjn
0104c8940c
fix: Fixes mouse click for slash commands (#7012) 2021-08-31 19:35:27 +05:30
Rishabh Rathod
f12dbd9dea
fix: label text casing (#6984)
Fix label text casing and add string literals to constants messages.ts file
2021-08-31 19:32:17 +05:30
Tolulope Adetula
5dd083665c
fix: update @blueprintjs/datetime package (#6719) 2021-08-31 15:11:37 +05:30
Abhinav Jha
13c740a931
fix: DSL versions during client migrations (#6995)
* Fix DSL versions during client migrations:

* fix: DSL migrations
2021-08-31 08:59:26 +00:00
Pranav Kanade
197d491047
can show comments on blank canvas in deployed version (#6988) 2021-08-31 13:27:22 +05:30
Shrikant Sharat Kandula
a9e46f950b
fix: Error out when server endpoint ends with a slash (#6981) 2021-08-31 11:46:29 +05:30
NandanAnantharamu
49b3a78a0a
test: Custom chart spec (#6939)
* test : Custom chart spec

* updated title
2021-08-31 11:21:09 +05:30
Rishabh Rathod
4a688fd11d
feat: Add fillOptions prop to dropdown (#6908)
* feat: Add fillOptions prop to dropdown
- this will make width of dropdown popup same as width the selector

* Use dropdown width for option if fillOptions true

* Use dropdown width for option if fillOptions true

* hotfix: use optionWidth when fillOptions is false

* Add 260px as default width of DropdownOptions

* fix types

* hotfix typescript issue

* fix horizontal scrollbar visible

* hotfix type issue
2021-08-31 09:07:40 +05:30
Rishabh Saxena
4938371566
feat: env flag to disable intercom (#6937) 2021-08-30 22:11:55 +05:30
Rishabh Saxena
1add6c905c
fix: anonymize user info intercom (#6936) 2021-08-30 20:38:07 +05:30
balajisoundar
681f2a11f8
Fix: Break word when text widget content is long (#6211)
fixes #5319
2021-08-30 18:54:58 +05:30
Rishabh Saxena
8dc0c81488
fix: update omnibar search string for documentation for actions (#6722) 2021-08-30 16:26:13 +05:30
Pranav Kanade
6de7e05ca6
will show dependency connections as soon as user makes the connection with a widget, regardless of if they've run the query/api or not (#6955) 2021-08-30 15:14:43 +05:30
Tolulope Adetula
deb84d0cb3
fix: table widget - cell wrapper property condition changed to remove effect from non related places (#6940) 2021-08-30 14:59:58 +05:30
Vicky Bansal
dbc3ca6bdf
feat: Table widget - Configure table data rows count (#5552)
Introduced a new field called as total record count which can be used to disable the pagination controls while having server side pagination. If this value is undefined the conditions will be ignored. The total record count is `total count / page size`, all the parameters need to be bound to the query/API for the functionality to work properly
2021-08-30 14:54:59 +05:30
Pranav Kanade
47344bbd73
added tooltips for all the btns in comment card (#6952) 2021-08-30 13:34:26 +05:30
haojin111
1021c18dd5
added cell background of empty rows (#6353)
* added cell background of empty rows
2021-08-30 13:18:10 +05:30
Bhavin K
b892712685
Table widget: default selected row, 0th (#5930) 2021-08-30 12:28:45 +05:30
akash-codemonk
d4dfda99b9
fix: Wrap JSON.stringify for text widget binding(suggested widgets) (#6651) 2021-08-30 11:04:34 +05:30
arunvjn
d119737de9
feat: Introducing JS Snippets (#6453)
Users should be able to look up relevant snippets based on where they trigger snippets from, narrow down the filter results based on entities, customize the snippet with custom data, evaluate and see its real time value.
2021-08-29 09:20:16 +05:30
yatinappsmith
b8d9e68106
test: Added stub tests for MySQL, MsSQL, ArangoDB and Redshift (#6868)
* Added stub testcases for MySQL, MsSQL, ArangoDB and Redshift

* Removed intercept for saveDatasource
2021-08-27 17:24:03 +05:30
Hetu Nandu
3380227cbb
feat: Enable Promises in Appsmith (#6253) 2021-08-27 14:55:28 +05:30
Pranav Kanade
a1ba69adfc
feat: draggable comment pins (#6742)
* made inline comment pins draggable and added wrapper around overlay comments wrapper

* moved drag hook to pin

* can drag on canvas

* Properly updating the thread to be able to properly move the pin

* always passing the ref to container

* updating BE to save the new pins position

* minor fix

* changed a file name

* minor improvement to fix unit test

* fix, updated dragging reducer function to not expect appId

* removing unrelated change

* added drag and drop for comment pins without react dnd

* updated unit tests

* minor fix

* added a grab pointer and minor offset when user moves the pin

* removed unnecessary store states

* moved drop from onDragEnd to onDrop to reset everything.

* using state selector and dispatch hook

* removed use of anchor widget

* removed pointer change from comments wrapper

* verifying if current pin is being dragged

* updated action creator name

* moved dragging in comments reducer.

* using dragging thread id from store itself

* using relative positioning of pointer to predict the location of pin

* unit test cases fixed

* minor fix

* removed the dependency of off set from callback
2021-08-27 14:27:18 +05:30
Rishabh Rathod
1d63add091
feat: Add Option to export app in Navigation Menu (#6913)
Now the user will be able to export applications inside the editor also. Added Option in Navigation Header.
2021-08-27 12:49:21 +05:30
Rishabh Rathod
1109ecb37f
fix: fill dropdown option avoiding text shrink (#6910)
Fix text shirking of the dropdown selector
2021-08-27 11:53:25 +05:30
arslanhaiderbuttar
c90d844b63
test: Form widget UI test (#6884)
* Form widget test cases

* Form widget Test Cases

- Form widget fixes

* Form widget Test Cases

Defult Form text,  Reset and Close button Validation
Add Multiple widgets in Form
Form_Widget Minimize and maximize General Validation
Rename Form widget from Entity Explorer
Toggle JS - Form-Unckeck Visible field Validationpassed
Toggle JS - Form-Check Visible field Validationpassed
Copy Paste Validation
Form Delete Validation

* Form_test_cases_Fix

* Form test cases fix
2021-08-26 20:24:37 +05:00
Vicky Bansal
2f45db2008
Input widget: New data type supported - Phone number with ISD codes (#5256) 2021-08-26 16:22:45 +05:30
ashit-rath
1c5fb48b1d
Enhancement - chart widget x-axis label orientation (#6708)
* Chart widget - x-axis label orientation selector

* added test cases

* minor typing fix

* renamed CustomChartConstants -> ChartConstants, moved ChartComponents constants to ChartConstants
2021-08-26 15:28:43 +05:30
Ashok Kumar M
739f999bb5
fix: Fix canvas in bigger containers. (#6849) 2021-08-26 15:27:12 +05:30
Ayush Pahwa
2e20d9b480
feat: Update the conditional for section components for UQI (#6896) 2021-08-26 15:17:08 +05:30
Yash Siddharth Bhange
92c52083a3
fix: flashing cursor not shown on inputbox when sign-in details are picked from saved credentials (#6776) 2021-08-26 14:30:44 +05:30
Rishabh Saxena
2993829d37
fix: null check for current application while handling create new thread event (#6881) 2021-08-26 14:17:25 +05:30
Rishabh Rathod
0fa7f33bfe
fix: Show button when fetching columns (#6891)
Improve UX when entering `Table Header Index` value

BEFORE: Generate Template Button was hidden when the new column header is getting fetched. There was no loader for a user to understand that data is being fetched.

NOW: Generate Template Button is always visible and goes in a loading state when user data is being fetched.
2021-08-26 07:52:57 +00:00
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