Commit graph

2677 commits

Author SHA1 Message Date
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
Midhun Kumar E
d5c68e2fb0
Add data-cy and runJS for runPy (#6591) 2023-05-30 13:06:29 +05:30
Johnson Cherian
47c2cd7070
fix: display home page if user navigates to hidden page in preview mode (#6253)
* fix: display home page if user navigates to hidden page in preview mode

* fix: Updated page load logic to redirect users to the home page when hidden page url is hit.

* fix: redirect to home page if user hits wrong url in th viewer

* style: eslint fixes

* fix: removed extra character in launch app url
2023-05-30 09:23:21 +05:30
Manish Kushare
254079e530
Added feature to download table data using component specific actions (#6132)
* added feature to download table data using csa

* avoided popover getting closed after selcting downlaod format from select component

generalise the classname in codeHinter

removed important key in css

* bug fixed : column was not populating upon change in data when downloading table data with csa

* avoiding programatically choosing download type in table download csa

* made the requested changes

* made utility function for onChange and value of control specific actions to avoid duplications
2023-05-30 09:21:57 +05:30
Manish Kushare
e8c7244e50
fixed vertical alignment issue for cell in table whose column type are action button, multiselect,datepicker (#6356) 2023-05-30 09:18:14 +05:30
Kavin Venkatachalam
75f0838381
Fixes the background colour popover broken UI (#6101)
* Fixed background colour issue on globalsettings ui

* Reverted a change

* fix : bg color global settings popover not  closing on outside click (#6298)

---------

Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2023-05-29 16:02:57 +05:30
Arpit
1b625957f0
upgrade pyodide to 0.23.2 (#6347) 2023-05-29 12:28:49 +05:30
Sherfin Shamsudeen
000cba38ae Merge branch 'main' into merge-back/2.6.2 2023-05-26 18:05:14 +05:30
Kavin Venkatachalam
8bbae02bf8
Fixed rename issue on draft query (#6568) 2023-05-26 18:00:43 +05:30
Kavin Venkatachalam
b9210509ec
Fixed issue on app crash while deleting query created from gds (#6563) 2023-05-26 16:00:22 +05:30
Sherfin Shamsudeen
d24744e0cf
Merge pull request #6552 from ToolJet/merge-back/2.6.1
Merge back/2.6.1
2023-05-26 14:01:48 +05:30
Sherfin Shamsudeen
48344b88e9 Merge branch 'main' into merge-back/2.6.1 2023-05-26 13:51:25 +05:30
Arpit
7f281980a3
Hotfix - support resolving codeblocks workspace (#6551)
* fixes: resolve both {{object}} and %%object%% within a single string

* resolved multiple server/client/app variables together

* clean up

* clean up
2023-05-26 13:50:39 +05:30
Kiran Ashok
9988b676c3
fix :: check for if control component event with no component selected (#6282) 2023-05-26 10:55:40 +05:30
Sherfin Shamsudeen
b82a8a7a35 Merge branch 'main' into develop 2023-05-25 18:32:59 +05:30
Manish Kushare
7aa8293d60
Hot fixed : app is crashing upon clicking on codehinter icon in isEditable field in table column (#6510)
* bug fixed app is getting crashed on clicking codehinter icon in isEditable field in table column

* made the suggested changes
2023-05-25 17:44:08 +05:30
Muhsin Shah C P
cd41b73d6c
fix: Preview page is redirecting to the wrong workspace-id page when the page name contains login string (#6326)
* fix: preview page redirect to switch-workspace route

* fixed custom link issue
2023-05-25 12:54:43 +05:30
Sherfin Shamsudeen
0fbfd12bbe Merge branch 'main' into merge-back/2.6.0 2023-05-23 16:00:10 +05:30
Kavin Venkatachalam
514afa595f
Fixed bug on running query after renaming it (#6462)
* Fixed issue on running query after renaming it

* Fixed issue on renaming query after updating version
2023-05-18 17:26:30 +05:30
Arpit
af89e370cd
fixes: backdrop when alert modal is active for creating new workspace (#6446) 2023-05-18 16:46:21 +05:30
Midhun Kumar E
86fad66ce7
Fix for failing specs on release branch (#6438)
* Fix multipage failure

* Fix config

* Fix text spec

* Add versions to the suite

* Fix password and versions spec

* Revert config

* Fix password and listview

* Fix versions with temp fix

* fix all failures.

* add retry

* revert button fix

* Add workspace specs to the suite
2023-05-18 13:41:41 +05:30
Ajith KV
f26ee59eb0
Add data-cy for share app modal (#6460) 2023-05-18 13:00:05 +05:30
Midhun Kumar E
e21de08794
Fixed cypress for v2.6.0 (#6430)
* Add data-cy for the event handler input fields (#6382)

* Added automation for inspector. (#6380)

* Add utils for inspector node verification

* Add inspector verification spec

* Add verification for inspector buttons

* Fix cypress failure

* update toast message

* Modify Config

---------

Co-authored-by: Mekhla Asopa <dadhichmekhla@gmail.com>
2023-05-17 12:14:03 +05:30
Vik
f7f1d05dc5 revert unnecessary change 2023-05-16 13:26:34 +01:00
Vik
2928fc63ed Add is operator for delete and update operations 2023-05-16 13:26:31 +01:00
Vik
f09554bd7b Add is operator 2023-05-16 13:25:33 +01:00
Midhun Kumar E
be8dc85554
Add data-cy for the event handler input fields (#6382) 2023-05-16 14:43:32 +05:30
Sherfin Shamsudeen
9c8c4d1f7c Merge branch 'develop' into release/2.6.0 2023-05-16 13:13:39 +05:30
Akshay
f8df7d1568
Merge pull request #6389 from ToolJet/copilot-scope-changed
improvement - changing scope of API key from user to workspace
2023-05-16 12:30:42 +05:30
arpitnath
91c971832f current organization Id to be passed from frontend 2023-05-16 12:29:34 +05:30
Aviroop Banerjee
d4abb49adb
[docs] Fixed default text widget bg color (#5343)
* Fixed default text widget bg color

* Added default background colour for text component

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-05-16 01:06:37 +05:30
arpitnath
db412fcb1e ui changes to handle admin settings and user settings 2023-05-15 18:45:09 +05:30
Ajith KV
5ab569bf1a
Fixed datasource connection cypress test cases (#6371)
* Fix and modify datasource connection

* Modify config files

* Fix snowflake test cases

* Data sourcce count

* fix postgres error message
2023-05-15 09:48:09 +05:30
arpitnath
cea948710e changing scope of API key from user to workspace 2023-05-14 01:40:48 +05:30
Ajith KV
b2a9b7732d
Add data-cy for global datasource manager page (#6361) 2023-05-12 09:31:27 +05:30
Arpit
2ddbd3309e
Feature - ToolJet Copilot 🚀 (#6074)
* add support for Copilot assistance

* clean up

* fixes workspace settings crash

* refactor and resolved review comments

* api endpoint should be inferred from env

* copilot style fixes

* copilot style fixed

* beta tag fro copilot settings: workspace

* fire toast for unauthorised recommendation request

* include the previous code with the newly generated response

* scoping apikeys to orgs

* controller updates for copilot

* copilot org key updated

* disable toggle for new workspaces

* disable toggle for new workspaces

* fixes: multi-workspace toggle updates

* uninstall unsued packages

* fixes button state for copilot in transformations

* updated the urls
2023-05-11 15:04:48 +05:30
Muhsin Shah C P
f215d1df96
App version creation flow enhancement - New released version warning popup - Current version issues (#5947)
* current version issue

* working on modal design

* Added released version popup and shake animation

* refactoring the code

* improved the experience

* extra changes

* css revert

* fix: disable components & properties

* fix: switched released version saving & create version modal input value retain issues

* fix: retained values issues

* fix: edit version modal current name issue
- disabled comment's icon

* override grayed out effect for preview

* fix: text overflow issue

* css fix: overflow

* added check for sub-containers

* fixed and added specs

* UI and UX fixes

* lint fix

* added clearInternal fn

* change:added clearInternal fn

* refactoring the code

* removed the comments

* added some code that were missing after the merge

* fixed merge issues

* fixed undo redo

* reverted the store changes
2023-05-11 12:32:21 +05:30
vjaris42
d7695a6cb9
Adds an entry point to Global datasource page from Query Manager (#6092)
* add: global ds entry point on query panel

* cleanup
2023-05-11 10:57:33 +05:30
Midhun Kumar E
7ed2213d07
Add data-cy for events input fields (#6345) 2023-05-10 18:37:20 +05:30
Shubham Gupta
cfead959dc
Merge pull request #6083 from ToolJet/bugfix/correct_message_row_edit
BugFix: Show correct message on row edit
2023-05-10 18:18:43 +05:30
Shubham Gupta
6e5c2ca7c3
Merge pull request #6128 from ToolJet/bug_fix/handle_eq_with_null
bug-fix: 🐛 - handle when a filter exist for equal & null
2023-05-10 18:18:26 +05:30
Shubham Gupta
a6c655db03
Merge pull request #6247 from eshwarhs/bug/6197-color-difference-in-toggling-icons
Fixed Color Difference In Toggling Icons
2023-05-10 18:18:10 +05:30
Kavin Venkatachalam
6d07cd34cc
Introduced global state management (#5980)
* 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

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Fixed losing events on renaming first query
2023-05-10 15:44:38 +05:30
Manish Kushare
2b5a748682
Upon saving the edited changes in the table, it is not mutating query object (#5784)
* bug fixed: Table edit and save changing the referenced data

* bug fixed : upon changing the data to the Table, component still persists previous data if it has been updated before

* when table is edited, and its reference data is changed, it does not show new data rather persists updated data

* removing unused code

* code refactor

* bug fixed: upon click on save changes,updatedData exposed var is getting reset
2023-05-10 14:53:56 +05:30
Kiran Ashok
f416edb6c2
Bugfix ::Selecting an option in codehinter in popup closes the popup (#6206)
* fix :: codehinter closing in tables event manager

* fix codehinter closing in pages event manager

* feat :: adding check if user has already pinned the popover

* fix :: multiple popover bug in event manager
2023-05-10 13:11:48 +05:30
Kiran Ashok
98eb21110d
Fix :: Additional button is getting added in Button Group component by changing value in labels (#6038)
* fix :: label bug in button group

* code improvement

* fix :: key for map in btn group
2023-05-10 11:37:48 +05:30
Kiran Ashok
4759e282b4
fix :: removing ellipsis in legend labels in chart hover (#6231) 2023-05-10 11:31:32 +05:30
Kiran Ashok
1ae2bfd3d2
Hotfix :: App breaking during version switch (#6262)
* fix :: app crash during version switch

* fix :: queryname not updating for gds
2023-05-10 11:31:18 +05:30
Kiran Ashok
76bd934b60
Bugfix :: Dropdown and multiselect broken in table widget (#6025)
* fix :: bug in select dropdown table

* fix :: multiselect in table dark mode bug
2023-05-10 11:11:00 +05:30