ToolJet/frontend/src/Editor/Components
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
..
BoundedBox fix: render menu portal on document to avoid it getting affected by selecto click 2023-12-29 11:55:15 +05:30
CustomComponent refactor: removed unused dead codes 2024-03-11 14:21:23 +05:30
Form Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Kanban refactor: removed unused dead codes 2024-03-11 14:21:23 +05:30
KanbanBoard Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Map Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-04-24 13:17:50 +05:30
QrScanner Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
StarRating Feature :: Form widget with JSON input (#6787) 2023-07-03 16:19:33 +05:30
Table Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Button.jsx fixes: button crash 2024-05-24 14:20:20 +05:30
ButtonGroup.jsx Feature :: Exposing CSA for child widgets of form and listview (#7142) 2023-09-01 13:55:03 +05:30
Calendar.jsx Release : Appbuilder - appdefinition architecture revamp (#7448) 2023-11-08 11:09:47 +05:30
CalendarPopover.jsx refactor: removed unused dead codes 2024-03-11 14:21:23 +05:30
Chart.jsx Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Checkbox.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
CirularProgressbar.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
CodeEditor.jsx fix: codeeditor component is crashing after entering a value and resized the component 2024-05-16 13:22:40 +05:30
ColorPicker.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
Container.jsx [wip] appbuilder - performance (#9216) 2024-04-05 15:19:05 +05:30
Datepicker.jsx fix : datepicker inside container losing visibility on hover of container 2024-05-10 17:14:33 +05:30
DaterangePicker.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Divider.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
DraftEditor.jsx Fixes rich text editor select heading re-direct to dashboard (#4487) 2022-10-24 23:31:16 +05:30
DropDown.jsx Form CSA not working as expected (#9822) 2024-05-24 16:53:30 +05:30
FilePicker.jsx Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Html.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Icon.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
IFrame.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Image.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Link.jsx Feature :: Exposing CSA for child widgets of form and listview (#7142) 2023-09-01 13:55:03 +05:30
Listview.jsx Performance release 0.1 (#9922) 2024-06-19 14:36:09 +05:30
Modal.jsx Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-04-30 10:34:40 +05:30
Multiselect.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
NumberInput.jsx Form CSA not working as expected (#9822) 2024-05-24 16:53:30 +05:30
numberinput.scss test: Add automation for text-input revamp. (#8671) 2024-02-06 10:27:31 +05:30
Pagination.jsx fix :Pagination component overflowing out of box (#9024) 2024-04-19 18:10:15 +05:30
PasswordInput.jsx Form CSA not working as expected (#9822) 2024-05-24 16:53:30 +05:30
PDF.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
RadioButton.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
RangeSlider.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
RichTextEditor.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Spinner.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Statistics.jsx Feat :: Editor UI revamp (#7275) 2023-09-04 13:30:39 +05:30
Steps.jsx Feature :: Exposing CSA for child widgets of form and listview (#7142) 2023-09-01 13:55:03 +05:30
SvgImage.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
tableUtils.js Table column redesign demo (#8442) 2024-04-19 17:22:06 +05:30
Tabs.jsx fix: darkMode issue on tab component 2024-05-16 12:37:14 +05:30
Tags.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Text.jsx Table column redesign demo (#8442) 2024-04-19 17:22:06 +05:30
text.scss fix: Add scroll on hoverin text component (#8785) 2024-02-14 22:22:52 +05:30
TextArea.jsx Feat :: Reducing no of rerenders due to exposed variables (#7473) 2023-12-11 15:11:00 +05:30
TextInput.jsx Form CSA not working as expected (#9822) 2024-05-24 16:53:30 +05:30
Timeline.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
Timer.jsx fixes linting issues 2023-07-04 03:44:57 +05:30
Toggle.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30
TreeSelect.jsx hotfix: Checked items not getting exposed in treeselect component (#8890) 2024-02-22 16:53:14 +05:30
verticalDivider.jsx Bugfix :: Box shadow is getting applied to the surrounding box (#6802) 2023-06-29 15:14:05 +05:30