Commit Graph

5620 Commits

Author SHA1 Message Date
Trisha Anand
60f85bd88b
fix: Add migrations for all google sheet actions to turn off smart substitution for existing actions (#7517) 2021-09-16 12:08:34 +00:00
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
Shrikant Sharat Kandula
851abd5a06
fix: Add missing variables in env file in config (#7100)
The env config API currently only changes values that are already defined in the env file. It is not capable of adding anything to the file.

This commit adds the capability to do so. However, since we don't want to let the client add just any variable, we've switched from a black list to a white list of env variables that can be managed by this API. If the requested variable is present in the whitelist, we add it, if its missing in the env file.
2021-09-15 17:03:47 +05:30
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
Shrikant Sharat Kandula
c509a640b7
feat: Add an API to get env values for superusers (#7043)
This commit adds the following API:

`/api/v1/admin/env` — Responds with the names and values of all environment variables currently configured, that are allowed for configuration from the UI. Some variables will be missing from this, ones that are not allowed to be edited from the configuration UI.

Doesn't take any query params. Only usable by the superuser.

Also added a `isSuperUser` boolean field to the response of `api/v1/users/me`, that will indicate whether the current user is a superuser or not.
2021-09-15 13:56:41 +05:30
Nikhil Nandagopal
01f01cd565
fix: Updated Template (#7447)
* Updated Template

* Updated Template

* Modified TC accoording to updated template

Co-authored-by: Abhijeet <ABHI.NAGARNAIK@GMAIL.COM>
2021-09-15 12:36:56 +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
Sumit Kumar
4d847336d0
fix: update on-page-load actions on action delete. (#7439)
* Currently, the list of actions to be run on page load is not updated when an action object gets deleted. Hence, sometimes, a previously deleted action may be set to run on page load which throws an error when the application tries to run it on page load.
* This PR updates the list of actions to be run on page load whenever any action gets deleted.
2021-09-14 14:46:24 +00:00
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
Trisha Anand
ef2f2d7751
feat: Smart Substitution for Google Sheets Plugin (#7397) 2021-09-14 13:04:49 +00:00
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
Nayan
d9a57b7b49
fix: set thread mode to comment mode in the create when creating a comment (#7303) 2021-09-13 22:18:34 +06:00
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
Anagh Hegde
9ca16e954e
Classify the error messages to validation or plugin errors (#7161) 2021-09-13 16:16:01 +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
Arpit Mohan
3a071864dd
fix: Fixing the previous page pagination for Firestore (#7374)
The problem was that the pagination was designed & tested with only 2 pages. Firestore has a different function `limitToLast` which solves for previous page pagination commands.
2021-09-13 09:07:30 +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
Nikhil Nandagopal
b949b7030f Updated Template 2021-09-10 23:42:49 +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
Nidhi
e87973454d
Switched image to latest release image to avoid breaks while developing (#7289) 2021-09-10 08:05:10 +05:30
Nidhi
7ac1017b80
fix: Js editor view mode collections accessible to anonymous users (#7321)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2021-09-09 23:26:02 +05:30
dependabot[bot]
02784d9b4e
chore(deps-dev): bump axios in /app/server/scripts/node (#7318)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 22:14:58 +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
Trisha Anand
a272a0ec7a
feat: Add consumption of UQI UI templates (#7082)
* Same templates for mongo fetch

* WIP

* Working version

* Minor refactoring and addition of comments for understanding the code flow

* Minor fileName change

* Extra check added to only try to read options for command
2021-09-09 16:39:42 +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
Shrikant Sharat Kandula
9b98621010
Restore a few missing fields on appsmith.user object (#7295)
With latest update, the following fields are unavailable on the `appsmith.user` object:

- `accountNonExpired`
- `accountNonLocked`
- `credentialsNonExpired`
- `isAnonymous`
- `isEnabled`

These fields are necessary for building applications and many apps were relying on these, despite them not being listed in the documentation at <https://docs.appsmith.com/framework-reference/appsmith#user>.
2021-09-09 15:34:02 +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
Nayan
6247b6a3a5
feat: Generate and store ssh key to git meta data of application (#7184)
- Added new API that generates a new ssh key pair and stores that inside the git meta data of an application. The key is generated in open ssh format. The private key is stored as encrypted in DB.
2021-09-08 20:54:20 +06:00
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
Nayan
61eaaf1aab
fix: stop creating private thread if someone tagged a user in their first comment (#7205) 2021-09-08 10:50:11 +06:00
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
Abhijeet
19e21e10c0
fix: Fetch all the schemas present in the postgres DB (#7204)
* Remove schema check from tables query for postgres DB in fetch structure
2021-09-07 18:50:46 +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
Nayan
a17be566a9
feat: Removed unnecessary fields from exported application (#7198)
Removed unnecessary fields from exported application
2021-09-07 18:33:45 +06:00
akash-codemonk
f4adea8371
feat: Show contextual search menu for debugger errors (#7078) 2021-09-07 14:45:11 +05:30
Nidhi
8b8e57f010
Use BigDecimal to maintain precision (#7189) 2021-09-07 09:14:13 +00:00
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
Sumit Kumar
77a33f770d
fix: fix Arangodb plugin response on update commands (#7182)
* ArangoDB has two types of command - one that fetches a response and the other that updates a document. Currently, ArangoDB plugin treats all cmds like the one that returns a response, hence when update cmds are run then an empty response is returned to the client since there is nothing to fetch. This PR adds a check to fetch the response based on the type of cmd. Hence, for an update cmd the number of writes succeeded or failed would be returned as a response.
2021-09-07 09:38:23 +05:30
Nikhil Nandagopal
1d2bcb277b Updated Template 2021-09-06 23:30:19 +05:30
Nikhil Nandagopal
e7b95d2fd9
fix: Updated Template (#7169)
* Updated Template

* Updated Template

* Updated Template
2021-09-06 22:28:48 +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
Anagh Hegde
31180a4b28
feat: API to save git config data (#6930)
* API to save git config data

* Store the git config data as global/default property in user data object

* Add API to fetch the config for the user
2021-09-06 19:50:12 +05:30
Abhijeet
168000be92
[skip_changelog] Feature/directory structure for version control (#6757)
* Insert git application metadata to application object, for git sync/version control feature there is a need to save the application in the structured format

* Added changelog to index application collection with git branch and remoteurl

* Rehydrate and dehydrate applications among different instances

* Added serailisation purpose while exporting the application to make distinction between version control and regular import-export flow 

* Git file operations moved to appsmith-git module

* Delete json reference from directory for deleted resource in DB

* Added git authentication in application metadata

* Replace String with Path to handle file path in git file structure
2021-09-06 18:18:18 +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
Nayan
c4a7c1fb01
feat: add last edit information to application (#6948)
Adds the last edit time and editor username to the application when there is a change in the application.
2021-09-06 16:17:02 +06:00
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
0a08f9b807
fix: Rename user company to user's useCase (#7093)
We're not going to be collecting the company name for the self-hosted installation, but instead we'll be collecting the use-case that is being solved with Appsmith.
2021-09-06 12:28:47 +05:30
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
Trisha Anand
7526129a3a
feat: Adding APPSMITH_PLUGIN_MAX_RESPONSE_SIZE which can be configured as an environment variable to increase plugin response size (currently only supported for Postgres Plugin) (#7126)
* Adding `APPSMITH_PLUGIN_MAX_RESPONSE_SIZE` which can be configured as an environment variable to increase plugin response size (currently only supported for Postgres Plugin)

* Updated error message + added the environment variable to the template docker env files for new installations
2021-09-05 15:38:36 +00:00
Anagh Hegde
a4434872b0
Classify the Plugin errors to Action and Datasource configuration issues (#7095) 2021-09-04 02:54:23 +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
Nayan
b5529310d1
feat: Removed check on template organization ID when creating the default organization and application after signup (#7084) 2021-09-03 15:32:53 +06:00
Rishabh Saxena
3859cb8438
fix: listen to page id url param at the parent editor component (#7009) 2021-09-03 13:39:39 +05:30
Anagh Hegde
d4ee07ab58
Remove list widget from suggested widget on action execution (#7038) 2021-09-03 11:52:27 +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
Trisha Anand
cbf7dc2745
feat: New Mongo UQI Plugin with new datastructures (with old UI) (#6666) 2021-09-02 14:00:18 +00:00
Trisha Anand
5139be6be9
feat: Generating plugin framework using plop (#6956)
* WIP First commit

* Generating different files from different templates

* Adding file to edit for adding database changelogs

* Tested the modify file step as well.

* Completed the plugin generation for today's plugins

* Tested with all the files getting generated property

* Not tracking node_modules

* Removes node_modules

* Incorporated review comments
2021-09-02 19:22:17 +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
Trisha Anand
f6df16bde4
fix: Json smart substitution breaks when evaluated value contains the character '?' (#7031)
* Minor refactoring

* Partial code change to replace question mark with appsmith placeholder

* Working version

* Removing unnecessary code

* Added test case to assert that when evaluated value contains a "?", the replacements are still correct

* Added test case in Mongo Plugin as well for the same scenario

* Minor change in the language of the comment
2021-09-02 12:30:04 +00:00
Paul Li
d71253ee94
fix: Iframe onUrlChanged Prevented from being triggered on initial mount (#6961) 2021-09-02 17:43:01 +05:30
Yash Vibhandik
164a574935
fix: the colour picker select was not working in some cases, resolved the issue here (#7026) 2021-09-02 16:57:03 +05:30
ashit-rath
4a8f65d30d
add mod + s hotkey to suppress default page save and show toast message (#6917) 2021-09-02 14:07:27 +05:30
arunvjn
21f04166e3
fix: form data overflow (#7029) 2021-09-02 14:03:10 +05:30
Nayan
b98f646642
feat: Redirect after signup (#6962)
* WIP

* -redirect to newly created application after signup

* feat: create default application if no redirect url exists. also add a param to indicate first time user experience

* -updated function comment as per PR review

* -updated the create application using existing function

* -added check whether application is null when creating application page url

* -removed unnecessary refactoring

* -removed unused parameter from method
2021-09-02 12:25:39 +06:00
Arpit Mohan
c078976616
chore: Minor refactoring changes for RTS (#7011)
* Checking for anonymousUser when performing session check

* Using the custom path /rts instead of the default /socket.io. This makes the endpoint more readable & scalable for future websocket endpoints as well.
2021-09-02 08:47:42 +05:30
Snyk bot
4972e197ea
fix: [Snyk] Security upgrade nginx from 1.19-alpine to 1.20-alpine (#7040)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569446
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569446
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448
2021-09-02 02:26:40 +00:00
Rishabh Saxena
d990554290
fix: center align emoji for non-retina displays (#7023) 2021-09-01 20:28:23 +05:30
Favour Ohanekwu
69be9e7e18
closed hint menu when space/semicolon is entered (#7022) 2021-09-01 15:41:08 +01:00
Shrikant Sharat Kandula
250508bccc
Fix editor container fails to run with vanilla config (#6361) 2021-09-01 17:05:33 +05:30
arunvjn
558e333526 Revert "Adjust tab containers height"
This reverts commit 65e223fe84.
2021-09-01 16:42:12 +05:30
arunvjn
6e35b1a9bc Revert "Open dropdown on top when there is no space at the bottom"
This reverts commit b8a31691e0.
2021-09-01 16:41:53 +05:30
arunvjn
5b615215a2 Revert "set overflow to auto"
This reverts commit d6164a1dfc.
2021-09-01 16:40:59 +05:30
arunvjn
d6164a1dfc set overflow to auto 2021-09-01 16:27:48 +05:30
arunvjn
b8a31691e0 Open dropdown on top when there is no space at the bottom 2021-09-01 16:27:26 +05:30
arunvjn
65e223fe84 Adjust tab containers height 2021-09-01 16:26:53 +05:30
akash-codemonk
9de37f7fc5
fix: Fix missed out errorType field for debugger error analytics (#7017) 2021-09-01 15:45:45 +05:30
Tolulope Adetula
45fad5e094
Feat: Table Widget: icon button as a new column type (#6598)
* feat: add icon button properties to property pane
* feat: add icon button styles to property pane
2021-09-01 15:20:23 +05:30
arunvjn
277cb7fcca
fix: Ghseets scroll bug(#6634) 2021-09-01 14:41:51 +05:30
Rishabh Saxena
8c8afd8c32
fix: caret color light theme (#6973) 2021-09-01 14:24:41 +05:30
Rishabh Saxena
47df5dbb34
fix: minor spacing issue reaction bubble (#7015) 2021-09-01 14:24:32 +05:30
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
Abhijeet
3414195b69
[skip_changelog] Update error message for sign-in source capitalization issue for OAuth (#7004) 2021-08-31 16:13:21 +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
Abhijeet
85323b2de3
[skip_changelog] Show table schema alongwith table name for the generated CRUD page (#6992) 2021-08-31 13:59:02 +05:30
Pranav Kanade
197d491047
can show comments on blank canvas in deployed version (#6988) 2021-08-31 13:27:22 +05:30
Arpit Mohan
a539316e78 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2021-08-31 12:42:14 +05:30
Arpit Mohan
2186802889 Minor changes to the Google Sheets form labels 2021-08-31 12:30:39 +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
Shrikant Sharat Kandula
0458b304e9
Upgrade socket.io-adapter to fix race condition (#6950)
Fix potential race condition error that's killing RTS, when multiple several users leave a room at the same time, which isn't uncommon for our use case.

This is done by upgrading socket.io-adapter dependency to version 2.3.2, which includes fix from PR socketio/socket.io-adapter#74.
2021-08-31 09:21:22 +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
Trisha Anand
104fd168de
Distinct command output now results a JSON object instead of an array of strings (#6964) 2021-08-30 12:37:13 +00:00
Trisha Anand
23ce13ce98
[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
2021-08-30 11:02:48 +00:00
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
Sumit Kumar
96144d5103
remove outermost quotes (#6938)
* This method removes the outermost quotes - single or double quotes - so that end users don't have to do it via javascript inside widget fields where they are meant to be bound.
2021-08-30 08:11:32 +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
Abhijeet
ea8116863e
revert: "Add version check from import-export flow (#6552)" (#6935) 2021-08-27 18:46:13 +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
Abhijeet
e57755e426
Revert "[skip_changelog] Update error message for import flow (#6779)" (#6927)
This reverts commit bc55021994.
2021-08-27 17:04:31 +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
Anagh Hegde
078ad25613
feat: Create interface for git service and add all the required classes (#6903)
* Create interface for git service and add all the requireq classes

* Fix name of the service class

* Fix name of the service class as per review
2021-08-27 14:17:35 +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
Shrikant Sharat Kandula
e0273ecc03
Add form data support for superuser signup API (#6844)
The superuser signup api available at /users/super currently only supports JSON payload. This PR adds support for form-data payload at the same endpoint, and makes it consistent with the normal user's signup API endpoint.
2021-08-26 06:35:32 +05:30
Anagh Hegde
58fad5f3fb
feat: Add maven module for the git operations (#6825)
* Add appsmith-git maven module for all the git related operations
2021-08-25 21:30:29 +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
Nayan
b1885358cb
feat: add feature flag for multiplayer feature (#6878) 2021-08-25 13:03:35 +00:00
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
Sumit Kumar
42273043da
- change action editor field label (#6845)
* The input box label in the Firestore plugin action editor reads Document / Collection Path which is misleading since a document is nested inside a collection and not the other way round. Hence changing it to Collection / Document Path
2021-08-25 16:04:51 +05:30
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
Nayan
2f473fbd66
-improved logging in RTS (#6846) 2021-08-25 15:52:58 +06:00
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
Sumit Kumar
163192d851
Feature flags snippet and linting features. (#6828)
* Introduce feature flags for snippets feature and linting feature.
2021-08-24 18:50:50 +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