ToolJet/frontend/src/Editor/WidgetManager.jsx

170 lines
6 KiB
React
Raw Normal View History

2021-05-15 07:59:11 +00:00
import React, { useState } from 'react';
import { DraggableBox } from './DraggableBox';
import Fuse from 'fuse.js';
import { isEmpty } from 'lodash';
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
import { useTranslation } from 'react-i18next';
import { useAppVersionStore } from '@/_stores/appVersionStore';
import { shallow } from 'zustand/shallow';
Feat :: Editor UI revamp (#7275) * temp commit :: editor redesign * fix :: components panel ui * style updates * fix :: arrangement widget list * fix :: light mode widget list * style fixes query manager * updates * updates heaer styles * global settings fix * left sidebar states and icon change * cleanup * minor fixes :: review * fix opacity mode toggle * detailing in hover states , bugfixes * fix :: coloring whole app , debugger ui * cleanup * fix :: revert some changes , fix statistics widget * feat :: navbar with new layout * fix :: lint warnings * cleanup * cleanup * minor fixes * fix :: reusing serchbox * removed unwanted prop * Revert "cleanup" This reverts commit b18abe19fbd82246611153634c79934ad9012101. * fix :: icons sidebar * fix :: padding searchbar * style fix * radix :: dark theme for portals * fix :: icon styles * fix :: all codehinter styles * update :: base bg color app * fix :: viewer color * minor fixes :: icon left sidebar * typo * fix :: styling save message header * icon :: fix for layout and inspector queries * fix :: canvas and editor bg * fix :: release btn style * fix :: navbar border * undo redo tooltip * fix :: page input * remove released btn icon * fix :: for icon not loading proper in inspector * fix :: dark mode toggle icon size * fix :: share app ui * fix :: style fixes , inspector runpy icon * fix :: ui runpy codehinter * fix :: inputs in gds connection * cleanup * fix :: copilot codehinter ui * fix :: share modal button * fix :: canvas bg text * style fix debugger * fix :: whole dahsboard layout and border for all codehinters * fix :: icon fills * fix :: icon fill color sidebar * darkmode fill color * minor style fix * Widget inspector redesign (#7355) * Setup Storybook * Update storybook config * Add tab and toggle group component * Created list component * Properties tab * update codehinter dropdown components * Refactor styling * Inspector header changes * Fix es lint issue * Fix * feat :: styling color picker styles panel * Fix color picker alignment * feat :: remove alpha * Fix UI bugs * fix :: color picker * Ui fix * Backward compatible pagination changes * fix * Feedback changes * UI feedback * Check fix * Fix * fix :: canvas bg popover * Styles fix * Fix conflct issues * minor style fix style tab * Fix * review comments fix :: hovering in color picker * Code review and design feedback * UI feedback * Fix UI styles * Fix pagination issue * fix :: dark mode issues in select , number input * fix :: remove extra boreder * fix :: table column popover ui and component popover inspector * fix :: datepickre input table column * fix :: colopicker in table column inspector * fix :: link column type ui in table * fix :: column delete ui and delete not triggering * Fix list item not dragging * fix :: closing of popover on link column select * style fix table popover * Pass dark mode to Event manager button * fix :: ux event manager * cleanup * cleanup * fix :: delete page modal ui --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * style fixes --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
2023-09-04 08:00:39 +00:00
import { SearchBox } from '@/_components';
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 4763dd11a31f327e41b411b43f39cb422ee34674. * 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 03:16:22 +00:00
import { LEGACY_ITEMS } from './WidgetManager/constants';
2021-05-15 07:59:11 +00:00
export const WidgetManager = function WidgetManager({ componentTypes, zoomLevel, darkMode, disabled }) {
const [filteredComponents, setFilteredComponents] = useState(componentTypes);
const [searchQuery, setSearchQuery] = useState('');
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
const { t } = useTranslation();
const { isVersionReleased } = useAppVersionStore(
(state) => ({
isVersionReleased: state.isVersionReleased,
}),
shallow
);
function handleSearchQueryChange(e) {
const { value } = e.target;
setSearchQuery(value);
filterComponents(value);
}
2021-05-15 07:59:11 +00:00
function filterComponents(value) {
if (value !== '') {
Release: Appbuilder 1.7 (#9875) * Remove date-fns depedency from table datepicker * Revert Remove date-fns depedency from table datepicker * Fix Built with Tooljet" watermark and app mode switcher appear briefly before the correct login page loads. (#9545) * fix: headers and action button UI on table (#9626) * fix: delete all children and nested children on component delete (#9182) * fix: delete all children and nested children on component delete * refactor: removed duplicate logics * refactor: reuse functions and remove duplicate functions * fix: update parentid of kanban modal child on version creation * fix: add kanban modal children to delete list * Fix duplicate text appearing at the bottom from the previous page in PDF widget (#9567) * chore: fixed vulnerability issues on FE (#9561) Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: Removed unused packages in FE (#9161) * Removed unused packages * Remove date-fns dependency drom table date picker (#9585) --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 (#9651) * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 * remove console logs * Add support to add Manual date entry in Datepicker table column (#9631) * Removed unused packages * Add Manual date entry in Datepicker table column * Remove date-fns dependency drom table date picker (#9585) * fix date input issue * Remove consoles --------- Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * Feature: pages sidebar collapsable and pin functionality in preview/release mode (#9650) * add: pin and collapsable functionality to pages sidebar * fix: review changes * fix: canvas auto update width on sidebar toggle * fix icon size * Add support to wrap table's column header (#9565) * Add support to wrap table's column header * Resolve code comments * commit * fix: resize page width on window resize (#9164) * feat: Button component revamp (#8361) * 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 * button component revamped * fix :: csa * typo fix * typo * fix :: styling * exposed variables * fix padding * review fixes styles component panel * fix naming * fix padding * default size * fix :: icons position * updates * cleanup * updates events , csa * cleanup * remove border * backward compatibility * clean * feat :: change validation from properties * ui fixes * icon name * disabled state * removed 'px' text from tooltip * fixes placeholder * few updates :: removing label in form * ui in form * 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 * 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 * merge fixes * fix * updates * removing unwanted migrations * fix: box shadow * fix : import export issues * fix : colouring * cleanup * fixes * fix : design review comments * add border color * fix : review changes * fix * change display name to solid * fix label * fix : loader issue * fix : button icon position * fix : qa bugs * feat: Checkbox + Toggle revamp (#8519) * 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 * 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 * fix : checkbox tick mark not showing on resizing * fix : icon in inspector * fix : box shadow * fix : ismandatory definition * configs update --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * fix : toggle switch import and switch component issues (#9874) * fix : filter order of toggle (#9879) * fix: appbuilder 1.7 integration testing bug fixes (#9880) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Bugfixes componentes 1.7 (#9892) * fix : filter order of toggle (#9879) * fix : Button alignment when label is empty * fix : box shadow added * fix : direction and default box shadow * fix : disable csa not working for checkbox * fix : button padding * added toggle for box shadow check * fixes : integration 1.7 (#9901) * fix : exposed vars not getting exposed on page change * fix : validation error font * fix : dynamic color for button * fix : loading placement during CSA * Move disabled, visibility, tooltip and box shadow to properties in Checkbox and Button (#9665) * 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 * Move disabled, visibility, tooltip and box shadow to properties * Remove toggleswitch and button * Add down rollbackUpdates * fix : filter order of toggle (#9879) * fix merge issue * fix --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * fix: use onMouseOver and onMouseLeave together to fix hover event * fix : Validation message to be shown only when use toggles on and off , code refactor (#9905) * Fix naming logic for copying (#9909) --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com> * fix: update animateTransform for cross browser compatibility (#9917) * fix: color transitions on sidebar pages in dark mode (#9920) * Fix table all column editable (#9921) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Fix allColumns editable in Table * Fix clientServer nor working in Table * In widget config, update the total records as 10 --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: bump minor version --------- Co-authored-by: Nakul Nagargade <nakul@tooljet.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: vjaris42 <vjy239@gmail.com> Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com> Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2024-05-30 12:42:10 +00:00
const fuse = new Fuse(componentTypes, {
keys: ['displayName'],
shouldSort: true,
threshold: 0.4,
});
const results = fuse.search(value);
Release: Appbuilder 1.7 (#9875) * Remove date-fns depedency from table datepicker * Revert Remove date-fns depedency from table datepicker * Fix Built with Tooljet" watermark and app mode switcher appear briefly before the correct login page loads. (#9545) * fix: headers and action button UI on table (#9626) * fix: delete all children and nested children on component delete (#9182) * fix: delete all children and nested children on component delete * refactor: removed duplicate logics * refactor: reuse functions and remove duplicate functions * fix: update parentid of kanban modal child on version creation * fix: add kanban modal children to delete list * Fix duplicate text appearing at the bottom from the previous page in PDF widget (#9567) * chore: fixed vulnerability issues on FE (#9561) Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: Removed unused packages in FE (#9161) * Removed unused packages * Remove date-fns dependency drom table date picker (#9585) --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 (#9651) * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 * remove console logs * Add support to add Manual date entry in Datepicker table column (#9631) * Removed unused packages * Add Manual date entry in Datepicker table column * Remove date-fns dependency drom table date picker (#9585) * fix date input issue * Remove consoles --------- Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * Feature: pages sidebar collapsable and pin functionality in preview/release mode (#9650) * add: pin and collapsable functionality to pages sidebar * fix: review changes * fix: canvas auto update width on sidebar toggle * fix icon size * Add support to wrap table's column header (#9565) * Add support to wrap table's column header * Resolve code comments * commit * fix: resize page width on window resize (#9164) * feat: Button component revamp (#8361) * 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 * button component revamped * fix :: csa * typo fix * typo * fix :: styling * exposed variables * fix padding * review fixes styles component panel * fix naming * fix padding * default size * fix :: icons position * updates * cleanup * updates events , csa * cleanup * remove border * backward compatibility * clean * feat :: change validation from properties * ui fixes * icon name * disabled state * removed 'px' text from tooltip * fixes placeholder * few updates :: removing label in form * ui in form * 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 * 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 * merge fixes * fix * updates * removing unwanted migrations * fix: box shadow * fix : import export issues * fix : colouring * cleanup * fixes * fix : design review comments * add border color * fix : review changes * fix * change display name to solid * fix label * fix : loader issue * fix : button icon position * fix : qa bugs * feat: Checkbox + Toggle revamp (#8519) * 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 * 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 * fix : checkbox tick mark not showing on resizing * fix : icon in inspector * fix : box shadow * fix : ismandatory definition * configs update --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * fix : toggle switch import and switch component issues (#9874) * fix : filter order of toggle (#9879) * fix: appbuilder 1.7 integration testing bug fixes (#9880) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Bugfixes componentes 1.7 (#9892) * fix : filter order of toggle (#9879) * fix : Button alignment when label is empty * fix : box shadow added * fix : direction and default box shadow * fix : disable csa not working for checkbox * fix : button padding * added toggle for box shadow check * fixes : integration 1.7 (#9901) * fix : exposed vars not getting exposed on page change * fix : validation error font * fix : dynamic color for button * fix : loading placement during CSA * Move disabled, visibility, tooltip and box shadow to properties in Checkbox and Button (#9665) * 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 * Move disabled, visibility, tooltip and box shadow to properties * Remove toggleswitch and button * Add down rollbackUpdates * fix : filter order of toggle (#9879) * fix merge issue * fix --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * fix: use onMouseOver and onMouseLeave together to fix hover event * fix : Validation message to be shown only when use toggles on and off , code refactor (#9905) * Fix naming logic for copying (#9909) --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com> * fix: update animateTransform for cross browser compatibility (#9917) * fix: color transitions on sidebar pages in dark mode (#9920) * Fix table all column editable (#9921) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Fix allColumns editable in Table * Fix clientServer nor working in Table * In widget config, update the total records as 10 --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: bump minor version --------- Co-authored-by: Nakul Nagargade <nakul@tooljet.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: vjaris42 <vjy239@gmail.com> Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com> Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2024-05-30 12:42:10 +00:00
// Find the indices of ToggleSwitchLegacy and ToggleSwitch
const legacyIndex = componentTypes.findIndex((component) => component?.name === 'ToggleSwitchLegacy');
const toggleIndex = componentTypes.findIndex((component) => component?.name === 'ToggleSwitch');
// Swap the indices (if both are found)
if (legacyIndex !== -1 && toggleIndex !== -1) {
[componentTypes[legacyIndex], componentTypes[toggleIndex]] = [
componentTypes[toggleIndex],
componentTypes[legacyIndex],
];
}
setFilteredComponents(results.map((result) => result.item));
} else {
setFilteredComponents(componentTypes);
2021-05-15 07:59:11 +00:00
}
}
function renderComponentCard(component, index) {
return <DraggableBox key={index} index={index} component={component} zoomLevel={zoomLevel} />;
}
function renderList(header, items) {
if (isEmpty(items)) return null;
return (
Feat :: Editor UI revamp (#7275) * temp commit :: editor redesign * fix :: components panel ui * style updates * fix :: arrangement widget list * fix :: light mode widget list * style fixes query manager * updates * updates heaer styles * global settings fix * left sidebar states and icon change * cleanup * minor fixes :: review * fix opacity mode toggle * detailing in hover states , bugfixes * fix :: coloring whole app , debugger ui * cleanup * fix :: revert some changes , fix statistics widget * feat :: navbar with new layout * fix :: lint warnings * cleanup * cleanup * minor fixes * fix :: reusing serchbox * removed unwanted prop * Revert "cleanup" This reverts commit b18abe19fbd82246611153634c79934ad9012101. * fix :: icons sidebar * fix :: padding searchbar * style fix * radix :: dark theme for portals * fix :: icon styles * fix :: all codehinter styles * update :: base bg color app * fix :: viewer color * minor fixes :: icon left sidebar * typo * fix :: styling save message header * icon :: fix for layout and inspector queries * fix :: canvas and editor bg * fix :: release btn style * fix :: navbar border * undo redo tooltip * fix :: page input * remove released btn icon * fix :: for icon not loading proper in inspector * fix :: dark mode toggle icon size * fix :: share app ui * fix :: style fixes , inspector runpy icon * fix :: ui runpy codehinter * fix :: inputs in gds connection * cleanup * fix :: copilot codehinter ui * fix :: share modal button * fix :: canvas bg text * style fix debugger * fix :: whole dahsboard layout and border for all codehinters * fix :: icon fills * fix :: icon fill color sidebar * darkmode fill color * minor style fix * Widget inspector redesign (#7355) * Setup Storybook * Update storybook config * Add tab and toggle group component * Created list component * Properties tab * update codehinter dropdown components * Refactor styling * Inspector header changes * Fix es lint issue * Fix * feat :: styling color picker styles panel * Fix color picker alignment * feat :: remove alpha * Fix UI bugs * fix :: color picker * Ui fix * Backward compatible pagination changes * fix * Feedback changes * UI feedback * Check fix * Fix * fix :: canvas bg popover * Styles fix * Fix conflct issues * minor style fix style tab * Fix * review comments fix :: hovering in color picker * Code review and design feedback * UI feedback * Fix UI styles * Fix pagination issue * fix :: dark mode issues in select , number input * fix :: remove extra boreder * fix :: table column popover ui and component popover inspector * fix :: datepickre input table column * fix :: colopicker in table column inspector * fix :: link column type ui in table * fix :: column delete ui and delete not triggering * Fix list item not dragging * fix :: closing of popover on link column select * style fix table popover * Pass dark mode to Event manager button * fix :: ux event manager * cleanup * cleanup * fix :: delete page modal ui --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * style fixes --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
2023-09-04 08:00:39 +00:00
<div className="component-card-group-container">
<span className="widget-header">{header}</span>
<div className="component-card-group-wrapper">
{items.map((component, i) => renderComponentCard(component, i))}
</div>
</div>
);
}
function segregateSections() {
if (filteredComponents.length === 0) {
return (
<div className="empty">
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
<p className="empty-title">{t('widgetManager.noResults', 'No results found')}</p>
<p className={`empty-subtitle ${darkMode ? 'text-white-50' : 'text-secondary'}`}>
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
{t(
'widgetManager.tryAdjustingFilterMessage',
"Try adjusting your search or filter to find what you're looking for."
)}
</p>
<button
Feat :: Editor UI revamp (#7275) * temp commit :: editor redesign * fix :: components panel ui * style updates * fix :: arrangement widget list * fix :: light mode widget list * style fixes query manager * updates * updates heaer styles * global settings fix * left sidebar states and icon change * cleanup * minor fixes :: review * fix opacity mode toggle * detailing in hover states , bugfixes * fix :: coloring whole app , debugger ui * cleanup * fix :: revert some changes , fix statistics widget * feat :: navbar with new layout * fix :: lint warnings * cleanup * cleanup * minor fixes * fix :: reusing serchbox * removed unwanted prop * Revert "cleanup" This reverts commit b18abe19fbd82246611153634c79934ad9012101. * fix :: icons sidebar * fix :: padding searchbar * style fix * radix :: dark theme for portals * fix :: icon styles * fix :: all codehinter styles * update :: base bg color app * fix :: viewer color * minor fixes :: icon left sidebar * typo * fix :: styling save message header * icon :: fix for layout and inspector queries * fix :: canvas and editor bg * fix :: release btn style * fix :: navbar border * undo redo tooltip * fix :: page input * remove released btn icon * fix :: for icon not loading proper in inspector * fix :: dark mode toggle icon size * fix :: share app ui * fix :: style fixes , inspector runpy icon * fix :: ui runpy codehinter * fix :: inputs in gds connection * cleanup * fix :: copilot codehinter ui * fix :: share modal button * fix :: canvas bg text * style fix debugger * fix :: whole dahsboard layout and border for all codehinters * fix :: icon fills * fix :: icon fill color sidebar * darkmode fill color * minor style fix * Widget inspector redesign (#7355) * Setup Storybook * Update storybook config * Add tab and toggle group component * Created list component * Properties tab * update codehinter dropdown components * Refactor styling * Inspector header changes * Fix es lint issue * Fix * feat :: styling color picker styles panel * Fix color picker alignment * feat :: remove alpha * Fix UI bugs * fix :: color picker * Ui fix * Backward compatible pagination changes * fix * Feedback changes * UI feedback * Check fix * Fix * fix :: canvas bg popover * Styles fix * Fix conflct issues * minor style fix style tab * Fix * review comments fix :: hovering in color picker * Code review and design feedback * UI feedback * Fix UI styles * Fix pagination issue * fix :: dark mode issues in select , number input * fix :: remove extra boreder * fix :: table column popover ui and component popover inspector * fix :: datepickre input table column * fix :: colopicker in table column inspector * fix :: link column type ui in table * fix :: column delete ui and delete not triggering * Fix list item not dragging * fix :: closing of popover on link column select * style fix table popover * Pass dark mode to Event manager button * fix :: ux event manager * cleanup * cleanup * fix :: delete page modal ui --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * style fixes --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
2023-09-04 08:00:39 +00:00
className=" btn-sm tj-tertiary-btn mt-3"
onClick={() => {
setFilteredComponents(componentTypes);
setSearchQuery('');
}}
>
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
{t('widgetManager.clearQuery', 'clear query')}
</button>
</div>
);
}
[Feature]: Added Localisation (#3746) * Added localisation * Closed modal after language selection * updated transaltaion setup * Updated language tooltip * Added fallback language support * Adding english library resource for translation (#3844) * Adding English dictionary for the widget lists in the inspector * added leftSideBar object in en.json and implemented it for leftSidebar icon text * renamed leftSideBar to leftSidebar and added resources for tip in the left side bar * added english translation resources for leftsidebar debugger * added english language resources for the global settings * added english language resources for data sources in left sidebar * added english language resources for the share button and share modal in the editor * added english language resources for release button, manageOrgUsers, appVersionManager * added english language resources for Queries and Please select a widget to inspect in the editor * added english language resources for data source list , data source manager, and query manager(partially) * added english language resources for queryManager, transformation, preview * added english language resources for dark mode toggle in the headers inside homepage * added fallback message for dark mode toggle * added resources for language change in the headers inside homepage * added resources for notification center in the header inside homepage * added resources for organization and manage users components in header inside homepage * added resources in manageGroupPermission * added resources for manageGroupPermissionsResources component * added resources for manageSSO and generalSettings components * added resources for google sso * added resources for github sso * added resources for environment variables in manageSSO * added resources for profile and setting page * added resources for app card and app card menu * added resources for folder section and app list in homepage * added resources for header section in the homepage * added resources for pagination in homepage * added resources for modals in the homepage * added resources for blank page * added resources for login page * added resources for forgot password page * added resources for sign up page * added resources for onBoarding component * added resources for reset password page * deleted duplicate key for readDocumentation * deleted duplicate key for cancel in en.json and added translation for cancel at few places * removing duplicate copy of save key in en.json * added translation for CommentActions.jsx components * deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys * fix typo errors * fixed typo errors * shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files * shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled * shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink * shorten the key dontHaveAccountYet to dontHaveAccount * shorten keys from loginSignupPage key in en.json * shorten keys of shareModal nested object in en.json * shorten the key in appVersionManager nested object * shorten the keys for queryManager nested object in the en.json * delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables * shorten keys in the organization nested object * shorten keys in the homePage nested object in en.json file * added inspector and eventManager empty object * added resources to RedirectSSO component * added resources for OAuth2 * added resources for TemplateCard.jsx * added resources for TemplateLibraryModal.jsx * added resources for ConfirmationPage.jsx * added resources for ConfirmationPage component * removed translation in App.jsx file * added resources for Slack.jsx * added resources for GoogleSheets.jsx * added resources for CodeBuilder.jsx * added resources for CommentBody and CommentFooter * added resources for TestConnection component * added resources for AllignButton.jsx * added resources for Openapi and Stripe components * added resources for ErrorBoundary * added resources for Viewer.jsx * Translation for widgets, table Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> * Commented Language selection * Fixed typos * Updated fr.json file Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 08:04:49 +00:00
const commonSection = { title: t('widgetManager.commonlyUsed', 'commonly used'), items: [] };
const layoutsSection = { title: t('widgetManager.layouts', 'layouts'), items: [] };
const formSection = { title: t('widgetManager.forms', 'forms'), items: [] };
const integrationSection = { title: t('widgetManager.integrations', 'integrations'), items: [] };
const otherSection = { title: t('widgetManager.others', 'others'), items: [] };
Release: Appbuilder 1.7 (#9875) * Remove date-fns depedency from table datepicker * Revert Remove date-fns depedency from table datepicker * Fix Built with Tooljet" watermark and app mode switcher appear briefly before the correct login page loads. (#9545) * fix: headers and action button UI on table (#9626) * fix: delete all children and nested children on component delete (#9182) * fix: delete all children and nested children on component delete * refactor: removed duplicate logics * refactor: reuse functions and remove duplicate functions * fix: update parentid of kanban modal child on version creation * fix: add kanban modal children to delete list * Fix duplicate text appearing at the bottom from the previous page in PDF widget (#9567) * chore: fixed vulnerability issues on FE (#9561) Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: Removed unused packages in FE (#9161) * Removed unused packages * Remove date-fns dependency drom table date picker (#9585) --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 (#9651) * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 * remove console logs * Add support to add Manual date entry in Datepicker table column (#9631) * Removed unused packages * Add Manual date entry in Datepicker table column * Remove date-fns dependency drom table date picker (#9585) * fix date input issue * Remove consoles --------- Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * Feature: pages sidebar collapsable and pin functionality in preview/release mode (#9650) * add: pin and collapsable functionality to pages sidebar * fix: review changes * fix: canvas auto update width on sidebar toggle * fix icon size * Add support to wrap table's column header (#9565) * Add support to wrap table's column header * Resolve code comments * commit * fix: resize page width on window resize (#9164) * feat: Button component revamp (#8361) * 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 * button component revamped * fix :: csa * typo fix * typo * fix :: styling * exposed variables * fix padding * review fixes styles component panel * fix naming * fix padding * default size * fix :: icons position * updates * cleanup * updates events , csa * cleanup * remove border * backward compatibility * clean * feat :: change validation from properties * ui fixes * icon name * disabled state * removed 'px' text from tooltip * fixes placeholder * few updates :: removing label in form * ui in form * 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 * 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 * merge fixes * fix * updates * removing unwanted migrations * fix: box shadow * fix : import export issues * fix : colouring * cleanup * fixes * fix : design review comments * add border color * fix : review changes * fix * change display name to solid * fix label * fix : loader issue * fix : button icon position * fix : qa bugs * feat: Checkbox + Toggle revamp (#8519) * 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 * 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 * fix : checkbox tick mark not showing on resizing * fix : icon in inspector * fix : box shadow * fix : ismandatory definition * configs update --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * fix : toggle switch import and switch component issues (#9874) * fix : filter order of toggle (#9879) * fix: appbuilder 1.7 integration testing bug fixes (#9880) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Bugfixes componentes 1.7 (#9892) * fix : filter order of toggle (#9879) * fix : Button alignment when label is empty * fix : box shadow added * fix : direction and default box shadow * fix : disable csa not working for checkbox * fix : button padding * added toggle for box shadow check * fixes : integration 1.7 (#9901) * fix : exposed vars not getting exposed on page change * fix : validation error font * fix : dynamic color for button * fix : loading placement during CSA * Move disabled, visibility, tooltip and box shadow to properties in Checkbox and Button (#9665) * 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 * Move disabled, visibility, tooltip and box shadow to properties * Remove toggleswitch and button * Add down rollbackUpdates * fix : filter order of toggle (#9879) * fix merge issue * fix --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * fix: use onMouseOver and onMouseLeave together to fix hover event * fix : Validation message to be shown only when use toggles on and off , code refactor (#9905) * Fix naming logic for copying (#9909) --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com> * fix: update animateTransform for cross browser compatibility (#9917) * fix: color transitions on sidebar pages in dark mode (#9920) * Fix table all column editable (#9921) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Fix allColumns editable in Table * Fix clientServer nor working in Table * In widget config, update the total records as 10 --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: bump minor version --------- Co-authored-by: Nakul Nagargade <nakul@tooljet.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: vjaris42 <vjy239@gmail.com> Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com> Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2024-05-30 12:42:10 +00:00
const legacySection = { title: 'Legacy', items: [] };
const allWidgets = [];
const commonItems = ['Table', 'Button', 'Text', 'TextInput', 'Datepicker', 'Form'];
2021-09-13 15:55:57 +00:00
const formItems = [
'Form',
2021-09-13 15:55:57 +00:00
'TextInput',
'NumberInput',
'PasswordInput',
2021-09-13 15:55:57 +00:00
'Textarea',
'ToggleSwitch',
2021-09-13 15:55:57 +00:00
'Dropdown',
'Multiselect',
'RichTextEditor',
'Checkbox',
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 4763dd11a31f327e41b411b43f39cb422ee34674. * 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 03:16:22 +00:00
'RadioButton',
2021-09-13 15:55:57 +00:00
'Datepicker',
'DateRangePicker',
'FilePicker',
'StarRating',
2021-09-13 15:55:57 +00:00
];
const integrationItems = ['Map'];
const layoutItems = ['Container', 'Listview', 'Tabs', 'Modal'];
filteredComponents.forEach((f) => {
if (searchQuery) allWidgets.push(f);
if (commonItems.includes(f.name)) commonSection.items.push(f);
2021-09-05 06:27:22 +00:00
if (formItems.includes(f.name)) formSection.items.push(f);
else if (integrationItems.includes(f.name)) integrationSection.items.push(f);
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 4763dd11a31f327e41b411b43f39cb422ee34674. * 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 03:16:22 +00:00
else if (LEGACY_ITEMS.includes(f.name)) legacySection.items.push(f);
else if (layoutItems.includes(f.name)) layoutsSection.items.push(f);
else otherSection.items.push(f);
});
if (allWidgets.length > 0) {
return <>{renderList(undefined, allWidgets)}</>;
} else {
return (
<>
{renderList(commonSection.title, commonSection.items)}
{renderList(layoutsSection.title, layoutsSection.items)}
{renderList(formSection.title, formSection.items)}
{renderList(otherSection.title, otherSection.items)}
{renderList(integrationSection.title, integrationSection.items)}
Release: Appbuilder 1.7 (#9875) * Remove date-fns depedency from table datepicker * Revert Remove date-fns depedency from table datepicker * Fix Built with Tooljet" watermark and app mode switcher appear briefly before the correct login page loads. (#9545) * fix: headers and action button UI on table (#9626) * fix: delete all children and nested children on component delete (#9182) * fix: delete all children and nested children on component delete * refactor: removed duplicate logics * refactor: reuse functions and remove duplicate functions * fix: update parentid of kanban modal child on version creation * fix: add kanban modal children to delete list * Fix duplicate text appearing at the bottom from the previous page in PDF widget (#9567) * chore: fixed vulnerability issues on FE (#9561) Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: Removed unused packages in FE (#9161) * Removed unused packages * Remove date-fns dependency drom table date picker (#9585) --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 (#9651) * Fix Pagination and order of rows malfunction if default selected Id is not on page 1 * remove console logs * Add support to add Manual date entry in Datepicker table column (#9631) * Removed unused packages * Add Manual date entry in Datepicker table column * Remove date-fns dependency drom table date picker (#9585) * fix date input issue * Remove consoles --------- Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * Feature: pages sidebar collapsable and pin functionality in preview/release mode (#9650) * add: pin and collapsable functionality to pages sidebar * fix: review changes * fix: canvas auto update width on sidebar toggle * fix icon size * Add support to wrap table's column header (#9565) * Add support to wrap table's column header * Resolve code comments * commit * fix: resize page width on window resize (#9164) * feat: Button component revamp (#8361) * 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 * button component revamped * fix :: csa * typo fix * typo * fix :: styling * exposed variables * fix padding * review fixes styles component panel * fix naming * fix padding * default size * fix :: icons position * updates * cleanup * updates events , csa * cleanup * remove border * backward compatibility * clean * feat :: change validation from properties * ui fixes * icon name * disabled state * removed 'px' text from tooltip * fixes placeholder * few updates :: removing label in form * ui in form * 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 * 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 * merge fixes * fix * updates * removing unwanted migrations * fix: box shadow * fix : import export issues * fix : colouring * cleanup * fixes * fix : design review comments * add border color * fix : review changes * fix * change display name to solid * fix label * fix : loader issue * fix : button icon position * fix : qa bugs * feat: Checkbox + Toggle revamp (#8519) * 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 * 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 * fix : checkbox tick mark not showing on resizing * fix : icon in inspector * fix : box shadow * fix : ismandatory definition * configs update --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * fix : toggle switch import and switch component issues (#9874) * fix : filter order of toggle (#9879) * fix: appbuilder 1.7 integration testing bug fixes (#9880) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Bugfixes componentes 1.7 (#9892) * fix : filter order of toggle (#9879) * fix : Button alignment when label is empty * fix : box shadow added * fix : direction and default box shadow * fix : disable csa not working for checkbox * fix : button padding * added toggle for box shadow check * fixes : integration 1.7 (#9901) * fix : exposed vars not getting exposed on page change * fix : validation error font * fix : dynamic color for button * fix : loading placement during CSA * Move disabled, visibility, tooltip and box shadow to properties in Checkbox and Button (#9665) * 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 * Move disabled, visibility, tooltip and box shadow to properties * Remove toggleswitch and button * Add down rollbackUpdates * fix : filter order of toggle (#9879) * fix merge issue * fix --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * fix: use onMouseOver and onMouseLeave together to fix hover event * fix : Validation message to be shown only when use toggles on and off , code refactor (#9905) * Fix naming logic for copying (#9909) --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com> * fix: update animateTransform for cross browser compatibility (#9917) * fix: color transitions on sidebar pages in dark mode (#9920) * Fix table all column editable (#9921) * fix: add only ids in deleted components map for component delete functionality * Fix TableRowHeightInput in codehinter (#9881) * fix: disable drag on calender popup and unblock other input interactions * Fix allColumns editable in Table * Fix clientServer nor working in Table * In widget config, update the total records as 10 --------- Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com> * chore: bump minor version --------- Co-authored-by: Nakul Nagargade <nakul@tooljet.com> Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Co-authored-by: vjaris42 <vjy239@gmail.com> Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com> Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com> Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2024-05-30 12:42:10 +00:00
{renderList(legacySection.title, legacySection.items)}
</>
);
}
}
return (
<div className={`components-container ${(isVersionReleased || disabled) && 'disabled'}`}>
Feat :: Editor UI revamp (#7275) * temp commit :: editor redesign * fix :: components panel ui * style updates * fix :: arrangement widget list * fix :: light mode widget list * style fixes query manager * updates * updates heaer styles * global settings fix * left sidebar states and icon change * cleanup * minor fixes :: review * fix opacity mode toggle * detailing in hover states , bugfixes * fix :: coloring whole app , debugger ui * cleanup * fix :: revert some changes , fix statistics widget * feat :: navbar with new layout * fix :: lint warnings * cleanup * cleanup * minor fixes * fix :: reusing serchbox * removed unwanted prop * Revert "cleanup" This reverts commit b18abe19fbd82246611153634c79934ad9012101. * fix :: icons sidebar * fix :: padding searchbar * style fix * radix :: dark theme for portals * fix :: icon styles * fix :: all codehinter styles * update :: base bg color app * fix :: viewer color * minor fixes :: icon left sidebar * typo * fix :: styling save message header * icon :: fix for layout and inspector queries * fix :: canvas and editor bg * fix :: release btn style * fix :: navbar border * undo redo tooltip * fix :: page input * remove released btn icon * fix :: for icon not loading proper in inspector * fix :: dark mode toggle icon size * fix :: share app ui * fix :: style fixes , inspector runpy icon * fix :: ui runpy codehinter * fix :: inputs in gds connection * cleanup * fix :: copilot codehinter ui * fix :: share modal button * fix :: canvas bg text * style fix debugger * fix :: whole dahsboard layout and border for all codehinters * fix :: icon fills * fix :: icon fill color sidebar * darkmode fill color * minor style fix * Widget inspector redesign (#7355) * Setup Storybook * Update storybook config * Add tab and toggle group component * Created list component * Properties tab * update codehinter dropdown components * Refactor styling * Inspector header changes * Fix es lint issue * Fix * feat :: styling color picker styles panel * Fix color picker alignment * feat :: remove alpha * Fix UI bugs * fix :: color picker * Ui fix * Backward compatible pagination changes * fix * Feedback changes * UI feedback * Check fix * Fix * fix :: canvas bg popover * Styles fix * Fix conflct issues * minor style fix style tab * Fix * review comments fix :: hovering in color picker * Code review and design feedback * UI feedback * Fix UI styles * Fix pagination issue * fix :: dark mode issues in select , number input * fix :: remove extra boreder * fix :: table column popover ui and component popover inspector * fix :: datepickre input table column * fix :: colopicker in table column inspector * fix :: link column type ui in table * fix :: column delete ui and delete not triggering * Fix list item not dragging * fix :: closing of popover on link column select * style fix table popover * Pass dark mode to Event manager button * fix :: ux event manager * cleanup * cleanup * fix :: delete page modal ui --------- Co-authored-by: stepinfwd <stepinfwd@gmail.com> * style fixes --------- Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
2023-09-04 08:00:39 +00:00
<p className="widgets-manager-header">Components</p>
<div className="input-icon tj-app-input">
<SearchBox
dataCy={`widget-search-box`}
initialValue={''}
callBack={(e) => handleSearchQueryChange(e)}
onClearCallback={() => {
setSearchQuery('');
filterComponents('');
}}
placeholder={t('globals.searchComponents', 'Search widgets')}
customClass={`tj-widgets-search-input tj-text-xsm`}
showClearButton={false}
width={266}
/>
</div>
<div className="widgets-list col-sm-12 col-lg-12 row">{segregateSections()}</div>
2021-05-15 07:59:11 +00:00
</div>
);
};