ToolJet/server/data-migrations
Sherfin Shamsudeen b5507b4ac5
Refactor table component (#3933)
* Updated the table UI

* made the search bar in sync with current applied theme in the application

* updated the UI of the table widget

* adjust x axis in the footer

* made the search text vertically center

* Load text color using new api in Table

* Load action buttons data using new api in table

* Revert usage of new api for table actions

* Use new api to load most properties and styles

* Move logic for loading styles and propeties to another file

* Table: Move loading of actions to separate file

* Move functions to expose data to codehinter to Box.jsx

* Table: Get loadingState from new api

* Table: Use reducer for storing table column properties

* Table: minor refactoring on reducer

* Table: Replace the use of internal state variable componentState

* Abstract out Filter as a separate component

* Move table column definitions to a separate file

* Move action column definition to a separate file

* Move IndeterminateCheckbox to a separate file

* Completely remove any requirement of loading from definition inside loadPropertiesAndStyles

* Reduce the use of reducer dispatch calls in Table.jsx

* Remove the usage of __TjDoNotResolve__

* Load actions without new API

* Update migration to make columnSizes follow default format

* Fix migration to restructure table column sizes data

* Do not update columnSizes property if incoming value is empty

* Remove unnecessary code

* Remove unnecessary linting

* Remove unnecessary reducer action

* Remove unnecessary code

* Merge table changeSet data into table details reducer instead of filter reducer

* Make compact and spacious cell sizing work for table

* Remove custom handling of onRowClicked for Table

* Fix issues with table visibility, border radius and disabled state

* Resolve the issue with invalid date crashing the table

* fixes:widget crash is only for those tables which do not have any actions associated with it yet. (#4078)

* Remove unnecessary code

Co-authored-by: Manish Kushare <manish.altcampus@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-09-21 16:23:02 +05:30
..
1625814801430-UpdateDefinitionsForEvents.ts fix lint 2022-07-15 15:17:18 +05:30
1629971478272-UpdateDefinitionsForTableActionEvent.ts fix lint 2022-07-15 15:17:18 +05:30
1630003364070-TurnOnSSLForEveryPostgresDataSource.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1632468258787-PopulateUserGroupsFromOrganizationRoles.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1633370361564-SetShowBulkSelectorToTrue.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1633431766605-SetHighlightSelectedRowToFalseForExistingTables.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1634729050892-BackfillAppCreateAndAppDeletePermissionsAsTruthyForAdminGroup.ts fix lint 2022-07-15 15:17:18 +05:30
1634848932643-SetTableCellSpacingToCompact.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1636372753632-RebaseWidgetWidthAndLeftOffsetForResponsiveCanvas.ts fix lint 2022-07-15 15:17:18 +05:30
1636609569079-BackfillFolderCreatePermissionsAsTruthyForAdminGroup.ts fix lint 2022-07-15 15:17:18 +05:30
1638255797809-SetLoadingStateToFalseForExistingTables.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1638796825499-BackfillFolderCreatePermissionsAsTruthyForMissedAdminGroup.ts fix lint 2022-07-15 15:17:18 +05:30
1638941376844-SetMultiselectProperties.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1639038616546-UpdateDefinitionsForGlobalSettings.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1639734070615-BackfillDataSourcesAndQueriesForAppVersions.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1640683693031-BackfillCalendarWeekDateFormat.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1641446596775-SetImageBorderTypeToNone.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1644229722021-SetFxActiveToTrueForFxFieldsConvertedToUI.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1650485473528-PopulateSSOConfigs.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1651820577708-PopulateTextSize.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1653472569828-addedInstructionTextPropInFilePickerWidget.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1653474337657-BackfillFolderDeleteFolderUpdatePermissionsAsTruthyForAdminGroup.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1654150855780-BackfillAddOrgEnvironmentVariablesGroupPermissions.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1654596810662-ConvertAllUserEmailsToLowercaseAndDeleteDuplicateUsers.ts fix lint 2022-07-15 15:17:18 +05:30
1655279771926-listViewWidgetAddingBorderRadiusProperty.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1656061763136-modal-properties.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
1656924847186-addingCssPropsToTextWidget.ts move data migration to respective folder (#3911) 2022-09-01 12:39:30 +05:30
1661331234770-RestructureTableColumnSizesAndActionsToHaveAValueKeyThatPointsToItsContents.ts Refactor table component (#3933) 2022-09-21 16:23:02 +05:30
LockMigrationsTable1.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30
LockMigrationsTable2.ts Hotfix: Split data and db migrations (#3610) 2022-07-14 14:03:21 +05:30