* Add transformations feature to table columns
* Make table transformations listen to current state
* Move column transformation to below "key" in column properties
* Properly exposed currentData and currentPageData of table alongwith transformations
* setup user tables and edit user drawer
* fix states on user edit and ui fixes
* fixes
* fix: user update
* remove: disable editing of full name while editing user
* bug fixes
* bug fixes
* [hotfix]: Prevent Autosave on Client Updates Received via Websockets for MultiEditing (#8549)
* Prevent Autosave on Client Updates Received via Websockets for MultiEditing
* bumped up the version 2.27.6
* created backedn for group duplication
* created group duplication feature
* Added overflow tooltip
* Code sanity improved
* Fixes:CE
* fix
* overlapping issue fx
---------
Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Kritagya <kriks.iitk@.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
* Update widgetConfig.js
Related To Issue #7527
* Update en.json
Realted to issue #7527
* Update widgetConfig.js
* Update widgetConfig.js
reverting changes, the displayName value should not be altered. It should be back to 'Kanban' and keep changes in the description value.
* Update descriptions(tooltips) for timer, list view, tags and pagination components
* Update en.json-descriptions(tooltips) for timer, list view, tags and pagination components
* added property to align the column horizontally
* Revert "added property to align the column horizontally"
This reverts commit fc5e54fb43.
* added horizontal alignment property to each column to set the horizontal alignment
* added text alignment for the input element as well
* handled alignment for few elements such as datepicker,tags,radio as well
* code enhancement
* handeld edge case
* handled edge cases
* updated default case to ensure that any unexpected values return a defined value.
* removed unwanted code and code enhancement
* fixed horizontal alignment of textarea according to column alignment
* made link column alignment consistent with the horizontal alignment for the same column
* adjusted horizontal alignment for image column type
* add ability to import export app and tjdb schema
* init
* feat ::global settings popover new ui
* feat :: ui for version export modal
* fix :: import export modal
* cleanup
* ui updates
* header footer style fixes
* closing settings modal while showing export modal
* style fix header
* feat :: added button to download table schema
* fix :: styling for fx
* add ability to import and export apps with tjdb schema
* handle duplicate table in workspace
* fix table rename
* fix selected table on edit and delete
* fix invalid toast on table delete
* fix column default value
* handle exports to strip '::' and quotes
* make import/export backward compatible
* handle page redirects based on resource import
* handle import without tjdb schema
* fix column delete and addition
* make data migrations to be run per organizations
* wip
* update migration
* fix credentials to be included
* fix specific version export
* make use of apps ability for import export resource
* fix import navigation
* fix lint
* fix failing tests
* fix lint
* enable tjdb for public apps
* update export error message on tjdb table blank
* fix table not selected after creation
* fix :: styling for imp exp modal , and functionality bug fixes after dev merge
* fixes blank slate and columns selection
* fix table delete
* fix invalid toast on table edit
* fix column information missing tjdb query manager
* make ds imports to either reuse global or create
* export only unique table ids
* create default datasources if not present in export data
* reuse existing table on imports
* add timestamp to table name if name already exists
* add ability to clone with tjdb
* make imports work with marketplace plugin
* skip dataqueries for which plugins are not installed
* fix filter input width
* fix failing spec
* fix marketplace plugin installation in diff workspaces
* fix check for plugin installed in workspace
* fix export when table name is empty
---------
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
* initial: flow setup
* [BugFix] Fix dynamic form breaking in case "react-component-headers" form type outside of the editor
* fixes: initial creation of datasource with default options
* resolve: local ds issues and cleanup
* cleanup
* fix: equality check
* revamp: gds flow
* fix: local ds not updating
* fix: minor bugs
* remove datasource confirmation modal
* bug fixes
* Add data-cy for new datasource components
* rename to data sources
* rename: data sources
* fix: local ds wrapper css
* fix: datasource route
---------
Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
* 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>
* 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
* Set up tabs and code refactor
* Fix
* Add store name in current state store
* Move current state from viewer to Zustand store
* Bug fix
* Restructure
* Resolve code comments
* Add information toast logic in debugger tabs
* Bug fixes
* BugFix
* Bug fix
* bug fix
* fix action button event not being triggered in table
* Fix styles
* Remove success query toast
* Resolve code comments
* Update message in All log tab when there are no logs
* Resolve code comments
* Resolve code comments
* Add support for dafrk mode
* Add dark mode color for tabs
* Refactor
* working on app name unique migrationworking on app name unique migration
* Added checks and conditions
* change: remove staring and ending spaces
* fix: error management
* fix: regex
* working on app name generation
* app name:fixing bugs
* app name: fixing and refactoring code
* app name: fixed test cases
* updated app name constraints and default name
* fix: apps.e2e tests case
* fix: added app name to the prompt
* added app input tooltip
* removed unwanted code
* added tooltip close code
* fixed auto generated name issue
* merging develop
* code refactoring
---------
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
* Kanban 2.0 init
* Implemented Kanban 2.0
* Moved add card button to the header
* Added debounce functionality
* Added CSA to Kanban
* Formatted Kanban
* Updated default data on Kanban
* Handled undefined data and exposed lastUpdatedCard
* Added lastCardAdded exposed variable in Kanban
* Fixed id bug on Kanban
* Fixed width issue on Kanban
* Fixed dark mode
* Commented onUpdate event for every action
* Rename containerId to columnId in lastCardMovement in Kanban
* Updated min width in kanban card
* Fixed bug on dropping items into cards when first container is empty
* kanban2 docs
* updated info in kanban doc
---------
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
* added colors variable in color.scss
* made left side bar of query panel width fixed to 249px and main container width to grow accoding to available width of query panel
* made UI updates in query container - left sidebar of query panel
* set query name font weight to 400
change the border color of left sidebar of query panel
added colors in colors.scss
commented unused variable
* UI update for header in the leftsidebar of the query panel
* updated width of the primary default secondary button
* Updated UI for query panel header
* draf : tranfomration UI update
* draft - preview section UI update
* draft : query manager advance options UI update
* draft : UI update for restApi query editor
* update
* femoved disable save button logic
* small updates
removing box shadow for rest api options button
adjusted spacing for data source selectionn div
* reverting changes in _ui/Search component
* bug fixed : Query Panel header spacing and alignment issues
dark theme update
* spacing and dark theme update in query container
* bug fixed : transition issue in tabs
* dark theme updates and bug fixes
* input checkbox update
* added cursor pointer to input checkbox
* updates
* updates
* bug fixed : removed typo error from last commit
* update
* added 3 rows in rest api tab content by default
* update spacing between datasource picker and element to render div
* spacing top for event manager section
* removed inline style from preview component
* data source lister font size update
* removed inline style from editor component and added style in css
* small updates
* applied color theme for dropdown options in the query manager
* added cursor pointer to control section of dropdown
* updated select data source section in query manager
* dynamic form bug fixed
* bug fixed : breadcrum
* bug fixed : toggle in GroupHeaders is not consistent with the dark theme
* bug fixed : clear icon in searchbox in query manager
* bug fixed : color in rest api in request url
* search box query manager final design
* small update
* made suggested changes
* query editor design for stripe query
* made changes in stripe
* updated the files with minor changes
* made minor updates in stripe
* set Get as default method in rest api
* add functionality to update query name from query panel header as well
* change the width of list data queries section
change size of icon to 20px
* updated changes
* created queryManager.scss file
* added default value to input text box in the query panel header
* bug fixed
* fixed minor bugs
* moved custom-toggle css in queryManager.scss
added on focus css for ternary button
* removed unsued lines from queryManager.jsx
* bug fixed: spacing in search box
* bug fixed: spacing in search box
* code enhancement as per changes requested
* fixed : search box component breaking inside DataSourceManager component
* made a function to style select component in query manager
* styles select component in rest api and transformation using common method
* chnaged run query on page load to application load
* Add routes for multi-page apps
* Modify Editor, Viewer and Inspector to accept new app structure
* Show a page selector on left side bar
* Align component deletion logic with new app schema
* Make subcontainer work with multi-page apps
* Load components state properly in viewer
* Use UUID instead of handle for pages
* Display sidebar on viewer to switch pages
* Add proper URL suffixing for pages in viewer
* Add action to switch page
* Revert translation file back to its pre-existing linting
* Fix bug that caused modal to not open/close
* Add support for query params in page switch
* Fix the issue that caused navigation to fail while accessed via slug
* Add missing SwitchPage file
* Add support for page level variables
* Add migration to convert existing apps to new schema
* Add rollback for converting multi-page definitions back to single-page
* Fix migration for multi-page apps
* Adapt import/export service for multi-pages
* [improvements] Multi-page applications (#4755)
* UI updates for page selector popup card
* delete page
* delete page check: if only one page exits
* switch to home page if the selected page is removed
* adds and switch to new page
* updating page name
* updates to home page and starting page
* handle updating the home page when home page is deleted
* search box for filtering pages and minor style updates for the page handler card
* header search box style fixes
* for creating a new page, page handle needs to be unique
* seperating into smaller components
* updated pinned icon for page selector styles and settinf styles
* Leftsidebar header ui component
* handle dark theme
* page handle ui and dark theme fixes for page menu
* page handler edit modal
* pinned state and update pinned state for menu options triggered
* dark theme fixes for edit modal
* handle on update should not be empty or prev
* page handler updater
* added loading state for saving
* handles cancels
* fixes slug ui
* fixes crash for older app versions
* updates the query params when handle gets an update
* update homePage to homePageId
* removes console.log
* go back to the popover for modal close
* fixes: Difficult to select page
* fixes: Difficult to select the three-dot menu
* fixes: on visiting the root url, navigate to homepage on viewer
* adds tooltip for url
* updates the page selector sidebar with sync with query manager
* refactor and cleanup
* refactor and cleanup
* Compute component state when page is switched
* modal should not close on click outside
* disable save button if there is not change in the page handle input
* should show/hide page menu when hovered
* page icon
* updates delete icon for disabled state
* query manager should always be on top of page selector
* checks if homePage key exists in pages def
* updates page handler menu
* updates the clear icon
* page handler menu position
* page handler menu position
* handle icon
* alert msg
* global settings handler for updating viewer page navigation
* show/hode page navigation for viewer
* info text for toggle
* Multipages:with sortable list [DnD] (#4783)
* applied sortable list
* on sort updates the definitions
* fixies: app crash for dnd
* viwer: canvas width should be 100% when navigation drawer is disbaled
* fixes: homepage/startpage reload
* clean up
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Multipage UI viewer (#4801)
* new ui changes for viewer pages
* fixes postions for debugger and datasources popover
* removes console.log
* Multipage : hide page and unhide page feature (#4803)
* adds: ability to hide pages
* hides pages in viewer
* unhide page
* hide icon
* allow accessing hidden pages from url
* add: duplicate page (#4802)
* add: duplicate page
* do not copy the same references from the original page
* page name and page handler should be unique for duplicate pages too
* Add support for on-page-load events
* Add icon from page settings menu item
* Convert existing templates to multi-page schema
* error logs for page level and app level errors (#4842)
* Adapt comments feature for multi-pages
* [Bugfix] multipage - page menu interactions (#4844)
* fixes: menu popup interaction
* fixes: on modal input focus, we switch the page
* Adapt multi-player to multi-pages
* Add editingPageId to ymap
* Log self, others and editor props in real-time avatar generation
* Save editing page id to appDef
* Add editingPageId to presence in RealtimeCursors
* adds no results ui for empty search results (#4869)
* page icon updated (#4870)
* fixes:Version switching crashes if the target version does not contain the current page (#4868)
* Remove unnecessary setting of editingPageId on ymap
* Remove unnecessary console.log
* [Bugfix] Multipages: widget inspector event popover unmounts (#4887)
* introduced a local state for events
* cleaned up inspector.jsx
* fixes: table widget inspector event accordion
* Do not run switchPage twice when viewer is loaded
* Preview should open the currently editing page
* Properly place navigation and canvas in viewer
* Update app definition whenever event manager changes are made
* Add support for browser back and forward button in multi-pages
* Rename handleBackButton to handlePageSwitchingBasedOnURLparam
* Add support for cut/copy/paste and clone
* Fix the crash caused by boxShadow
* Add support for background colors in viewer in multi-pages
* Run queries to be run on load on viewer, in multi-pages
* Fix issue that caused inspector popovers to collapse
* resolves workspace vars in viewer mode (#4892)
* Multipage : Navigation for Mobile-ui (#4814)
* refactored to components
* burger menu for mobile ui
* merge conflict fix for hidden pages
* hamburger menu positioned in the header
* viewer header reafctored
* viewer mobile page manu styles
* handles dark theme
* mobile menu with dark mode toggle in the footer
* components are moved to page level, handle for mobile layout
* style fixes
* removing unwanted code block
* dark theme fixes
* style fixes
* fixes: events are sortable (#4895)
* fixes: events are sortable
* Remove uneccesarily repeated call of setEvents in EventManager
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* renamed settings to Event handlers (#4898)
* updates the page setting title to Page Events
* temp commit
* Add support for setting max width in percentage
* fixes: paramUpdates for boxes: 🙌🏻
* [Bugfix] Multipage - viewer canvas dark theme (#4897)
* fixes: darktheme bg for viewer canvas
* reverts canvas size
* Fix for inspector bouncing back to previous values
* resolves pages variables in pythong and js transformation (#4905)
* csa support to event manager for pages (#4907)
* Add support for setting canvas width in percentages
* Persist page level variables across page switches
* latest definitions is merged with the current appdef (#4914)
* latest definitions is merged with the current appdef
* mutating the local obj
* cleanup
* iterate through pages for new versions are created
Co-authored-by: Arpit <arpitnath42@gmail.com>