Commit graph

68 commits

Author SHA1 Message Date
Nakul Nagargade
3f75baa7ef
Move the entire current state to Zustand store (#6812)
* 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
2023-07-19 11:42:28 +05:30
Johnson Cherian
d99d6ce3d1
Fixed widget position calculation on resize (#6907)
* fix: correct widget position calculation on resize

* fix: fix widget misalaignment issue for contianer

* Update frontend/src/Editor/Container.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/SubContainer.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* fix: prevent state update id no size change on resize action

* fix: round position of widget to multiple of spacing

---------

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2023-07-18 15:28:49 +05:30
Nakul Nagargade
f321c19265
Move showComments and currentLayout to zustand store (#6646)
* Move version manager editor states to zustand

* Update appDataStore to appVersionsManagerStore

* Move released version popup state to global

* Move isVersionReleased to global store

* Rename appVersionsManagerStore to appVersionStore and destructure zustand data inside components

* Move showComments and toggleComments states to zustand store

* Move current layout from editor local states to editor store

* Resolve code comments

* Bug fixes
2023-07-18 13:11:31 +05:30
Kiran Ashok
59eee6c12c
Listview component with grid option (#6975)
* feat :: list view component with grid mode

* cypress fix and migration fix for older app to default mode to list
2023-07-11 14:30:54 +05:30
Nakul Nagargade
0a82e50afb
Move Editor's version manager regarding states to zustand store (#6593)
* Move version manager editor states to zustand

* Update appDataStore to appVersionsManagerStore

* Move released version popup state to global

* Move isVersionReleased to global store

* Rename appVersionsManagerStore to appVersionStore and destructure zustand data inside components

* Remove closeCreateVersionModalPrompt and showCreateVersionModalPrompt

* Refactor isVersionReleased

* Resolve code comments

* update action on clicking release version btn

* Resolve code comments

* Resolve code comments

* Resolve code comments

* Fix isVersionReleased not getting updated on editor mount

* Fix released version error message not shaking on editng released version

* Resolve code comments

* Fix preview in query giving internal server error
2023-06-29 15:30:10 +05:30
Muhsin Shah C P
f215d1df96
App version creation flow enhancement - New released version warning popup - Current version issues (#5947)
* current version issue

* working on modal design

* Added released version popup and shake animation

* refactoring the code

* improved the experience

* extra changes

* css revert

* fix: disable components & properties

* fix: switched released version saving & create version modal input value retain issues

* fix: retained values issues

* fix: edit version modal current name issue
- disabled comment's icon

* override grayed out effect for preview

* fix: text overflow issue

* css fix: overflow

* added check for sub-containers

* fixed and added specs

* UI and UX fixes

* lint fix

* added clearInternal fn

* change:added clearInternal fn

* refactoring the code

* removed the comments

* added some code that were missing after the merge

* fixed merge issues

* fixed undo redo

* reverted the store changes
2023-05-11 12:32:21 +05:30
Kavin Venkatachalam
6d07cd34cc
Introduced global state management (#5980)
* 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

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Fixed losing events on renaming first query
2023-05-10 15:44:38 +05:30
Kiran Ashok
a438bf35ee
Adding scroll for container widget (#5877)
* adding scroll for container

* added container for scroll

* feat:: added container widget scroll

* updated container doc

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-04-11 16:05:19 +05:30
Kavin Venkatachalam
70ffc1e27b
Kanban Widget 2.0 (#5380)
* 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>
2023-03-24 15:22:25 +05:30
Kavin Venkatachalam
4c94de899d
Updated React to 18.2.0 (#5555)
* updated react to 18.2.0

* Updated Frontend Packages (#5569)

* Updated tabler icon and fixed react hot keys issue

* Fixed vulnerabilities

* Updated dom purify and yjs

* Reverted Eslint update

* React-big-calendar update

* Updated and fixed changes related to react-bootstrap

* Updated eslint package

* Fixes react-select-search ui

* Updated packages in root

* Updated & Fixed React-tooltip changes

* Updated and fixed changes related to react-router-dom

* Fixed copyToClipboard bug on usersTable

* Fixed folder popover issue and comment issue

* Fixed flickering issue on Editor

* Fixed routing and dark mode bugs

* Fixed app crash on page options click

* Fixed SVG issues in data sources

* Fixed calendar widget crash

* Fixed popover issue in table

* Fixed dark mode issue on react-select-search

* Fixed popover issue in tooljetdb table

* Fixed popover issue in pages

* Fixed search bar crash

* Fixes dark mode issue on react-select-search

* Resolved conflicts
2023-03-20 17:04:24 +05:30
Kavin Venkatachalam
6af42b8faf
Fixes widget alignment issue inside container (#5699)
* Fixes widget alignment issue inside container

* Fixes widget alignment issue inside tab
2023-03-07 12:38:40 +05:30
EatPrayCode
14d7ed08cd
Fix: Show on desktop bug fixed for widgets using subcontainer (#5496)
* Fix: Show on desktop bug fixed for widgets using subcontainer

* Eslint error

* Fixed lint errors

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-02-23 12:03:53 +05:30
Kavin Venkatachalam
1efcec9e09
[Feature]: Update Node from 14 to 18 (#5393)
* Updated package.json to support node 18

* Updated package-lock.json with force install

* Updated frontend package.json

* Updated server package.json

* update frontend package-lock.json

* update render dockerfile

* update dockerfiles for node 18

* update node version in actions

* fix setup script for AMI

* install using nvm

* debug

* source bashrc

* change ami os version

* change base ami

* make use of ubuntu focal lts version

* update script

* change branch name

* revert branch name

* update workflow

* node upgrade [plugins] modules updated (#5482)

* modules updated

* adds saphana and oracle package

* adds saphana and oracle package

* eslint rules for -unresolved and resolved properties

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2023-02-06 17:38:44 +05:30
Kavin Venkatachalam
efe3216f9d
[Bugfix]: Updated Local State After Deleting the Child Widget in Form (#4985)
* Fixed bugs on form widget

* Passed childComponents data to the parent
2022-12-20 17:08:36 +05:30
Sherfin Shamsudeen
642c5caa71
Feature/multi page applications (Task ID - CU-2h1bfvw) (#4729)
* 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>
2022-12-08 17:51:09 +05:30
Kavin Venkatachalam
12a770cbc4
[Feature]: Form Widget (#4595)
* Created form widget

* Fixed the same name issue in defaultChildren

* Dynamically added buttons to the form inspector

* Added data to exposed variable and handled button click

* Added Reset functionality, CSA to the form widget

* Added Form widget icon

* form component docs

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-12-08 14:41:02 +05:30
Kavin Venkatachalam
49224f4e48
Open widget manager on dropping the widget into canvas (#4866) 2022-12-05 16:58:47 +05:30
Arpit
065494c0ef
fixes: scroll issue for subcontainer layer for modal (#4410)
* fixes: scroll issue for subcontainer layer for modal

* fixes: container crash

* clean up
2022-10-21 13:51:32 +05:30
Kavin Venkatachalam
0d1916d27e
Triggered selection only when it is dragged on main canvas (#4342) 2022-10-14 14:44:40 +05:30
Arpit
9392b0a189
fixes: children can be dragged to the bottom, making the container layer scrollable (#4323) 2022-10-06 14:44:57 +05:30
Alvaro Cabrera Durán
2d385a13f6
fix: pass-down dataQueries to allow runQuery on modals, closes #4099 (#4100) 2022-09-28 12:20:45 +05:30
Midhun Kumar E
4d42efaa8f
Add cypress test for listview (#4070)
* Add data-cy

* Add utils

* Add spec and constants

* Fix commented lines.

* Added missing preview
2022-09-23 13:38:28 +05:30
Arpit
ec4af908df
[Feature]: Default Children for Tab Widget (#3786)
* refactored: subcontainer layer

* refactor container and cleanup drag layers

* removes unused, commented code

* fixes default component width in subcontainers

* init

* handle adding default widget in subcontainer and container layers

* fixes: snapping of widget to subcontainer layer

* reafactor and cleanup

* fixes container crash

* clean up

* init

* handle parentId for tabs widgets for adding default wdigets

* adds default widgets to tabs

* refactored default widget props in the widget config

* update default widgets

* update default widgets

* handles default widgets inside nested components

* clean up

* clean up
2022-08-19 10:18:18 +05:30
Arpit
8fd356926b
[improvement] Listview widget - Adds default children when dropped for the first time (#3716)
* refactored: subcontainer layer

* refactor container and cleanup drag layers

* removes unused, commented code

* fixes default component width in subcontainers

* init

* handle adding default widget in subcontainer and container layers

* fixes: snapping of widget to subcontainer layer

* reafactor and cleanup

* fixes container crash

* clean up

* handles default widgets inside nested components

* fixes: removes vague validation error,
2022-08-11 17:22:06 +05:30
Arpit
268045b2fa
Refactor: Container and SubContainer Drag and Drop Layer (#3715)
* refactored: subcontainer layer

* refactor container and cleanup drag layers

* removes unused, commented code

* fixes default component width in subcontainers
2022-08-09 15:45:19 +05:30
Kavin Venkatachalam
df11f4b1f6
[Feature]: Area Selection on Drag (#3665)
* Added area selection

* Disable selection while dragging widgets inside subcontainer

* cleanup area selection
2022-08-02 13:36:48 +05:30
Sherfin Shamsudeen
bc93818621
Feature/component property validation (#2782)
* Initial architecture for component property validation

* Coerce to default and log invalid properties

* eslint rule:frontend for  specifying the path to the  @types/

* removes comment for eslint-disable-next-line

* reverts 27946f1 & adding a temporary fix

* Remove incorrect property validations

* Avoid race condiiton in setting state for error logs

* Fix issue where only one error got logged

* Flush out any errors that are logged

* Remove unnecessary console.log

* Add validations for Table properties

* Add support for multiple validations

* Add validation for chart component

* Add validation for modal

* Set default value common to all validation schemas for component properties

* Add validations for password widget

* Add validations for datepicker

* Add information about default value on validation error message

* Remove unwanted console.log

* Do not validate properties on Viewer

* Use meta information from widget config instead of component state to validate

* Do not coerce to default values while validating

* Do not validate existing components

* Update package-lock.json in sync with develop

* Add validation for general properties

* Add support for size validation of component properties and styles

* Add support for min and max spec in size validation

* Support pattern validation for string properties

* Make size validation specifiable along with type specification

* Component validation optimizations

* Remove unnecessary comments

* Remove unnecessary default value param from validation

* Fixed visibility style validation bug

* Added custom validation to PDF & Custom component

* property/style validation statistics

* values changed to string

* validation button group widget

* bugfix

* Added property validation to timeline widget

* Added visibility prop validation to timeline widget

* steps property/style validation

* svg component property validation

* component property validation numberinput

* bugfix

* validation textarea

* validation vertical divider

* property validation html widget

* validation :: checkbox

* image property validation

* validation :: rangeslider widget

* validation :: circular progress bar

* validation spinner

* added props and style validation

* tags validation

* validation :: pagination

* timer :: validation

* validation :: toggle

* validation :: divider

* validation :: radiobutton

* added props and style validation

* validation:: iframe

* validation :: password input

* validation:: code editor

* validation :: listview

* validation :: star rating

* validation :: modal

* validation :: qrscanner

* validation :: datepicker

* multiselect :: validation

* added union validation for border radius

* added props and style validation

* added props and styles validation

* added props and styles validations

* added props and styles validations

* added props and style validations

* added props and styles validations

* added prop and style validations

* added props and styles validations

* Added ID validation to steps widget

* Removed default value

* Added validation key to SVG widget

* Removed default value

* table validations

* table validations

* removing default value

* removing defaultval

* removing default val

* removing default val

* padding validation update

* updating number validation

* updatin number validation

* validation updates

* border validation

* border radius validation

* number input validation

* validation updates

* border radius validation

* validation update

* Updated misspelled schema text

* Updated Tabs validation schema

* Updated tooltip element schema

* Updated validation for multi select

* Updated validation for dropdown

* Updated validation for text widget

* Rectified mispelled validation

* Fixed : validation not working for format

* Added Array validation to chart widget

* format prop bug fix

* draft complete :: table validation

* Fixed misspelled text

* Don't validate properties that are not defined on widgetConfig

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-07-19 18:51:45 +05:30
Sherfin Shamsudeen
8b966711e1
Expose actions of list view children only once (#3518) 2022-07-07 18:25:22 +05:30
Sherfin Shamsudeen
ff0397f1ef Merge branch 'main' into develop 2022-07-03 16:22:33 +05:30
Sherfin Shamsudeen
74cbbac6e8 Invoke subcontainer option change callback only if it is supplied 2022-07-03 02:09:36 +05:30
Sherfin Shamsudeen
4bd2fd74d0
Add support for ListView inside ListView (#3454)
* Add support for ListView inside ListView

* Remove unnecessary triggering mechanism for useEffect in ListView

* Remove unnecessary extraProps param
2022-07-02 18:00:30 +05:30
Kiran Ashok
7797bc33e0
Undefined error in multiple cases (#3180)
* Cannot read properties of null (reading 'x')

* Cannot read properties of null (reading 'first_name') - realtime cursor

* Cannot read properties of undefined (reading 'events')

* Uncaught TypeError: onComponentHover is not a function fix

* Cannot read properties of undefined (reading 'layouts')

* reverting
2022-06-23 15:27:03 +05:30
Sherfin Shamsudeen
738acff277
Remove needless resize of container children when clicked and dragged (#3240) 2022-06-09 16:01:02 +05:30
Sherfin Shamsudeen
0071e43125
Stop container children from getting resized when handle is clicked (#3232) 2022-06-09 11:16:19 +05:30
Kavin Venkatachalam
ed43ca844a
[Feature]: Added universal props for widgets with Tooltip (#3096)
* Added universal props for widget

* Fixed lint issues

* Updated export name

* Fixed lint errors

* Updated genral variable name

* Updated file name in doc
2022-06-02 11:51:52 +05:30
Manish Kushare
6b6cb5fc32
[Improvement] : Filepicker widget (#3021)
* solve the bug- now only 1 message is shown for exceeding max file count

* added edge case to only show unique error message

* persisting previous accepted files upon rejecting a file

* fixes: retain existing selected files on rejection

* cleanup

* fixes: dropzone active even with listed selected files

* handles rejected files sizes for error msgs

* on dialogue box closed, should list files if exits

* fixes: show list of files if exits when files are rejected

* fixes: show list of files if exits when files are rejected

* fixes reject message for file sizes

* clean up

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-05-24 15:49:33 +05:30
Arpit
7221040a1b
fixes app crash in subcontainer layer (#3081) 2022-05-18 18:33:04 +05:30
Arpit
71200bf28d
fixes container crash on viewer (#3042) 2022-05-11 20:10:48 +05:30
Navaneeth Pk
e8ca5cbc73
Ability to select multiple widgets from canvas and change their position (#2979)
* Better canvas

* fixes sets the active node to the selected widget on the editor

* removing selectedComponent and fixing currentTab msg alignment for inspector

* useKeyHooks custom hotkey hook

* handles escape key on editor

* handles delete for multiple widgets

* removes unwanted comments

* fixes: all the widgets are deleted at once, in a single action

* hide delete button from widegt config handler when multiple components are selected

* fixes delete button width for long chars

* Revert "fixes delete button width for long chars"

This reverts commit 79dadfa7d3.

* fixes display config handler for selected widgets on layout/container widgets

* subcontainer layer dnd improvement for multi-widget

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-05-11 14:43:13 +05:30
Arpit
0182283819
refers 665b69fa81 (#2560) 2022-03-17 18:16:28 +05:30
Arpit
44bbbc8936
[Hotfix] resolves widget width inside modal(resize issue) (#2476)
* resolves widget width inside modal(resize issue)

* removes comments
2022-03-10 17:21:46 +05:30
Sherfin Shamsudeen
61773e4b04
Return promise returned by onComponentOptionChanged for subcontainer as well (#2378) 2022-02-28 17:28:56 +05:30
Arpit
2d3a028789
Resolves lint warnings/errors: frontend (#2311) 2022-02-21 23:34:02 +05:30
Navaneeth Pk
b59817d625
Updated dnd to follow pointer position (#2144)
* Updated dnd to follow pointer position

* Remove console.log

* Select component on resize

* Minor fixes
2022-02-06 18:45:38 +05:30
Gandharv
a649d1c88b
Add clone component functionality (#1970)
* feat: add clone component functionality

* change to cmd + d

* use unique name for copied item

* fix container clone issues

* move naming logic to parent

* deprecate old method

* remove inspector after clone

* generate uuid from pkg

* use copy of appdefinition

* remove redundant if stmt

* Fixes for tabs

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-02-03 14:45:40 +05:30
Navaneeth Pk
95c2883498
Prevents multiple widget handles from being shown (#2092) 2022-02-03 12:37:34 +05:30
Muhsin Shah C P
7bb438d442
Fixes dark mode for widgets in sub-container (#2103) 2022-02-03 08:25:15 +05:30
Kiran Ashok
2626bd6ec3
Fixes modal crashes on dropping widget inside it (#2069)
* fixing undefined error

* fixing undefined error
2022-02-02 14:36:12 +05:30
Muhsin Shah C P
ac00f530f2
Adds a custom remove component function for sub-container (#2020) 2022-01-31 16:48:58 +05:30
Navaneeth Pk
f0c8cb344f
Fixes widget crash when added to subcontainers (#1987) 2022-01-28 13:22:55 +05:30