Commit graph

26 commits

Author SHA1 Message Date
Midhun Kumar E
eaa5b6d4ae
Add data-cy (#5411) 2023-01-24 15:03:45 +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
Arpit
9392b0a189
fixes: children can be dragged to the bottom, making the container layer scrollable (#4323) 2022-10-06 14:44:57 +05:30
Sherfin Shamsudeen
4ee35e7eac
Add setState functions of components as dependencies for registerAction (#4120) 2022-09-27 10:55:51 +05:30
Arpit
decc924ba2
[improvement] Modal widget (#4045)
* init

* fixes: config-handler clickEvents

* fixes: position attributes for open state modal config handler

* modal body scrollable

* adds loadingState

* adds onOpen and onClose events for modal

* adds visibility property

* open general and layout Options by default

* adds styling options for modal header and body

* adds style options for show button and conditional rendering of button styles

* refactor conditional rendering styles

* clean up

* fixes typos

* remove footer

* modal size

* handles dark theme

* update naming convention for modal: trigger button

* modal size:updates

* updates modal close icon

* adds comments for conditionally rendering style options

* only vertical scrolling inside modals

* clean up

* custom UI for widget config handle for modal

* backfil

* resolves: event should not fire on mount

* modal improvements doc

* hide modal on clicking outside for viewer mode

* Remove unnecessary modification of modal property schema

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-26 15:46:21 +05:30
Kavin Venkatachalam
5335dd6f04
[Feature]: Cut & Paste Widgets (#3773)
* cut & paste widget

* Paste the copied widget in the modal

* Updated layout position while pasting

* Fixed paste issue with area selection
2022-08-25 02:56:08 +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
Manish Kushare
482ce5ab3c
Modal : added component specific actions (#3494)
* added component specific actions

* updated docs

* changed the action name from show to open
2022-07-14 18:26:53 +05:30
Sherfin Shamsudeen
87f71624f1
Feature/modal updates rebased to main (#3465)
* modal docs

* modal enhancement , added more properties

* widget properties updates

* revert unwanted change

* bugfix close

* renaming as "hideTitleBar"

* migration

* revert unwanted code

* temp stash

* updates

* migration tested

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2022-07-04 14:43:36 +05:30
Arpit
ec7c8749b6
Fixes Modal won't reappear after closing it with ESC (#2319) 2022-02-22 18:22:34 +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
Arpit
7586fb4e39
[improvement] Widget components #1475 - modal widget (#1482)
* new implementation/modal

* title fixed

* removed use of component for getting exposed variable

* renamed useState var

* Rename variable canShowModel to canShowModal on Modal component

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-15 09:53:57 +05:30
navaneeth
dff987b58f Fix for incorrect modal widget placing 2021-11-25 14:17:18 +05:30
Ajinkya Deshmukh
fc536c20dd
Button and Modal text fix (#861)
* button text fix

* Modal dynamic text fix

* resolve the review comments
2021-10-08 11:32:20 +05:30
Akshit Arora
3f22edb977
Bug fix: passed darkmode prop to Modal (#912) 2021-10-07 08:44:47 +05:30
Arpit
26c9cc655c
Fix linting errors across the app (#785)
* eslint-setup: rules for frontend and server

* setup pre-commit:hook

* frontend:eslint fixes

* frontend eslint errors and warning fixed

* eslint:fix for ./server

* fix server/test: expectatin string lint/error

* pre-commit:updated

* removed unwanted install cmd from docker file

* recommended settings and extension for vscode

* husky prepare script added

* updated extension recommendations

* added prettier as recommended extension

* added pre-commit to package.json

* remove .prettierrc file

* resolve changes

* resolve changes
2021-09-21 19:18:28 +05:30
Arpit
67ca8f1461
Feature: disable widgets (#653)
* widgets can be disabled

* removed whitespace

* move to styles definitions

* default values fixed with nullish operator

* proper data attributes

* generic resolver function for widget value

* renamed the style property
2021-09-02 19:41:59 +05:30
Akshay
f07e87ad48
fix app crash when draging components within modal (#557) 2021-08-20 15:57:22 +05:30
navaneeth
11908a0b01 Fix for multiple drag previews for sub containers 2021-05-11 21:53:01 +05:30
navaneeth
10511ce72f Fix for modal handle not being shown 2021-05-10 20:01:14 +05:30
navaneeth
318d05469e Feature: ConfigHandle for modals 2021-05-10 19:14:58 +05:30
navaneeth
981cb915d6 Hide config handle if edit mode 2021-05-10 17:06:33 +05:30
navaneeth
01a96a357e Fix for inspector getting disabled when modal is open 2021-05-10 14:59:21 +05:30
navaneeth
c521a4e3d2 Feature: Handle to open widget inspector 2021-05-10 14:58:44 +05:30
navaneeth
add5b80b34 Feature: Size & title properties for modals 2021-05-10 13:29:17 +05:30
navaneeth
1db2fb7083 Feature: Modals 🎉 2021-05-09 23:36:11 +05:30