Commit Graph

4011 Commits

Author SHA1 Message Date
rahulramesha
6cefc6dbea
feat: Undo/Redo (#6654)
* Scaffolding for undo-redo

* undo redo working Poc commit

* memory performance improvements by diffing

* dont run update on undo/redo"

* merging widget postion update and canvas bottom row update into one dsl update.

* fix tabs widget

* Visible updates per undo redo action (#6838)

Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local>

* resize atomic operation

* fix switch control state issue

* disallow undo/redo for snipping and comment mode

* disallow undo/redo for snipping and comment mode

* fix color picker issue in undo/redo

* add test for replayDSL

* option control fix, adding logs

* minor position change undo redo updates

* add test cases for replayHelpers

* property Upade visual change

* remove unused code

* global hot key jest test for undo redo

* Fixing batch updates on property change..

* add tests for toggle control in property pane

* unwanted utils.

* add tests for text control

* add tests for deletion

* add tests for dropping a new widget

* adding jest test for replayUtils

* add move widget tests

* add tests for color picker control

* add analytics for undo/redo

* add analytics for undo/redo

* tab addition atomic

* cypress tests for propertyPane, toasts and radiowidget optionControl

* replayDSL end of redo stack fix

* property update changes

* menu option control debounce input

* color picker empty undo fix

* fix cypress tests

* widget add/remove atomic

* revert alternative approach to handle atomic operations

* update replayDSL test

* add some comments

* addressing review comments

* flash color for property pane controls

* Fixing adding of tabs widget as well.

* code review comments.

* merging widget postion update and canvas bottom row update into one dsl update.

* fix ordering of tabs property control

* meta property update canvas min height.

* fixing failed specs.

* Fixing entity explorer update on deleting tab from entity explorer.

* address review comments and minor property update changes

* fixing failing tests

* merge conflicts

* changes to cater widget api.

* fix suggested widget table issue

* draggable list for undo redo

* fix widget name focus

* excluding canvas updates.

* fixing codeEditor update on propertySection collapse

* fixed failing test case

Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
Co-authored-by: Rahul R <rahulramesha@Rahuls-MacBook-Pro.local>
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-09-21 13:25:56 +05:30
Apeksha Bhosale
386e788e28
fix: pushing and removing errors from debugger for js object (#7465)
* pushing and removing errors from debugger for js object

* added message part of messages

* changes for linting and errors showing

* added try catch for executing function

* PR comments fixed

* PR comment fixed
2021-09-21 11:32:45 +05:30
Apeksha Bhosale
ffe00cd1a2
fix: widget refactor actions fetch change (#7574)
* widget refactor actions fetch change

* Added test for binding Button with API

Co-authored-by: Apple <nandan@thinkify.io>
2021-09-21 11:32:30 +05:30
Tolulope Adetula
834507866a
fix: tabindex and a11y (#7125)
* fix: Datepicker Keypress and Focus State

* fix: Dropdown Select Focus and Tabbale
2021-09-21 06:49:13 +01:00
Satish Gandham
1423b55f55
Add array and object_array to list widget validation check (#7572)
Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-09-21 10:40:16 +05:30
Shrikant Sharat Kandula
c6c5e4fef3
ci: Add CI workflow for building fat container (#7385)
This commit changes the client test workflow into building the fat container's image, and so builds server and RTS as well, in order to achieve that.
2021-09-21 08:33:22 +05:30
rahulramesha
0b37812b56
feat: resizable modal (#7312)
* dip

* resizable modal full working commit

* resizable modal minor fixes

* code restructuring

* fix canvas small size bugs and add migration to remove modal type

* moving resize modal to modal sagas

* layoutResize and last column width

* fix warning

* setResizible if resizing

* fix incorrect import

* fixing cypress tests

Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
2021-09-20 22:36:13 +05:30
Nikhil Nandagopal
b9b5d54745
fix: Property pane updates (#7631)
* Renamed TreeSelect Widget
2021-09-20 20:48:10 +05:30
Aswath K
1cca96c032
fix: Currency input text overlap (#7477)
* Change currency input layout to flex

* fix: styles for normal input

* Increase space b/w icon and text. Add focus color

visual modifications as suggested by Momcilo

* fix: alignment for ISDCodeDropdown

* fix: background color for disabled

* change dropdown focus color as suggested by Momcilo

* remove unwanted conditional height

* makes disabled Numeric input consistent to disabled input
2021-09-20 14:20:46 +00:00
Hetu Nandu
4315e92cf7
Reset widget children by default (#7505) 2021-09-20 18:40:03 +05:30
akash-codemonk
9877fe4b05
fix: Switch to the debugger error tab when clicked on the debug button in toast (#7455) 2021-09-20 16:50:22 +05:30
Pranav Kanade
a555ed7a88
fixed the pointer for omnibar (#7629) 2021-09-20 16:24:05 +05:30
Nikhil Nandagopal
87b13eca2d
fix: Widget Property Pane Updates (#7467)
* reverted previous revert

* standardised widget sizes

* Text changes

* changed default input label style to match default text style

* more messaging tweaks

* minor fix

* Removed dot from the text

* minor fix for form widget

* fixed tests

* minor fixes
2021-09-20 16:13:44 +05:30
balajisoundar
2dddd07f92
chore: Fix unnecessary scrollbar in entity explorer during onboarding (#7613)
Fixes: #7425
2021-09-20 14:55:37 +05:30
Nayan
1296faef8e
feat: [Feature] Use photo asset id instead of email address for profile picture in comments (#7434)
* -set user photo id when adding a new comment thread

* -update user data when users remove their profile photo

* -updated photo id in comments when user changes or set a profile photo

* -remove photoid from thread, kept it in comment only

* -resized uploaded profile image

* -added test for delete profile photo

* -add test for the comment set user photo

* -check user change event handler is called in delete user photo

* -add test for checking user photo change event is triggered after upload photo

* -fixed tests due to changes

* -make profile pictures thumbnail only

* - used get photo by asset id API to show user photo in comment card
- set cache control header in get asset by id API

* - stop using email address to show user photo
2021-09-20 15:03:39 +06:00
akash-codemonk
1fef96666a
fix: Hide generate page button in integration home screen during onboarding (#7521) 2021-09-20 14:30:36 +05:30
Tolulope Adetula
3c4ef11df2
fix: radio group widget options (#7313)
* Update RadioGroupComponent.tsx

* fix: radio widget validation

* fix: add test for default param
2021-09-20 00:13:37 -07:00
Shrikant Sharat Kandula
fae8de553d
Add retries when getting page from GitBook (#7611)
GitBook API occasionally throws a 500 when trying to get a page. This makes our whole sync Lambda fail.

This commit adds a retry step, that will wait a second and retry the GitBook API, with retries capped to three, so the Lambda is a little more resilient to random 500s from GitBook API.
2021-09-20 12:34:04 +05:30
balajisoundar
4288b44f2c
chore: Invite user to org form input tab issue (#7603)
Fixes: #6785
2021-09-20 12:19:50 +05:30
balajisoundar
5e88255feb
chore: Miscellaneous signposting issues (#7569)
Fixes: #7223
Fixes: #7225
Fixes: #7228
2021-09-20 12:17:04 +05:30
akash-codemonk
a4bfb1b7c0
chore: minor styling fixes for debugger (#7584) 2021-09-20 11:10:59 +05:30
Pranav Kanade
4fa741c06c
fixed alignment for import btn (#7562) 2021-09-20 11:06:54 +05:30
Rishabh Rathod
373f64c9ca
feat: git sync ui update (#7486)
- fix commit & push functionality
- Add Link to docs
- Add user settings toggle

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-09-17 22:28:04 +05:30
Ayush Pahwa
fdc1510236
feat: JSON view for query & datasource form components (#7534)
* Removed unused var

* Added new type and extra props to enable JSON editing experience
2021-09-17 12:14:04 +00:00
Tolulope Adetula
582f4a568f
fix: multiselect loading state (#7418) 2021-09-17 04:14:48 -07:00
Tolulope Adetula
f472ec996d
fix: multiselect selectAll design (#7424) 2021-09-17 04:13:09 -07:00
Vinod
0ef0da041b
feat: add copy button to evaluated value (#7159)
* add copy function for evaluated value
2021-09-17 16:32:16 +05:30
Rishabh Saxena
819f0c2753
feat: add git config to user profile settings (#7538) 2021-09-17 16:18:38 +05:30
Vinod
2bd324a5aa
feat: address few bug with linting and improve highlighting (#7287)
* show lint errors as warnings

* add initial code

* adjust editor positions

* update pr comments

* mark jshint errors

* reset changes

* remove unused prop

* fix test errors

* remove unused imports

* dont show warning in the error counter

* show yellow if warning

* remove active error functionality

* update linter to use async functionality

* update linter messages

* update binding positions

* fix evaluate tests

* dont show undefined errors in debugger

* move lint code to separate file

* update testes

* remove unused import

* update tests

* address pr comments

* add comment to explain why

* replace proper regex

* fix undefined message error

* Update styling for warnings

* address position issue in the linter

* Fix failing tests

* Merge 'release' on to  'Feature/linting-errors'

* add console as global object

* address lint issues

* fix requested linting erros for release

* fix breaking issue

* remove unwanted code

* revert unrelated changes

* remove unnecessary file

* add extra libraries to jshint data

* import lodash functions that are used

* update jshint settings

* Fix failing test

* don't show lint errors if there is a parsing issue

* update jshint to latest version
2021-09-17 16:01:45 +05:30
balajisoundar
6baa5c8489
chore: Fix misc minor welcome page issues (#7504)
Fixes: #7503
2021-09-17 15:31:42 +05:30
Tolulope Adetula
15b26f823e
feat: Tree Select widget (#6271)
* feat: Tree Select

* feat: styling multiselect

* fix: selected values

* fix: remove console statement

* fix: popup position

* fix: selection types

* fix: Form validation using TreeSelect

* feat: Add Label to TreeSelect

* fix: styling

* fix: Dropdown search

* fix: Add Entity Definitions

* fix: Entity Definition

* Feat: Add clear icon

* fix: validation

* fix: options validation

* fix: Styling issues

* fix: build error

* Fix: Separate Tree Select widget

* fix: issues and add validation

* fix: Options Validation

* fix: issues with build

* fix: yarn

* fix: changes

* fix

* Fix: select component

* fix: PR issues

* fix: merge conflicts

* fix: issues

* fix: all issues

* test: added test

* fix: failing test
2021-09-17 02:08:35 -07:00
Aswath K
49551987fc
fix: Transparent menu on MenuButton widget (#7268) 2021-09-17 08:55:47 +00:00
Pranav Kanade
73b795cb71
fix: layout control not working (#7502)
* fixed layout control problem.

* removed extra padding for multi pointer canvas
2021-09-17 11:07:09 +05:30
Tolulope Adetula
ca8b74da30
fix: app crashes when editing table visibility (#7472) 2021-09-17 05:33:26 +00:00
Tolulope Adetula
0ce1bac98a
fix: only run onFilterUpdate when it's defined (#7552) 2021-09-16 23:02:16 +05:30
Ashok Kumar M
34c4dad0ac
fix: flashElement scrolls canvas too much. (#7547) 2021-09-16 22:24:12 +05:30
NandanAnantharamu
1d101300a5
test: fixing the Cypress test for input spec (#7551) 2021-09-16 16:05:02 +00:00
rahulramesha
333c28f702
fix: list widget cyclic dependency (#7542)
This commit fixes the cyclic dependency error shown to users when the data for list widget is removed.
2021-09-16 21:13:11 +05:30
NandanAnantharamu
30d337c9dc
test: Added test for public apps access check (#7525) 2021-09-16 13:44:30 +00:00
NandanAnantharamu
738f5940f2
Updated test (#7535) 2021-09-16 18:19:46 +05:30
Abhinav Jha
f19b62e86b
chore: Fix widget help links from the property pane (#7529) 2021-09-16 17:46:14 +05:30
Abhinav Jha
8a787c9918
chore: Fix the name of the select widget listed in the widget list (#7518) 2021-09-16 17:41:45 +05:30
Abhinav Jha
6913d188f9
chore: Fix checkbox widget icon (#7524) 2021-09-16 17:40:20 +05:30
Ashok Kumar M
396b72a378
Fix for #7526. Scrolling issue on canvas (#7530) 2021-09-16 11:42:11 +00:00
Bhavin K
9116c6483f
fix: add check for max char in input widget only applicable for text type (#7250) 2021-09-16 16:32:34 +05:30
ashit-rath
1c24afb356
fix: table row cell actions to get proper currentRow data (#7244)
* fix: table row cell actions to get proper currentRow data

* minor change
2021-09-16 12:26:52 +05:30
ashit-rath
0354fdaa16
fix: Input widget as number type 0 as default value (#7251)
* fix: Input widget as number type 0 as default value

* added cypress test case

* cypress test fix, force click default text input

* updated input widget validation of number/currency/phone number type

* minor change
2021-09-16 11:22:01 +05:30
akash-codemonk
71d7b26665
fix: Do not show errors for blank fields in datepicker and listwidget (#7032) 2021-09-16 11:02:00 +05:30
akash-codemonk
8b8ddb3390
fix: Quickly clicking do it for me button shows errors during onboarding (#7386) 2021-09-16 10:09:55 +05:30
Yash Vibhandik
aea55014ec
fix: added container wrapper component to handle styles (#6476)
* FIX #2587 : added container wrapper component to handle styles, updated test cases

* FIX #2587 : abstract widget style component for common use and wraped on text widget

* updated style boundary and css

* updated cypress test

* fix: accommodate prop pane height change for the test

* removed properties from text widget

* updated container wrapper style to handle border corners, updated migrations for container and form widget

* fixed container overflow

* added testcases for container and text widget

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-09-16 09:51:31 +05:30
rahulramesha
c4de8fc720
fix: copy paste new widget key generation (#7464)
fixes widgets from having exact same react keys
2021-09-15 19:34:27 +05:30
Rishabh Saxena
f277fe92e0
feat: minor bottom bar UI updates (#7456) 2021-09-15 19:31:32 +05:30
Arpit Mohan
37e7a61792
chore: Minor changes for fixing some strings on the home page & action settings page (#7469) 2021-09-15 12:20:25 +00:00
Abhinav Jha
d94408776f
fix: Styling issues with the buttons on the platform (#7365)
Fix button styles in platform and also update stat box widget icon svg
2021-09-15 12:15:21 +01:00
balajisoundar
cf3b4ae1be
fix: Signposting and Welcome tour overlapping issue (#7421)
Fixes: #7405 
Fixes #7226
2021-09-15 15:26:15 +05:30
NandanAnantharamu
1db152bd5c
updated test and common method (#7446) 2021-09-15 14:07:58 +05:30
haojin111
523ba15d88
chore: fixed issue of height when focusing on API inputbox (#6304)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-09-15 06:37:49 +00:00
Apeksha Bhosale
3dd6c14b5f
create js action default with js collection (#7388) 2021-09-15 11:58:25 +05:30
deepsource-autofix[bot]
042f9d249a
chore: Remove the unreachable code block (#7326)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-09-15 11:29:13 +05:30
akash-codemonk
e9fe54fefe
fix: Show trigger errors in the debugger with widget and property name (#6970) 2021-09-15 10:41:13 +05:30
balajisoundar
e102ee781f
fix: Suppress unauthorised error, when user visits welcome page (#7435)
fixes: #7433
2021-09-14 22:25:29 +05:30
Ayush Pahwa
cd889201a2
Added new key propertyName to uniquely store evals in state (#7430) 2021-09-14 15:41:50 +00:00
akash-codemonk
d34827da78
fix: Show recent errors first in the debugger error tab (#7420) 2021-09-14 20:21:07 +05:30
Rishabh Rathod
1911cf53c8
chore: remove debugger (#7438)
Remove `debugger`
2021-09-14 13:46:23 +00:00
Pranav Kanade
a811bac995
feat: Enabled collab presence feature (#7376)
* enabled collab presence feature

* putting back unrelated changes
2021-09-14 18:57:39 +05:30
Rishabh Saxena
e08fc3c538
chore: check for anonymous user before fetching notifs (#7381) 2021-09-14 18:48:49 +05:30
Ayush Pahwa
8f294c8868
fix: Initial values extraction process from json (#7414)
* Updated getConfigInitialValues function to extract initialValues properly

* Added error catching in case the form is not loaded properly

* Comparing the whole formdata instead of just the values

* Refactoring

* Moved setting initial eval state to query pane saga

* Running update only if uicomponent type is consitent with UQI

* Removed check for UQI type for form eval

* Removed unused imports
2021-09-14 13:01:09 +00:00
Hetu Nandu
1c3cf30ac1
always assume onSuccess, onError, .then, .catch to be callbacks (#7402) 2021-09-14 13:56:54 +05:30
akash-codemonk
4af5a4dc0d
fix: debug button message shown in query pane (#7373) 2021-09-14 09:49:52 +05:30
Rishabh Rathod
a6c2a63ce9
feat: Git connection (#7269)
Add git connection UI

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-09-13 18:56:24 +05:30
ashit-rath
289c490217
fix: allow multiple draggable popper to co-exist (#7323)
* fix: allow multiple draggable popper to co-exist

* added custom data-cy for popper drag handler to fix failing cypress tests
2021-09-13 18:05:05 +05:30
ashit-rath
6d7ebf81b1
fix: New table widget migration to sanitize primaryColumn, columnOrder and binding paths (#7037)
* Table widget migration to sanitize keys and binding paths

* added new test case

* modified the logic to sanitize dynamicBindingPathList

* fix calling migrateTableSanitizeColumnKeys on child and fix updating dsl version
2021-09-13 17:33:39 +05:30
arunvjn
80d1766dfb
Execute snippet only for js snippets and remove default dynamic binding before execute. (#7360) 2021-09-13 17:13:05 +05:30
Hetu Nandu
bc6164cb81
Fix action error callback crash (#7377) 2021-09-13 15:55:22 +05:30
Ayush Pahwa
2c92b507b5
fix: Calling form eval init on form change (#7372)
* Calling form eval init on form change

* Updated comment on the function
2021-09-13 10:07:39 +00:00
NandanAnantharamu
0cfdd35df1
Test : Added assertion for query data (#7061) 2021-09-13 14:27:00 +05:30
balajisoundar
e2ef262f05
feat: Improved onboarding flow on user signup (#7089)
This commit introduces new improved onboarding flow for new users. 

fixes: #4057
2021-09-13 12:52:51 +05:30
balajisoundar
95c729d7d1
feat: Introduce a Welcome screen and a form to create a super user, on a fresh installation (#6806)
This commit introduces a super user signup form, that appears only on an empty instance, to create a super user.

fixes: #6934
2021-09-12 22:06:43 +05:30
arunvjn
8f2d0c0984
fix: Removed js formatter and new icons for snippets (#7290) 2021-09-10 20:30:50 +05:30
Rishabh Rathod
dbfc140f2b
fix: text overflow issue (#7270)
Changed label text to avoid overflow issue
2021-09-10 20:13:17 +05:30
Pranav Kanade
3c0b33763e
fix: Collab feedback fixes (#7298)
* hide the widget names

* blocking multiselect in comment mode

* wrapped the name

* the latest comment will be on top

* isolated a condition for selection canvas

* added unresolve tooltip

* added resolved thread tooltip

* updated sorted comment cards when user gets the update/insert/delete events
2021-09-10 16:17:17 +05:30
Rishabh Saxena
594e0ef2e1
fix: ui polish comments (#7273) 2021-09-10 10:37:17 +05:30
akash-codemonk
116558fe8f
chore: Update snippet text and search params for debugger search menu (#7249) 2021-09-10 09:48:32 +05:30
dependabot[bot]
238698e2e9
chore: bump tar from 6.1.6 to 6.1.11 in /app/client (#7070)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.6...v6.1.11)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 16:39:55 +00:00
Rishabh Saxena
e7cec074aa
refactor: reset comments fetched flag at the init sagas (#7265) 2021-09-09 16:01:26 +00:00
Abhinav Jha
b49f5097c6
refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
Bhavin K
cc28b82ec6
fix: add migration for removed table default selected row (#7276)
fix: revert migration and add reverse migration for table widget's last migration.
2021-09-09 19:13:36 +05:30
Pranav Kanade
94e7594820
fix: sniping checkbox will set the string not boolean (#7311)
This prevents a crash from happening when an object is bound to the checkbox.
2021-09-09 18:49:39 +05:30
somangshu
f18d58bb12 Revert "fix: property pane (#7157)"
This reverts commit 72f667bec4.
2021-09-09 13:48:16 +05:30
akash-codemonk
3ded440ca8
fix: convert message to string if it is not to avoid crash (#7272) 2021-09-09 11:05:25 +05:30
yatinappsmith
6f4d91865b
commenting dropdown_spec (#7271) 2021-09-09 10:31:16 +05:30
Apeksha Bhosale
09eea59330
feat: JS Editor (#6003)
* Changes to add js plugin

* routes+reducer+create template

* added debugger to js editor page

* entity explorer changes

* create js function

* added copy, move and delete action

* added js plugin

* added existing js functions to data tree

* removed actionconfig for js collection

* new js function added to data tree and entity as well

* parsing flow added

* changes to data tree

* parse and update js functions

* small changes for def creator for js action

* create delete modified

* small changes for update

* update flow change

* entity properties added

* removed linting errors

* small changes in entity explorer

* changes for update

* move, copy implementation

* conflict resolved

* changes for dependecy map creation

* Only make the variables the binding paths

* Basic eval sync working

* Minor fixes

* removed unwanted code

* entity props and autocomplete

* saving in progress show

* redirection fix after delete js action

* removed unnecessary line

* Fixing merge conflict

* added sample body

* removed dummy data and added plugin Type

* few PR comments fixed

* automplete fix

* few more PR comments fix

* PR commnets fix

* move and copy api change

* js colleciton name refactor & 'move to page' changes & search

* view changes

* autocomplete added for js collections

* removing till async is implemented

* small changes

* separate js pane response view

* Executing functions

* js collection to js objects

* entity explorer issue and resolve action on page switch

* removed unused line

* small color fix

* js file icon added

* added js action to property pane

* Property pane changes for actions

* property pane changes for js functions

* showing syntax error for now

* actions sorted in response tab

* added js objects to slash and recent entitties

* enabling this to be used inside of function

* eval fix

* feature flag changes for entity explorer and property pane

* debugger changes

* copy bug fix

* small changes for eval

* debugger bug fix

* chnaged any to specific types

* error in console fix

* icons update

* fixed test case

* test case fix

* non empty check for functions

* evaluate test case fix

* added new icons

* text change

* updated time for debounce for trial

* after release mereg

* changed icon

* after merge

* PR comments simple

* fixed PR comments - redux form, settings remove

* js object interface changes

* name refactor

* export default change

* delete resolve actions chnage

* after merge

* adding execute fn as 3rd option and removed create new js function

* issue 7054 fixed - app crash

* execute function on response tab changes

* refactor function name part 1

* refactor of js function name

* try catch added refactor

* test fix

* not used line removed

* test cases locator fixed

Co-authored-by: Nidhi <nidhi.nair93@gmail.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
2021-09-08 23:02:22 +05:30
Nikhil Nandagopal
72f667bec4
fix: property pane (#7157)
* updated widget properties

* updated placeholders

* updated default for date

* lint fix

* Fixed more styles and reverted changes to input widget

* adjusted default sizes of different widgets

* resized image in list widget

* reduced chart default data

* fixed tests

* PR comment fixes

* fixed tests failing

* fix: Fixed failing jest tests because of an error in chart widget propertyConfig object

Co-authored-by: somangshu <somangshu.goswami1508@gmail.com>
2021-09-08 20:03:06 +05:30
Nidhi
a7239cfa5b
feat: Changes to add js plugin (#4861)
Adds server side changes for supporting JS editor
2021-09-08 19:17:30 +05:30
Ayush Pahwa
dd7ad6a3ed
feat: Updating query fom render according to new json structure (#7188)
* Updated renderEachConfig function, changed keys for eval storing

* Removed unused imports
2021-09-08 11:35:06 +00:00
Paul Li
4c6fb4fcb6
feat: New widget - Audio Recorder widget (#6702)
User can record audio / play it as feedback and then use the data in any API with the help of this new widget
2021-09-08 16:30:36 +05:30
akash-codemonk
30899cbb4a
fix: Undoing delete widget does not restore the errors in the debugger (#7232) 2021-09-08 16:13:44 +05:30
rashmi rai
542a204a32
wrapped header text in AutotooltipComponent (#7186)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-08 15:08:22 +05:30
Vicky Bansal
b7385ebd91
fix: Filter columns which has a column accessor (#7101)
* Filter columns which has does not have a column accessor property
2021-09-08 14:41:48 +05:30
Yash Vibhandik
387ba66f00
FIX #4952 : checked array before spread (#7027) 2021-09-08 14:30:07 +05:30
arunvjn
e9f079ea03
fix: snippets meta and short title (#7216) 2021-09-08 12:20:21 +05:30
ashit-rath
39aa4e6d8d
feat: Consistent styling for widgets disabled state (#6983)
* checkbox and button default styling

* rate widget disabled styling

* added cursor: not-allowed to disable css
2021-09-08 11:45:11 +05:30
ashit-rath
863d992d77
fix: Tabs widget - full height when showTabs is false (#6949)
* Fix - Tabs widget - full height when showTabs is false

* added conditional height for ChildrenWrapper based on tab visibility state
2021-09-08 10:13:11 +05:30
Rishabh Saxena
b61be1eb66
fix: persist draft comments on clicking outside (#7156) 2021-09-07 20:53:40 +05:30
arslanhaiderbuttar
603e282529
test: Select UI test cases (#6328)
* Select/MultiSelect widget UI test cases

* Select/MultiSelect Test Cases

Dropdown-AlertModal
Dropdown-FromModal
Dropdown-Call-Api
Dropdown-Call-Query
Toggle JS - Dropdown-Call-Query
Toggle JS - Dropdown-CallAnApi Validation
Verify Search box for selecting drop-down options
Verify Dropdown default value
Dropdown Icon Visibility
Explore Widget related documents
Dropdown Close
On Option Change Action
Copy paste dropdown
Dropdown-Delete
Toggle JS - Dropdown-Unckeck Visible field
Toggle JS - Dropdown-ckeck Visible field

* Added new file button file and fixed the bugs in chart and button

Added new file button file and fixed the bugs in chart and button

* Fixed JS toggle for Button widget

* Added go to edit page from published page

* Removed the multiselect test cases from dropdown

* Select ui test cases fixes

* Select UI test fixes
2021-09-07 13:41:36 +00:00
Rishabh Saxena
5f6a948acd
fix: try making create new thread transition better (#7200) 2021-09-07 19:05:01 +05:30
Rishabh Rathod
fafe03a2e7
chore: jest state update on unmount error (#7141)
Add clearTimeout to avoid setState on unMount
2021-09-07 18:43:56 +05:30
Rishabh Rathod
027ed55611
fix: omit props passing to DOM element (#7181) 2021-09-07 18:42:04 +05:30
Rishabh Rathod
a2a5439741
fix: text overflow gen CRUD form (#7180)
Fix #7151 : Text overflows the row when the table's column name is more than 25 characters.
2021-09-07 18:41:27 +05:30
Rishabh Saxena
ea1d49775c
fix: handle resolved/deleted comment threads after they're fetched (#7185) 2021-09-07 18:25:38 +05:30
arslanhaiderbuttar
c5503ee9e8
List widget UI test cases (#5535)
* List Widget UI Test Cases

List Widget UI Test Cases:

Change the List Widget Name
Add or Modify items
Change the Background Color
Change the Item Background Color
Enable Disable Visible
Enable Disable Visible - JS
Adding Query/API
Copy Widget
Delete Widget
Change the list and item background color using JS Button

* Update List_spec.js
2021-09-07 12:48:38 +00:00
Rishabh Saxena
89b10b5520
fix: close notifications list on clicking a list item (#7178) 2021-09-07 18:15:17 +05:30
Rishabh Saxena
928242d79b
fix: center alignment for profile placeholder (#7197) 2021-09-07 18:15:04 +05:30
akash-codemonk
f4adea8371
feat: Show contextual search menu for debugger errors (#7078) 2021-09-07 14:45:11 +05:30
Ashok Kumar M
370a4800c2
fix: resize breaks DnD (#7174)
This is an important fix for a blocker in release. Force merging
2021-09-07 13:13:25 +05:30
arunvjn
4fcfe07c67
fix: snippets UI (#7173)
Changes to snippets tab color and removed play icon on snippet.
2021-09-07 05:21:07 +00:00
Pranav Kanade
eee2e97728
fix: safeguarding selected widgets saga (#7133) 2021-09-07 10:15:13 +05:30
arunvjn
a056bca136
Added null check in tern autocomplete (#7160) 2021-09-06 21:28:36 +05:30
Tolulope Adetula
ffe7b1f9e8
fix: add expected structure example to api pane based on the new validation structure (#6886) 2021-09-06 20:27:15 +05:30
Rishabh Saxena
685aa3b98c
feat: make comments publicly available (#7143) 2021-09-06 18:04:40 +05:30
Bhavin K
74cba639ae
feat: on chart widget set adaptive y-axis based on data (#6310)
* enhancement on chart props

* updates as required

* changed data for chart widget

* fixed build issue

* improve code

* update text

* Update propertyConfig.ts

* changed helpText

Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com>
2021-09-06 17:45:58 +05:30
Shrikant Sharat Kandula
6a52931b64
Update lockfile with current dependencies (#7117)
The yarn.lock file is currently out-of-sync with the dependencies we are using. So, running yarn install --frozen-lockfile fails with the following error:

    yarn install v1.22.10
    [1/5] 🔍  Validating package.json...
    [2/5] 🔍  Resolving packages...
    error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
    info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

This commit gets it back in shape.
2021-09-06 17:31:48 +05:30
Pawan Kumar
e3fe687a29
change data validation rule to array (#7091)
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-09-06 15:47:52 +05:30
Shrikant Sharat Kandula
7a0ec72304
fix: Treat missing server proxy endpoing as a warning (#7094)
Currently, in the editor Docker image, if the APPSMITH_SERVER_PROXY_PASS env variable is missing or set to empty, then the service will notify the user and refuses to start. This PR will change this behaviour to use a default value for this variable and attempt to start.
2021-09-06 15:30:45 +05:30
Bhavin K
9143ada0f3
fix: Validation property change in input widget (#6854)
Fixing challenge with the valid property as below:
1. Change the valid prop to an input control like regex
2. the valid field prop should be able to accept undefined apart from boolean
3. Change helper text to > ability to control input validity based on a JS expression.
2021-09-06 15:16:22 +05:30
Rishabh Saxena
a2b38c86eb
feat: init bottom bar skeleton, add feature flag for git (#7105) 2021-09-06 14:59:35 +05:30
albinAppsmith
3d85575979
style: Removed dark/light. theme switcher and made light theme default (#6979)
* Removed Theme switcher

* Changed default theme to light

* Auth screen dark theme changes

* auth screen ui ix

* Theme change Ui test removed

* bug fix
2021-09-06 14:37:52 +05:30
Pranav Kanade
b1a399b64a
fix: comment pins related issues (#7081)
* fix: the thread with the latest comment will be at the top.

* fixed the z index of unpublished pin

* making the layout control absolute

* removed comments

* reversed the ids order

* made sorting logic generic to work with list of ids

* minor refactor

* putting layout controller on top of canvas
2021-09-06 14:27:47 +05:30
Rishabh Saxena
cc0ff7fcc6
fix: account tabs for thread height in published mode (#7140) 2021-09-06 14:17:14 +05:30
Tolulope Adetula
db88ef86f4
fix: underline style for text (#6865)
* fix: underline style for text

* fix: add expected structure example

* Revert "fix: add expected structure example"

This reverts commit efd56886a26f87bb18cf6edc53bd246bfeb8e0f1.

* fix: test failing

* fix: widget crashing (#6980)

* fix: update omnibar search string for documentation for actions (#6722)

* [Mongo] Added default values for query for Find, Count and Distinct commands (#6960)

* Added smart defaults for query in Count, Distinct & Find commands

* Added test cases for smart inputs for query and limit for find, and query for count and distinct

* Distinct command output now results a JSON object instead of an array of strings (#6964)

* Fix: Break word when text widget content is long (#6211)

fixes #5319

* fix: widget crashing

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: balajisoundar <sbalaji1192@gmail.com>

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: balajisoundar <sbalaji1192@gmail.com>
2021-09-06 00:06:15 -07:00
Tolulope Adetula
742f0cf1ec
feat: compact mode in property pane (#6637)
* fix: compact mode

* fix: test

* fix: remove row height visibility

* fix: options label for compactMode

* feat: Add test

* Fix: failing test

* fix: test

* fix: test case.

* fix failing test

* fix: move position of rowHeight prop in property pane
2021-09-06 00:05:51 -07:00
Shrikant Sharat Kandula
3adfaa5872
Include a default value for server proxy pass (#7042)
The env variable APPSMITH_SERVER_PROXY_PASS is missing a default value, and the start script in client image requires this. But since this env variable is not set on any _existing_ installations, they will break. So to fix that, we are adding an initial value to this variable to a sensible default.
2021-09-06 12:25:31 +05:30
rashmi rai
590b33a370
css fix primary and secondary box in FieldArrayControl (#7116)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-06 11:23:46 +05:30
rashmi rai
c0748e5d5a
fixed missing toast (#7124)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-06 11:23:21 +05:30
Pranav Kanade
228990e9a5
changing the order of connect widget and suggested widgets (#7129) 2021-09-06 10:56:28 +05:30
haojin111
0cec3f461f
fix: Making only the back link clickable instead of the whole row (#6287)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-09-05 21:55:34 +00:00
Snyk bot
b7e149958e
fix: app/client/package.json & app/client/yarn.lock to reduce vulnerabilities (#7044)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-IMMER-1540542
2021-09-06 02:47:11 +05:30
arunvjn
5fe83b6716
feat: Omnibar redesign and added snippets analytics (#7053) 2021-09-05 23:40:38 +05:30
Rishabh Rathod
93ce03c765
feat: git-connections-tab-ui (#7099)
update git connection UI
2021-09-03 23:27:22 +05:30
Rishabh Rathod
b020ad72a4
feat: Add horizontal tabs in gitSync Modal (#7048)
Add horizontal tabs in gitSync Modal
2021-09-03 11:56:09 +00:00
arunvjn
53b389d348
fix: Filter empty key value pairs from form data, headers and query params. (#7019) 2021-09-03 11:43:11 +00:00
Aswath K
fbb8af1c3b
fix: reorder IconButtonWidget properties (#7088) 2021-09-03 16:35:15 +05:30
Hetu Nandu
f95f550721
fix: Promise action backwards compatibility (#7052) 2021-09-03 16:32:28 +05:30
Bhavin K
3d967e2df3
feat: statbox widget (#6556)
Introducing a new widget: Statbox / Statistic box Widget; This is a composite widget which has text and icon in a certain layout that can be easily changed.
2021-09-03 15:45:04 +05:30
Rishabh Saxena
3859cb8438
fix: listen to page id url param at the parent editor component (#7009) 2021-09-03 13:39:39 +05:30
Yash Vibhandik
cc606b2fe9
test: added jest test cases for null or undefined value in table data (#7010) 2021-09-03 10:24:32 +05:30
ashit-rath
2cb57156f9
fix: Firefox input widget text selection (#6832)
* fix - firefox input widget selection

* minor change

* dragDisabled - updateWidgetProperty -> updateWidgetMetaProperty
2021-09-03 10:19:07 +05:30
Rishabh Saxena
8b63b2029e
fix: bottom padding at the api editor (#7074) 2021-09-02 23:56:30 +05:30
Bhavin K
b8c1f0d672
Fix for D&D on input on canvas: changed defaultText to empty string (#7018) 2021-09-02 18:31:09 +05:30
Tolulope Adetula
682526c5ee
fix: multiselect animation changed for consistency (#6618) 2021-09-02 18:28:08 +05:30