Commit graph

4600 commits

Author SHA1 Message Date
Surendran
6e249bc540
fix: Added onKeyDown function for input field (#6699)
* Added onKeyDown function for input field

* Updated CreateOrganization.jsx
2023-06-15 13:32:33 +05:30
Justin V
6308f4292c
fix: Rename widget to component (#6675)
* Change reference of widget to component in app editor

* Change widget to component in in-app walkthrough
2023-06-15 13:32:16 +05:30
Kiran Ashok
0894367f56
fix :: csa not working , csa with empty component selected wont trigger subsequent events (#6713) 2023-06-15 13:31:27 +05:30
Kiran Ashok
e786313a13
added check before access of classes in modal widget (#6711) 2023-06-15 13:31:13 +05:30
Manish Kushare
eac3b7c33e
removed selection key from newRows exposed variable in th table (#6693) 2023-06-15 13:30:57 +05:30
Johnson Cherian
c218b27a94
Improving user experience of left side drawer in app builder (#6659)
* style: Store pinned state of left sidebar tabs in localstorgae to persist across refresh

* style: Fixed popover width. Add scroll for canvas so for user view to remain same  when popover is open

* feat: added horizontal scrollbar for canvas when sidebar popup is open

* feat: added logic to calculate canvas height on resize

* feat: prevent flickering of popover when switching tabs

* style: made modal width and position inside canvas relative to canvas container positon

* fix: removed extra offset added to the dragged element placeholder.

* fix: hide extra scroll bar added when dragging new component to canvas

* fix: hide canvas scrollbar on dragging of new component

* fix: removed extra margin to main container

* fix: fixed canvas alignment when mobile screen is selected

* fix: revert the debugger error notification badge behaviour

* fix: fixed width issue for old apps

* fix: fixed issue with width when user set max width in %

* fix: resolved conflicts in style file

* fix: fixed whitespace issue in large screen

* Update frontend/src/Editor/LeftSidebar/index.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/LeftSidebar/index.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/LeftSidebar/index.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/LeftSidebar/index.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* refactor: removed unnecessory rerendering of Editor component

* perf: unsubscribe to querypanelstore on unmount of editor component

* perf: rerender editor only when query panel resizing over

* refactor: removed unused logs

* Update frontend/src/Editor/Editor.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/Editor.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* fix: added style to hide extrascrollbar in macbook screens when mouse connected

---------

Co-authored-by: Johnson Cherian <johnsoncherian@Johnsons-MacBook-Pro.local>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2023-06-15 12:58:44 +05:30
Johnson Cherian
c1248fd3d2
fix: retain query param on redirection to home page from base url (#6702) 2023-06-15 12:57:17 +05:30
Kiran Ashok
1aed8f4a03
Feature :: Dropdown widget enhancement (#6392)
* feat ::  dropdown component with array of objects as input

* update placeholder default value for dropdown

* removing unwanted prop

* removing unwanted prop form inspector in dropdown widget

* feat :: adding function for dynamic props resolution in widget manager

* fix :: show schema only when advanced option is true

* fix :: backward compatibility

* removing some unwanted prop and updating utils so that only dropdown component is checked

* code improvement

* optimize :: removed intermediate arrays

* updating config on advanced toggle state and positioning of props

* feat :: replaced old logic to map items during advance option

* feat :: fix exposed items optionlabel and default item change during advanced switch

* fix :: bug during schema switch for default item

* fix :: selectedOptionLabel exposing during schema change

* fix :: disaply values not resetting for advanced off

* cleanup

* removinvg states

* backward compatibility check

* fix :: default item

* fix ::exposed labels if items are hidden

* remove logs

* fix :: optionLabels not getting exposed on advanced false

* fix

* fix :: checking visibility for default items

* null check for backward compatibility
2023-06-15 11:04:08 +05:30
Ajith KV
e416709ea4
Fix and modify cypress test cases for workspace sanitization changes (#6717) 2023-06-14 15:00:21 +05:30
Shubhendra Singh Chauhan
5db13b39ac
[doc]mariadb revamp (#6703) 2023-06-14 01:58:30 +05:30
Shubhendra Singh Chauhan
5ba6fcd1f5
[docs] ToolJet CLI v0.0.14 (#6681)
* docs/cli

* improved cli doc

* Update docs/docs/tooljetcli.md

Co-authored-by: Arpit <arpitnath42@gmail.com>

---------

Co-authored-by: Arpit <arpitnath42@gmail.com>
2023-06-14 01:57:53 +05:30
Shubhendra Singh Chauhan
c9f6b90738
added docs for feature #6291 and #6301 (#6566) 2023-06-12 20:51:26 +05:30
Adish M
516bf878b7
Fix: render pro workflow (#6690) 2023-06-12 17:46:29 +05:30
Johnson Cherian
6678d83b93
Page clone feature (#6287)
* feat: uncomented clone feature

* fix: reset selected component on page switch

* fix: truncate text overflow for page handle field
2023-06-12 16:25:46 +05:30
Shubhendra Singh Chauhan
21c8b337ff
updated ssouserinfo in openid (#6682) 2023-06-12 14:02:46 +05:30
Karim Guezlane
23c1015ced
updating the INFO section (#6630)
* updating the INFO section

* Update docs/versioned_docs/version-2.6.0/how-to/bulk-update-multiple-rows-in-table.md

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>

* removing unnecessary spaces

* Updating all Docs versions

---------

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
2023-06-12 13:01:48 +05:30
Adish M
0ebb42809d
Fix: Render pro workflow and cypress (#6684) 2023-06-12 11:56:20 +05:30
Muhsin Shah C P
9bf1eb3144
[fix] Deprecated css code errors (#6393)
* fixed deprecated css error

* removed css code
2023-06-12 11:21:22 +05:30
Manish Kushare
12c14b3e4f
Added toggle switch for visibility of "Add new row" button in table component (#6374)
* controlling add new row button visibility

* fixed backward compatibility issue for new prop show add new row button

* removed unwanted code
2023-06-08 17:53:47 +05:30
Kiran Ashok
0b6e2a3b3c
Detach modal button height property from modal height (#6301)
* fix :: detach button height property from modal height

* fix :: backward compatility of modal height

* updating modal height as new prop

* fix :: prop import

* fix wrong import

* fixing backward compatibiliity issue in mdoal widgets

* fix :: do not allow dropping of widgets when modal is opened

* freezing background to 100vh on modal open

* fix :: modal height issue

* fix for modal inside modal

* cleanup

* fix :: for mdoal inside modal case

* removed unwanted code
2023-06-08 10:45:04 +05:30
Manish Kushare
cc93bd0a63
Added feature to toggle the visibility of columns programmatically (#6325)
* added feature to toggle the visibilty of columns programatically

* made the requested changes
2023-06-08 10:44:20 +05:30
Manish Kushare
cf64f9df5a
Row selection revamp (#6436)
* row selection revamp version 2

* enable highlighting a row upon clicking action button

* added support to unselect the selected row

* bug fixed : discard selectedFlatRows when highlightrow ,allowSelection or bulk selection is toggled

* made row selection backward compatible

* made suggested changes

* bug fixed : row is not getting unselected in the UI

* removed repeated/unwanted code
2023-06-08 10:41:58 +05:30
Shubhendra Singh Chauhan
586df455b1
Minor fix in copilot doc (#6673)
* Update copilot.md

* Update copilot.md
2023-06-07 18:21:58 +05:30
Muhsin Shah C P
f9b6cbb933
resolved conflicts (#6672) 2023-06-07 17:10:05 +05:30
Arpit
d1ec7942d1
Improvements : ToolJet CLI (#6155)
* remove repo url prompt for creating a new plugin

* deprecating : creating new plugins for datasource/plugins

* package version upgraded to v0.0.14

* fixes: delete cmd

* delete prompt confirms marketplace plugins

* removes repo from json
2023-06-07 16:27:58 +05:30
Adish M
9d2252ac68
testing cypress workflow (#6670)
* testing cypress workflow

* reverting to old set-up
2023-06-07 16:20:35 +05:30
Muhsin Shah C P
a455a50e98
Sanitising workspace folder name while creating or editing a folder (#6396)
* added: frontend validation

* added attributes and constraints to folder name

* fixed migration

* replaced isAlphanumeric decorator with regex matches

* change: handle unwanted spaces

* handle error messages

* reverted css change

* folder name: adding error messages, refactoring code

* adding: PR changes

* fix: test cases

* fix: test cases

* changed max-length

* added PR changes and fixes

* added common error css change

* changed error message

* adding folder name to the prompt

* updated folder constraints

* updated maximum length

* fix: empty check

* added : folder dto name empty message

* fixed failing test cases

* added folder tooltip
2023-06-07 15:03:54 +05:30
Kiran Ashok
f8c3511a2c
Add loader for container widget (#6291)
* feat add loader for container widget

* fix :: make loading icon in center
2023-06-06 19:17:42 +05:30
Adish M
c08a51426c
Fix: Render pro label correction (#6666) 2023-06-06 19:07:04 +05:30
Arpit
0e1ab0a684
fixes: on bulk-updating users with csv, the data is not reflected (#6420)
* fixes: on bulk-updating users with csv, the data is not reflected

* add a limit for bulk upload users

* resolved pr comments

* fixes displaying all users emails for existing users

* fixes file selection type in OS File Dialog

* allow users to bulk upload from csv with either last for firstname undefined

* add validations check

* updated the toast msg

* remove comments
2023-06-06 17:29:46 +05:30
Muhsin Shah C P
e7bb22e649
[enhancement] Sanitising app name while creating or editing an app (#6423)
* working on app name unique migrationworking on app name unique migration

* Added checks and conditions

* change: remove staring and ending spaces

* fix: error management

* fix: regex

* working on app name generation

* app name:fixing bugs

* app name: fixing and refactoring code

* app name: fixed test cases

* updated app name constraints and default name

* fix: apps.e2e tests case

* fix: added app name to the prompt

* added app input tooltip

* removed unwanted code

* added tooltip close code

* fixed auto generated name issue

* merging develop

* code refactoring

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-06 14:12:36 +05:30
Mahmoud Mohamed Tayel
c700e4f22c
Fix broken contributors grid in the README #6644 (#6648)
modified:   README.md
2023-06-06 11:30:46 +05:30
Kavin Venkatachalam
50323bf35c
Query Manager Refactor (#6279)
* global store init

* Moved query data to new component

* Removed unwanted code

* Removed data queries prop drilling

* Moved query state out of editor

* Added unsafe to componentWillReceiveProps

* Selected first query when the version is changed

* Fixed bug on renaming query

* Fixed issue on dark theme

* Fixed running query on page load in viewer

* Query manager refactor init

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Moved query manager to functional component

* Fixed conflict issues

* Fixed infinite loop on tooljetDB

* Set the store name and updated devtools logic

* Fixed issue on displaying draft query from data sources

* Updated comments on the store

* Fixed bug on changing data source and creating query from data source

* Fixed bug on showing unsaved changes popup

* Fixed issue on showing confirmation modal everytime without any changes

* Fixed issues on query renaming

* Fixed issue on creating restAPI query

* Fixed issue on running runJS, runPY

* Fixed toast bug on running query after renaming it

* Fallback - toast bug on running query after renaming it

* Fixed issue on running query after app switch

* Fixed bug on running query with save button click

* Fixed bugs on displaying query notifications

* Hidden the copilot tooltip on the toggles
2023-06-06 10:24:54 +05:30
Adish M
acde0ac939
Fix: Render cypress workflow deployment (#6643) 2023-06-05 19:18:20 +05:30
Muhsin Shah C P
6266a6f30b
Replaced default workspace name Untitled workspace everywhere with My workspace (#6645)
* added missed default name part

* code refactoring
2023-06-05 17:51:02 +05:30
Muhsin Shah C P
dc810061a4
Fixed auto generated workspace name issue (#6642)
* fixed auto generated name issue

* fixed lint error

* fixed test case
2023-06-05 17:30:17 +05:30
Shubhendra Singh Chauhan
d72d8b99c6
Templates revamp (#6629)
* template: updated customer dashboard

* template: updated job application tracker

* template: updated kpi dashboard

* template: store catalogue update
2023-06-05 15:40:47 +05:30
SatVeer Singh
d22ef683e3
fix: Global datasource searchbar and page rename input-box text visibility in dark mode (#6586)
* fix: Global datasource searchbar and page rename input box text visiblity in darkmode

* fix: dark mode added in no datasource found input
2023-06-05 11:23:15 +05:30
Sukriti
0a619ece46
fixed typo in inspector (#6558) 2023-06-02 15:38:15 +05:30
SatVeer Singh
a3fe2fbee3
fix: Dashboard - show cursor pointer while hover on 'see all templates' link (#6578)
* fix: Dashboard - see all templates link cursor pointer

* fix: change span to button and removed background, border
2023-06-02 15:10:34 +05:30
Shubhendra Singh Chauhan
5e6217cd94
[doc] added docs for next version(v2.7) on base directory (#6609)
* doc: duplicate page #6287

* docs: updated canvas scroll #6235

* docs: release confirmation #6422

* docs: table download csa #6132

* doc: dropdown enhancement #6392

* doc: table add new row toggle #6374

* docs: table column show/hide fx #6325

* doc: table row selection revamp #6436
2023-06-02 11:41:09 +05:30
Adish M
10ddee5ff0
adding workflow code for tooljet-server-ce and develop image (#6624)
* adding workflow code for server-ce image

* adding separate workflow for develop and latest docker image build

* added slack notification only on failure

* made changes in heading

* changed heading

* naming correction

* added latest build workflow and server build to trigger manually

* added the develop tag server-ce

* filename change

* added latest tag

* made change to build after pr is merged
2023-06-01 21:03:58 +05:30
Adish M
0d1f9ce3f2
New render url changes for cypress (#6625) 2023-06-01 19:56:07 +05:30
Muhsin Shah C P
9257f6feea
Workspace name sanitisation (#6299)
* added unique organization name constraint

* sanitization task: workspace-name

* refactoring the code

* resolved PR changes

* fixed migration & added some checks

* change: trimming workspace name

* handle error messages

* added missing css

* working on the error messages

* change: first workspace's name of the new user

* change: removed underscore from the list

* Tested and fixed first workspace name changes

* Fixing error handler issues

* working on session storage implementation

* revert: session storage

* change: close modal if the edited name is same as prev name

* fixing bugs

* workspace name: refactoring the code

* workspace name: refactoring again

* workspace name: fixing and refactoring code

* fixed e2e test cases

* added catchDbException to catch db lever errors

* added: PR changes

* workspance name: css fix

* updated workspace name constraints and default name

* fix: test cases

* fix: app.e2e tests case

* fix: wrong error message

* fix: last state issue

* reverted some changes

* added workspace name tooltip

* added more tooltip for workspace name

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-01 19:21:38 +05:30
Adish M
360bd34651
Fix: Render billing issue in PR apps (#6623)
* Fix: Render billing issue in PR apps

* changed the plan from pro to starter

* adding a render deployment workflow with pro plan for cypress

* added suspend label workflow for pro render workflow

* add the label -review-cypress-app

* Update render-preview-deploy-pro.yml

* Update render-suspend-labeler-pro.yml

* Update render-preview-deploy-pro.yml

* Update render-preview-deploy.yml
2023-06-01 19:00:53 +05:30
Muhsin Shah C P
4c8cb01541
fix: app updated time (#6470) 2023-06-01 16:33:00 +05:30
Midhun Kumar E
8b922d0392
Added app builder specific test run (#6592)
* Add config files

* Modify workflow

* Add changes on workflow

* uncomment the steps

* Remove capturing dowloads

* Update the timeout and interval for URL check

* Fix typo in timeout
2023-05-31 17:18:46 +05:30
Adish M
e47665edcc
fix: Run-ci workflow (#6616) 2023-05-31 15:54:50 +05:30
Muhsin Shah C P
7f60b25138
fix: couldn't see request body (#6472) 2023-05-31 15:29:16 +05:30
Arpit
f7d1c3aab2
improvement - Confirm dialog box after pressing the release app button (#6422)
* prompt message stating "Are you sure you want to release this version of the app?"

* updated the UI for confirm box
2023-05-31 15:28:35 +05:30