Commit graph

7423 commits

Author SHA1 Message Date
kriks7iitk
d9ecd52bcb Bugs fixes 2024-07-11 16:10:19 +05:30
kriks7iitk
7aae48ad7c invite flox fixes 2024-07-11 14:35:14 +05:30
kriks7iitk
5bfc337369 selected users design changes 2024-07-11 11:51:19 +05:30
kriks7iitk
1c20bb30fe design issue 2024-07-11 11:48:29 +05:30
kriks7iitk
d9cc52a3e5 Deleted migeations from table migrations 2024-07-11 11:37:22 +05:30
kriks7iitk
3de36e0633 Merge branch 'group-revamp-fix_krit' of github.com:ToolJet/ToolJet into group-revamp-fix_krit 2024-07-11 11:24:21 +05:30
kriks7iitk
4b39935233 Merged woht merge branch 2024-07-11 11:23:30 +05:30
kriks7iitk
ef2c8b7f13 moves migration to data migrations 2024-07-11 11:15:22 +05:30
Rudra
21ae801c00 rudra bug fixes-2 2024-07-10 18:22:50 +05:30
Rudra
aa7ee05f4a buG fixes 2024-07-10 18:16:22 +05:30
kriks7iitk
7a25f4a5c4 Merge group revamp 2024-07-10 13:48:26 +05:30
Rudra
c57cbafb9d UI fixes 2024-07-10 11:51:46 +05:30
Rudra
523d0e3737 uI changes 2024-07-10 11:04:33 +05:30
kriks7iitk
504713ba03 Disable custom for end user 2024-07-09 14:55:13 +05:30
kriks7iitk
d8fbf7ce5e Removed depreciated code 2024-07-09 14:29:54 +05:30
kriks7iitk
fa203bbf2d Migration developer testing 2024-07-09 13:52:10 +05:30
kriks7iitk
2bc01dfc55 Migration fix for custom groups 2024-07-09 12:57:45 +05:30
kriks7iitk
a95253153b fixed design issue 2024-07-09 12:24:42 +05:30
kriks7iitk
36b5f09c55 Fixed mihrations 2024-07-09 11:34:19 +05:30
kriks7iitk
125be1a9a3 Added migration 2024-07-09 10:06:09 +05:30
kriks7iitk
8426e2248e Modify bulk upload, inspector and design fix 2024-07-07 13:59:29 +05:30
kriks7iitk
41b0c6c1b6 Merge and design fix 2024-07-05 11:50:24 +05:30
kriks7iitk
4af13effc3 design fix 2024-07-05 09:56:32 +05:30
Rudra
4b8b1ffa58 UI fixes 2024-07-02 15:50:55 +05:30
Johnson Cherian
3169d38d63
Release: Appbuilder S1 (#10081)
* fix : color for all new columns

* revert

* Fix: selection of copy of selected component for ease (#9818)

* fix: selection of copy of selected component for ease

* add pre selection for clonig as well

* add clone check

* fixes selection of components on empty canvas

* Fix: sizing issues in horizontal divider (#9942)

* fix horizontal divider sizing issues

* fix dark mode color in horizontal divider and remove unused class

* add custom fallback for images when not found (#9943)

* cherry pick error message log changes and fix tjdb error logs in debugger (#9951)

* Fix: mouse release on canvas when properties/styles values selected (#9732)

* fix: mouse release on canvas when properties/styles values selected

* fix: event name

* fix: rest api headers empty state while creating new query (#9729)

* fix: selection issue in table row while editing  (#9944)

* allow selection in table cell

* update classname for selection

* display date picker date as text instead of input in read only mode

* Add new revamped multiselect widget (#9837)

* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* fix :: added loader

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* fixes

* added option to add icon color

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* fix :: password input

* cleanup and fixes

* fixes

* cleanup

* fixes

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* feat :: toggle switch revamp

* init checkbox

* fixes

* fixes

* switch fixes

* validation fix

* fixes

* cleanup

* height fix

* fix height toggle

* updates

* fix :: icons position

* updates

* cleanup

* updates events , csa

* cleanup

* backward compatibility

* clean

* backward compatibility fix

* label fixed to one line

* feat :: change validation from properties

* ui fixes

* icon name

* removed 'px' text from tooltip

* added onchange event for checkbox

* fixes placeholder

* few updates :: removing label in form

* ui in form

* fire onchange

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* fix

* label issue + restricted side handler

* fix :: box shadow bug

* fix

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* update tooltip

* fix toggle switch

* fixes : inspector

* fix : checkbox label

* Remove date-fns depedency from table datepicker

* Revert Remove date-fns depedency from table datepicker

* feat : checkbox completed

* update checkbox review changes

* feat : toggle component

* feat : added new toggle component

* fix : colors

* updated review changes

* update name for old and new version

* update

* case change

* update

* update icon

* removed padding from checkbox and toggle

* fix naming

* product review and bugfixes : changes

* fix : checkbox setvalue action

* Update setvalue action in toggle

* fixed: section for legacy and new components

* add new version of dropdown

* Add same styles as other input components

* fix height issues

* Add new revamped multiselect widget

* Fix design review

* fix design issues

* Fix

* Fix merge issues

* Add menu portal target

* resolve code comments

* widget config changes

* add hover for clear icon

* fix

* Fix review comments

* Multiselect changes after dropdown merge

* exposed variables

* Delete unused components

* Multiselect fixes

* Dropdown CSS fixes and multiselect fixes

* Fix merge issues

* fix

* Add highlight text

* Change multiselect UI

* fix error message

* fix multiselect opening closing

* placeholder fix

* fix highlighting in multiselect

* fix : testing bugs

* fix : default value

* Fix merge issues

* Fix Qa bugs

* Fix QA bugs

* Fix codehinter default values

* fix fireEvent on focus

* Fixes

* Provide minwidth to dropdown and multiselect

* Fix search input value not getting updated

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* Fix: remove mandatory key from password input (#9786)

* Remove date-fns depedency from table datepicker

* Revert Remove date-fns depedency from table datepicker

* remove mandatory key from password input

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* feat : Query manager separated to different tabs (#9823)

* change toggle for query manager and revamp preview

* feat : query manger body revamp

* updates

* fix : tranformation switch

* preview integration

* loader safari changes and overflow fix

* fix

* fix : settings tab QM

* revert few changes to fix datasources page

* revert header options change

* zindex fix for query-pane

* fix : events ui

* fix :events widget manager

* code optimised for this file

* QM header fixes

* dark mode changes

* fix : info icon

* open preview drawer on run query

* fix : query manager query section icons update

* update color

* design feedbacks and make preview panel resizable

* update toggle for preview result & increate draggable area

* fix :review changes

* merge fixes

* Merge branch 'appbuilder-1.8' into feature/query-manager-body

* fix : codehinter in disabled state

* ui fix

* code refactor

* cleanup

* fix fontsize in datasource selector popup

* fix border issue in preview container and increase draggable area

* fix : review fixes

* fix: fixed text css formatting for safari support

* Revert "code refactor"

This reverts commit 4763dd11a3.

* typo

* fix : not able to select text in preview

* fix : not able to view add params

* fix selection issue in preview

* fix : add scroll in query  manager when preview is blocking view

---------

Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>

* Fixes: select all click behaviour on label (#10108)

* fixes: select all click behaviour on label

* fix: legacy component names

* fix: selecto issue (#10107)

* Fix : Prevent component autofill (#10040)

* fix : prevent other component from autofilling data when password is filled from browser suggestions

* optimise

* feat: skip onDragStop execution if drag event is empty (#10118)

* feat: skip onDragStop execution if drag event is empty

* fix: added additonal logs for  error

* display query preview data in preview panel and display transformation failure stacktrace data in previewpanel as well (#10129)

* Fix while adding new rows in table components when ever entered the text and pressed enter it doubles the text (#10112)

* Integration bugfixes appbuilder 1.8 (#10109)

* fix : query maanager duplicate and preview issue

* fix : multiselect breaking on making dynamic options null

* fix : preview and query panel integration bugs

* fix : placeholder

* fix : doc links

* fix : scroll in TJDB filter section

* fix : portal for multiselect

* fixes

* fix : image column table alignment

* fix : doc link for multiselect

* fix : codehinter state being persited across components

* fix :export app qery manager items not coming in correct order

* fix: search icon position

* code refactor

---------

Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* add z-index to app name info header container (#10116)

* Fix dropdown and multiselect crash on integer labels (#10128)

* cast integer labels to string

* add null check for label and provide default value for empty labels

* empty and null handle for schemas and other values

* revert changes

* Fix: dark mode on preview names (#10136)

* fix: dark mode of preview names

* fix background color of preview

* fix tjdb query import (#10134)

* fix :revert radio button name change (#10153)

* Fix: select issue on multiselect (#10137)

* remove portal from multiselect

* fix: dynamic values for options in dropdown/multiselect

* remove fx from default option

* Fix: delete on options delete in dropdown (#10192)

* fix: delete on options delete

* fix: overlapping of multiselect on parent container

* fix: outside click of multiselect

* hotfix : Table breaking on importing older apps with null value in column (#10185)

* fix : table breaking on importing older apps with null value in column

* fix : table crash , codehinter not saving values upon page change

* remove low priority wrapper from autosave

* remove logs

* added delay to autosave as callback

* fix: dropdown crash on invalid data (#10202)

* revert to previous transformation code , fix darkmode color (#10216)

* fix : doclink for dropdown (#10217)

* fix : Transformations value getting cleared / not getting saved (#10218)

* fix : transformation value not getting saved

* remove dependency

* chore: version update for release

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: vjaris42 <vjy239@gmail.com>
Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-07-01 08:46:22 +05:30
kriks7iitk
9c57ccda8a Added design fix phase 2 2024-06-28 13:49:03 +05:30
Kavin Venkatachalam
17dc2cc9a3
Merge pull request #10201 from ToolJet/perf/0.1
release : Performance release 0.1
2024-06-28 11:57:17 +05:30
kriks7iitk
b3f1f1c857 1st round design fix 2024-06-28 02:24:00 +05:30
Kavin Venkatachalam
b92a4fc371 hotfix LTS: Fix for duplicating the components (#10208)
* fix: while duplicating the component, the component ID was sent to BE instead of entity ID

* Fixes: page duplication entity mappings
- On page duplication, after cloning of components and mapping to respectived ids, the references used inside the the new/cloned components's definition needs to be updated

* fixes: component crash on page deletion

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-06-27 18:02:00 +05:30
Kavin Venkatachalam
ca5df2ebe2 Merge branch 'main' of https://github.com/ToolJet/ToolJet into perf/0.1 2024-06-27 11:41:33 +05:30
Midhun G S
f77bf00a9d
bump version (#10206) 2024-06-27 11:12:42 +05:30
Midhun G S
0ca40bc52e
Merge pull request #10114 from ToolJet/release/platformv18
Release Platform v18
2024-06-27 11:10:07 +05:30
gsmithun4
b54c4054f9 lint fixes 2024-06-27 11:08:45 +05:30
Ajith KV
159e44a81d
Cypress fix platform v18 (#10195)
* Fix cypress test cases

* Update password helper text

* Add import export test cases
2024-06-27 10:51:46 +05:30
Kavin Venkatachalam
7aa656169f Merge branch 'lts-2.50' into perf/0.1 2024-06-26 16:46:08 +05:30
Kavin Venkatachalam
6fc796e454
fix: actions with debounce are not working (#10196) 2024-06-26 16:05:37 +05:30
Kavin Venkatachalam
7a6f12473c
LTS - hotfix: Fix for canvas background color & reserved keyword (#10171)
* fix: update canvas background color to default when the linked component is deleted

* chore: version bump

* Fix: Update keyword validation to handle reserved keywords accurately

- Refined validation logic to handle reserved keywords, ensuring that compound identifiers are not incorrectly flagged.
- Improved checks to allow valid code patterns like 'window.location.href' while blocking invalid usage of 'window'.
- Addressed all known cases, including those causing app or component crashes and previously non-working cases.
- Enhanced handling for both multiline and single line code validation.

* chore: removed console.log

* fixes: table actions events - with multiple events only the last event created was triggered

* fixes: returning circular deps crashes the app

* fix: added a debounce changes

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-06-26 15:04:46 +05:30
Rudhra Deep Biswas
3a5cad0c6a
error object fix (#10189) 2024-06-26 14:47:37 +05:30
Rudhra Deep Biswas
2a5e87f4b0
changes from community prs (#10133)
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2024-06-26 12:39:35 +05:30
Rudhra Deep Biswas
bcf616a6ec
platform release 18 bug fixes (#10156)
* platform release 18 bug fixes

* styling

* review fixes

* notification box and button align

* review fixes
2024-06-26 11:44:09 +05:30
Rudhra Deep Biswas
b9c1682af3
app viewer fixes (#10173) 2024-06-26 11:43:19 +05:30
kriks7iitk
ad29c98e48 Design fix for user group 2024-06-26 10:36:58 +05:30
Anantshree Chandola
4a518d76b8
fix (#10172) 2024-06-25 16:50:12 +05:30
Rudhra Deep Biswas
bf32784ccc
added conditional checks for toast error messages (#10165) 2024-06-25 12:53:52 +05:30
Arpit
a1b38f4a2f
Hotfix [LTS] - Bugfixes (#10146)
* fixes: child components on listView are not updating correctly

* bumped version

* Special handling for 'window' keyword in multiline code editors

- Updated validation logic to allow 'window.x' while treating standalone 'window' as a reserved keyword.
- Refined keyword matching to ensure keywords are not part of a string or a comment and are exact matches.
- Applied a hotfix to both CE-LTS and the latest non-LTS CE versions, effective by end of day.
- Note: This update is specifically for multiline code editors; single line editors will continue to support 'window.x' or any usage of 'window' as it breaks the app otherwise.

* fixes: update the query refs for failed query

* fixes: on form submit the children's data should be accessable from queries events

* fixes: event execution

* adds a debounce for form reset on submit

* for onPageLoad events, we need to execute the actions after the page is loaded
2024-06-24 20:22:23 +05:30
Arpit
5666442f8f
bumped version to 2.55.6 (#10130) 2024-06-19 14:41:44 +05:30
Kavin Venkatachalam
bdb4706fc1
Performance release 0.1 (#9922)
* chore: moved fetching gds and lds from low priority calls

* Refactor: Optimize state updates by removing component dependencies on current state to avoid trade-offs

* clean up

* run on page queries after on app load queries are done executing
page load queries should be triggered even if the one or all the app load queries fails

* performance improvements:
- reduced calling resolver functions upto 50% times for components' rendering
- moved to new resolver function for resolving component properties: which 100 times more efficient as utitlises hash table to resolve references and only uses recursive function for resolving JS code by inferring the query
- reduced re-rendering of Box component upto 50-60%
- app load time improved by 30% : as resolver function is more efficient and 50% reduction on rendering of Box.jsx

* chore: removed currentState dependency from SubContainer and QueryManager

* chore: removed useCurrentState from old kanban component

* chore: filtered `false` from componentToRender array to avoid unwanted re-renders when there is an update in a component

* fix: minor improvement on buildAppDef function

* [performance] removes current state dependency from resolvers (#9934)

* Removes current state from function calls of resolver functions

* clean up

* remoes lodash clone deep to more efficient clone deep or copying utitlity method

* ts files to js

* replaced setTimeout to debounce method of lodash for more efficient delayed invocation and yielding mechanism to reschedule large number of tasks

* fixes file path for deepclone method

* fixes import file path for utils helpers

* fixes import file path for utils helpers

* clean up

* fixes: listView's custom resolvers are not getting updated

* chore: moved lastUpdatedRef state from Editor to the subscription of relsoverStore

* fixes: re-rendering of box component for trigger back resolvers

* fix: removing the delay as the runJS updates are not reaching to the components. While start running the query we are updated the componentIds that needs to be rendered. After running the query the same IDs are updated and this is stopping the re-render of the component

* Reverting commit 583460c

* fix: Table search event was not firing while clearing the search input

* fixes: mapping entites on clone page

* commit: Fixed issue on running query on app load with confirmation

* fix: we're mutating the data and which avoids the re-render to update the canvas bg colour. Added a deepClone to avoid it

* Bugfix - perf mapping (#10101)

* fixes: entity for compnent or query duplications with events

* maxDisplayLength for hinter's preview

* clean up

* fix: when multiple components are deleted, the codehinter has the deleted component as suggestion

* fixes: on typing fast the cursor postion changes its postion to first char of the line in multiline JS

* trial

* fix: moved currentValue state of codemirror to ref

* fix: the passed value to the codehinter was not updated properly

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* fixes: evaluatin js code in codehinters with reserveed keyword

* fixes: reserved keywords string should be resolved and updated in the compnent

* re-rendering of componenrs in viewer

* fixes: resolving of refs

* added a timeout for filepicker

* removes 100s

* filepicker crashes (component) crash on page deleting

* fixes: app crash on adding file events

* fixes: hinter suggestions selection by keyboard

* [chore]: Show proper error message instead of app could not save (#10126)

* chore: show error message from BE instead of app could not save

* Added a fallback value

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-06-19 14:36:09 +05:30
Muhsin Shah C P
707dbcb606
Updated workspace signup flow & fixes (#9893)
* Added a fix for the blank page of the app url if the user is redirected from the invitation page

* Added workspace signup changes

* fix: could able to access sso only enabled workspace if switch b/w workspace after the flow completed

* fix: Getting something went wrong error when personal workspace is disabled

* Fix: logging with super-admin creds while ongoing session of another user making issue for a workspace switch

* fix: Resend workspace signup email is not working

* Added new changes to the resend-invite API

* Updating the source to invite while unarchiving the user

* Added forgot password fix (#447)

* Fixed import errors

* fixed invite flow sso error fallBack flow

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2024-06-18 15:09:54 +05:30
Anantshree Chandola
f2a733651e
Conflict resolution white labels (#9970)
* resolve issues related to conflicts in white labels

* add compute color

* updates

* update
2024-06-18 15:08:20 +05:30
Rudhra Deep Biswas
09768b9daf
Added variable background colors to platform bg and navbar (#10072)
* Added variable background colors

* db navbar and select color changes

* fix : editor left sidebar color

* removed imports and added marketplace bg

* import and typo

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2024-06-18 14:57:54 +05:30