* global store init
* Moved query data to new component
* Removed unwanted code
* Removed data queries prop drilling
* Moved query state out of editor
* Added unsafe to componentWillReceiveProps
* Selected first query when the version is changed
* Fixed bug on renaming query
* Fixed issue on dark theme
* Fixed running query on page load in viewer
* Query manager refactor init
* Added global data source in store
* Disabled devtools on production
* Fixed bug on selecting query after deletion
* Reset store when editor is loaded
* Moved query manager to functional component
* Fixed conflict issues
* Fixed infinite loop on tooljetDB
* Set the store name and updated devtools logic
* Fixed issue on displaying draft query from data sources
* Updated comments on the store
* Fixed bug on changing data source and creating query from data source
* Fixed bug on showing unsaved changes popup
* Fixed issue on showing confirmation modal everytime without any changes
* feat: autosave data query functionality
* feat: show publish button only when the status in draft state
* Fixed issues on query renaming
* feat: removed discard popup for data query create/edit widget
* stye: reduced autosave api call timeout and added draft tag
* feat: added minor style changes
* feat: fixed issues with restapi plugin, removed unused api calls
* fix: fixed issue that breaks restapi creation
* fix: reload selected query details after update query
* perf: reduced debounce time for data query update apis
* feat: removed full reloading of query list on query renaming
* feat: duplicate data query feature added
* Fixed issue on creating restAPI query
* fix: fixed issue in transforming response from update queyr api
* fix: refresh selected query details when the selected query is updated
* fix: rename query on click enter
* fix: full refresh of query list on update
* fix: style changes
* fix: subscribing to state to autsave
* feat: updated the query manager styles to new design
* feat: revamped the querypane header buttons
* fix: fixed the padding for query panel maximize button
* feat: updated search box style
* refactor: moved function to render data source icon to its own component
* fix: fixed querymanager widget breaking issue
* merged with feat/query-manager-autosave
* refactor: removed unused consoles
* refactor: removed unused consoles
* refactor: removed unused consoles
* fix: removed commented code
* fix: removed unused code
* refactor: removed unused comments
* fix: show change datasource select only if valid ds available
* Update frontend/src/Editor/Inspector/EventManager.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/QueryManagerBody.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* feat: modify behaviour of search icon in query panel
* fix: fixed theme color mismatch in query manager
* refactor: remove dead code
* refactor: updated theme for data source listner
* fix: theming in filter and sort popup
* refactor: remove unused variables
* fix: removed draftQuery logic from query manager
* refactor: removed unused varibales
* Update frontend/src/Editor/QueryManager/QueryEditors/Restapi/TabParams.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryPanel/QueryCard.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* feat: diable preview for draft queries
* fix: added tooltip for query panel button
* fix: fixed issues in saving query manager events
* fix: moved query save subscriber to QuerPanel component
* feat: converted query run api to save and run
* fix: made varibale an optional param in updateDataQuery dto
* refactor: cleanup update dataquery status api response
* refactor: moved query status to constants file
* feat: prompt for queryname when creating new query
* fix: store new queryname in state on create query pageload
* fix: fixed alignment of Tooljet db component form
* fix: correct translation and format file
* refactor: removed consoles
* merge: merge appbuilder-1.2
* style: updated rename input/button UX
* style: revamped dataquery create widget styles
* style: revamped data source selector styles
* fix: removed code added for debugging
* style: updated data query filter design
* style: Add prop to control visibility of clear button in search box
* style: implement new style for query filter
* merge appbuilder-1.2 to feat/query-manager-sort-filter
* refactor: remove unintended file change
* fix: set default value for method in respapi
* style: updated copilot info popup style
* style: updated quer panel header icons
* style: updated button styles
* style: fixed query manager button styles
* style: smoothened query preview modal view
* fix: correct import for some funs
* fix: fixed minor UX bugs
* style: fixed styling of REST api GDS
* style: fixed styleing of sort and filter popup
* style: improved data queries sort filter UI/UX
* fix: remove click listner when overlay is closed
* fix: moved component declaration out of parent component
* fix: set selected datasource for default sources
* fix: filter DS based on saerch in create dropdown
* fix: restrict draft query running to preview mode
* fix: query renamed on input change in create screen
* fix: set name to state as soon as user renames query
* fix: make query notification message consistent
* style: correct s3 bucket plugin layout config
* fix: fixed issues with cloning of Static DS queries
* fix: made change so that newly created query is reflected immediatly
* style: updated spacing for query manager components
* fix: hide rename input when no query selected
* fix: check bothe selected query and DS before rendering query manager
* fix: set isSaving to true only for api calls in querymanager
* fix: added success message form in qm
* fix: filter out draft queries from viewer on running
* fix: fixed inconsistent gutter for runpy and runjs editors
* fix: reload dataqueris on LDS deletion
* fix: redesigned filter/sort popup
* fix: fixed issue that resets filter on search
* fix: fixed query manager breaking on plugin select
* fix: diable json preview for text output
* fix: reset to filter and sort main menu on close filter popup
* refactor: rename varibales
* stye: redesigned query create panel
* feat: revert data query status column from backend
* style: redesign query picker section
* refactor: removed dead code
* style: querypanel expand/collapse btn style
* style: add query select and query filter popup style redesign
* style: updated filter popup style
* feat: removed draft query checks everywhere
* style: empty dataqueries style changed
* style: updated query selector popup and rest options styles
* style: removed 100% height to query option remove btn
* feat: added the query runnable status check
* style: updated query manager footer style
* feat: changed DS filter from kind to DS ID
* style: minor ui tweaks in filter popup
* style: disable DS filter if no DQs created
* style: minor ui change
* fix: rerender filter popup post DS api call. fixed rest api copy feature
* fix: add local DS to filter popup
* refactor: removed dead code/comments
* add new row is crashing when no data is fed to table (#7102)
* fix: fixed condition that blocked GDS run on load
* fix: revert name back to og name if update fails in rename query
* feat: added tooltip for show query btn
* fix: added click interaction for pill btn as well
* fix: minor UI tweaks to make UX better
* style: fixed the styling of filter popup
* style: minor UI tweaks in query filter popup
* fix: fixed minor css issue in ds picker
* style: wrap overflowing text in queryname
* fix: update updated_at after query update api call success
* fix: update remove the caller query from event query dropdown
* style: minor ui spacing tweaks
* fix: fix issue that cuased app crash when tjdb opened
* fix: fixed update row styles
* fix: fixed info popup dark theme bg
* fix: fixed headers styling according to general QM styles
* style: fixed stripe QM UI
* fix: added tooltip for quernames
* feat: add tooltip for select ds options
* added consoles to debug debugger issue
* fix: fixed :active style of ds select dropdown in QM
* fix: fixed DS kind name in data source selector in QM
* fix: fixed border color mismatch for ds select dd
* fix: change tooltip msg for maximize/minize QM
* Fix automation for query manager revamp. (#7223)
* Add data-cy to support modified specs
* Fix event handler
* Fix RunPy and RunJS specs
* Fix event handler label
* Fix basic components spec
* Fix basic components failure
* Fix tabel spec failure.
* Fix runjs and runpy actions
* Fix table column options
* Add data-cy
* version: version updated to 2.13.0
* Version bump
---------
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
* feat: resolve passed arguments in runjs
* feat: added popup form for runs params
* fix: fixed issue with close function of popupover with codehinter
* feat: added input for runjs args
* style: for runjs args
* fix: added support for params in custom components
* fix: fixed default query param for runjs
* fix: remove debuggers
* refactor: removed commented code
* fix: removed unused code
* style: arguments input style in event manager
* refactor: Moved argument list to separate component
* refactor: moved runjs components to single folder
* fix: minor refactorings
* fix: renamed arguments to parameters for compoennts
* refactor: reanamed argument to parameter in runjs
* refactor: removed commented code
* fix: added hasPramSupported flag against runjs queries
* Update frontend/src/Editor/Inspector/ActionConfigurationPanels/RunjsParamters.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/QueryEditors/Runjs/ParameterForm.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* fix: prevent duplication of name
* fix: fixed issue that blocked query params from returning
* fix: remove extra params from runjs
* fix: updated reference to current satte
* fix: updated `query.run()` signature
* fix: added duplicate check on param add and update
* fix: added additonal null check for params runjs
* feat: resolve runjs params default value without currentState
* fix: hide defaultvalue of runjs in events form
* fix: minor UX experience in runjs params
* fix: set runjs default values to events on creation
* style: updated the runjs param UI
* style: runjs param form minor ux improvement
* fix: close modal on add button click again
---------
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Move current state to Zustand store
* Remove console logs
* Bug fixes
* Bug fix
* Code refactor
* Fix table not rendering when selected
* Refactor
* Resolve imports
* Resolve code comments
* Prevent current state store zustand actions not to exposed to user
* Fix
* Move current state from viewer to Zustand store
* Bug fix
* Resolve code comments
* BugFix
* Bug fix
* bug fix
* fix action button event not being triggered in table
* Resolved comments
* added feature to download table data using csa
* avoided popover getting closed after selcting downlaod format from select component
generalise the classname in codeHinter
removed important key in css
* bug fixed : column was not populating upon change in data when downloading table data with csa
* avoiding programatically choosing download type in table download csa
* made the requested changes
* made utility function for onChange and value of control specific actions to avoid duplications
* add support for Copilot assistance
* clean up
* fixes workspace settings crash
* refactor and resolved review comments
* api endpoint should be inferred from env
* copilot style fixes
* copilot style fixed
* beta tag fro copilot settings: workspace
* fire toast for unauthorised recommendation request
* include the previous code with the newly generated response
* scoping apikeys to orgs
* controller updates for copilot
* copilot org key updated
* disable toggle for new workspaces
* disable toggle for new workspaces
* fixes: multi-workspace toggle updates
* uninstall unsued packages
* fixes button state for copilot in transformations
* updated the urls
* bug fixed: app is getting crashed upon clicking columns in the table inspector for the widget inside listview
* bug fixed: not able to edit new added column and not able to see valdiation errors
* code enhancement
* fetch table data with selected table when fetching tables
* refactored tooljet db operations and listrows
* create operation: dropdown should only show options which are not selected
* list operation: dropdown should only show options which are not selected
* update operation: dropdown should only show options which are not selected
* delete operation: dropdown should only show options which are not selected
* refactor: update op
* clean up
* style fixes
* throw error with descriptive error toast for empty where fields for delete op
* clean up
* default limit should be 1
* fixes codehinter onBlur issue
* Modify data-cy for table
* Add data-cy for page rename elements
* Add data-cy for search on sidepanel
* Add data-cy for pagehandle elements
* Add data-cy for page events elements
* Add data-cy for options, icons and modal
* Add data-cy
* Add basic spec
* Add basic method to create query
* Add data-cy for query section components
* Add common method for postgreSQL
* Update spec with methods
* Add data-cy for alert-box and query search elements
* Add method for widget integrations and event handler
* Add selector into selectorFile.
* Fix failing cases
* Add labels on Text file
* Fix failing specs due to rerendering
* Remove creds from spec
* 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>
* bug fixed : file picker is not consistent with the dark theme
* bug fixed : Map widget is not consistent with the dark theme
* bug fixed : Steps widget is not consistent with the dark theme
* bug fixed : Multi select widget label is not consistent with the dark theme
* bug fixed : search bar in widget manager and label params in Code Hinter is not consistent with the dark theme
* removed unwanted comma in the chart inspector
* bug fix : app dropdown inside go to app in event manager is not consistent with the dark theme
* bug fixed : search select dropdown is not consistent with the dark theme in table inspector
* bug fixed : Organization and Profile avatar in HomePage is not consistent with the dark theme
* bug fixed : search box in the homepage is not consistent with the dark theme
* bug fixed : select dropdown input placeholder is not consistent with the dark theme
* bug fixed :Text area in the Modal to Share the app link is not consistent with the dark theme
* bug fixed : p tag in pagination in the homepage is not consistent with the dark theme
* replaced undefined to false as default value of darkMode if not defined
* bug fixed : multiselect input placeholder is not consistent with the dark theme
* removed duplicate code from custom.scss and changed rgb to hex in theme.scss
* reverse proxy
* reverse proxy
* Fix for yjs
* Fix for ws
* Fixes org switching
* Fixes org creation
* Fixes login logo
* Fixes download icon
* Construct use invite URL from base URI
* Fixes apiUrl if sub path is set
* Remove commented code
* Fix profile link
* invitation url changes
* Fixes dev env
* Use url-join lib to connect urls for goto app and invitation link
* Use useHistory instead of helper to get history for template modal
* Review changes
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
* CodeHinter preview for listItem, cellValue
* Updated variable names
* Added preview data for listView if data is not an array
* Fixed listItem preview issue
* Updated preview logic for listview
* Fixed listItem preview issue
* Reverted Listview changes
* Added a check for preview context in the viewer
* Resolved conflicts
* Add and modify data-cy for widgets
* Add selectors
* Add constant texts and methods
* Add common widget operations
* Add momet to Cypress
* Add common utils and optimized commands
* Add methods specific for Datepicker
* Add spec datePickerHappyPath
* Minor selector modification
* Add verification of value from inspector
* Suggestive hints resolving current depth and next depth
* fixes eslint warnings
* adds: for queries, Function call, an expression containing the function name run followed by the function call operator, ( )
* stops resolves function call inside codehinter fields except customJs and transformations
* stops resolves function call inside codehinter fields except customJs and transformations
* Added box-shadow property
* Updated slider default value
* Support negative values in box-shadow
* Removed data-cy attribute
* Moved box-shadow property to general styles
* Added margin bottom to the styles panel
* Build architecture for component specific actions
* Resolve references component action variables
* Add architecture to read component action params from widgetConfig.js
* Add Set table page to component specific actions
* List only components with actions for control component action
* Make component specific actions async
* fx button styles
* fx in action types
* Improve zIndex for component action param select
* fix for select component width
* adding margin to remove height toggle during fx
* Updated SelectSearch with Select
* Added component specific action to Text widget
* Fixed bug on showing the component with actions
* fix :: fx should align neatly inside the empty space designated for it,If type is not specified, codehinter full width
* removing bug :: popover closes on select
* height toggle bug
* Ensure that action is cleared when a different component is selected
* bugfix :: select width issue
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
* Added cypress test for button widget
* Added custom commands
* Updated common selectors
* data-cy attributes for the elements
* Updated the login end point
* Updated new login end point
* Added data-cy attribute for autosave indicator
* Updated login end point
* Updated test for auto save indicator
* Updated custom commands for skipping instruction modal
* fixes: Typing , or on any code box will crash the app completely
* handle circular dependecies in the preview component and checks to resolved reserved keywords list
* remove comments
* exp: resolves reserved keywords to null if declared inside obj
* Remove unnecessary import for react-hot-toast
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* fixes default value for restapi
* fixes default value for restapi
* restapi-url field width 100%
* removes extra padding from codehinter input field
* fixes querypanel code hinter margins
* fixes overlap fields firestore
* Fixes fx
* fix: jump effect while fx switch
* Revert "fix: jump effect while fx switch"
This reverts commit 75471678ce.
Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
* alignment fixed for fx
* fixing text colour in dark mode fx
* formating all boolean values
* including number type
* updating functinal logic for number type
* style updated
* style updated
* fixing table text colour not showing bug
* fixing darkmode bg colour
* Flipping transition animation , without delay fix
* bugfix:: fixing styles margin updated
* fixing margin
* fixing padding for new number input
* Revert "fixing margin"
This reverts commit b74e524443.
* Set bottom margin for hinter column to 16px
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Allow flipping non-code fields to code fields
* Revert "Allow flipping non-code fields to code fields"
This reverts commit 190e686994.
* Accept type prop to CodeHinter
* Allow CodeHinter to display UI elements instead of codebox
* Use style FxButton as flipper for code hinter
* Do not show Fx button on codehinter that allows only codebox
* Implement Select and Toggle flippable fields for code hinter
* Apply proper padding for Fx button on codehinter and its toggle component
* Make component properties remember their Fx status
* Avoid generating code when Fx is activated
* Add Fx to color field
* Add Fx to align property type
* Support json type for codehinter and remove unused Text type
* Extend codehinter width to 100%
* Fix bug that caused serverside pagination property to not work
* Remove unnecessary comments
* portal for code hinter popup
* codehinter portal styles
* portal editor height
* update icons
* hinter changes
* refactoring to a separate dir
* code hinter - portal
* component details added in the portal header
* portal header: source name fixed
* portal header: inlcludes field name in the header
* display field names for rest api
* display field names for transformation
* handle for empty component names
* portal preview code bg
* foreUpdate
* foreUpdate
* refactored and using same codemirror component to render portal's editor
* clone codemirror to two different component
* fixed - need click to render the field data
* force update
* table component cell types: included
* chart component types: included
* alignment of the preview area
* btn color adapts to theme-fix
* remove console.logs
* disable portal editor for event manager
* scss unsued ruleset removed
* name fixes and remove unsued var
* .
* null check
* removed hardcode componentName
* app z-indexes: added z-index for suggestion-hints
* hook exhaustive-deps
* portal custom hook
* updated function name
* icon position fix
* hinter fails to open in certail scenarios: fixed
* preview codeHinter default=true
* adding preview code for codeHinter for table widgets
* previw for codeHinter in eventManager and RestAPI headers tab fixed
* added classes to header tabs
* fixed preview for transformations
* widgets preview for title
* preview for advance tab QueryManager
* preview box for datasource queryeditor
* sql code hinter UI spaces fixed