Commit graph

30 commits

Author SHA1 Message Date
Johnson Cherian
8cf0c49cd1 fix: fixed issue that caused scroll bar to comeup by default 2024-01-09 11:12:18 +05:30
Johnson Cherian
05a3961b0d fix: added checkInput attribute to drag container to indentify editable elements in container 2023-12-21 09:00:30 +05:30
Kiran Ashok
4267027465
Bugfix :: Box shadow is getting applied to the surrounding box (#6802)
* feat :: temp commit added box shadow for freq used components

* fix :: box shadow for all components

* cleanup

* review :: changes , sending boz shadow with styles

* fix :: apply box shadow to the item instead of container

* fix :: daterange picker shadows
2023-06-29 15:14:05 +05:30
Kiran Ashok
f8c3511a2c
Add loader for container widget (#6291)
* feat add loader for container widget

* fix :: make loading icon in center
2023-06-06 19:17:42 +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
Midhun Kumar E
633edc7271
Added data-cy for all the components. (#5385)
* Add dataCy Prop

* Add data-cy for all the components

* Add data-cy for all the custom component
2023-01-24 17:22:35 +05:30
Dmitriy Danilov
0e7a4e6b38
Hide Apps tab for Admin (#2634) (#4221)
* Hide Apps tab for Admin

* Made users tab active is apps is not visible

* Add loading for groups, fix format issues

Co-authored-by: Dmytro Danylov <icdmytro.danylov@americanwell.com>
2022-10-12 21:57:12 +05:30
prateek565
70a90b2443
Added Border color style property to Container widgets (#4202)
* Update Container.jsx

* Update widgetConfig.js

* Update frontend/src/Editor/Components/Container.jsx

small edit

Co-authored-by: Arpit <arpitnath42@gmail.com>

* Update frontend/src/Editor/WidgetManager/widgetConfig.js

small edit

Co-authored-by: Arpit <arpitnath42@gmail.com>

* Update widgetConfig.js

shifted border color next to border sradius

* Update Container.jsx

small changes

* Update widgetConfig.js

Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-10-11 13:47:15 +05:30
John Bampton
ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +05:30
Manish Kushare
3f62230427
Bug fix : Container widget background color is not consistent with the dark theme (#3866)
* Bug fix : Container widget background color is not consistent with the dark theme

* replaced two condition checks with one

* made the suggested changes

* removed console.log
2022-09-12 14:34:24 +05:30
Navaneeth Pk
4d6906503b
[WIP] Widget: List view (#1575)
* list view initial commit

* More stuffs

* More stuffs

* Minor changes

* merge fixes

* Minor changes

* Fix misspelt variable name that caused data to not show up

* Merge conflicts

* Fix lint for ListView component

* Update ListView to new API

* Fixes

* Fixes

* Fix radio

* Fix

* Lint fixes

* Set icon for List View widget

* Fix list view within tabs

* Fix

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-01-14 13:57:31 +05:30
Muhsin Shah C P
f22e815c98
added border-radius style to container widget (#1721) 2022-01-04 09:25:28 +05:30
navaneeth
06a537b031 Merge branch 'main' into develop 2021-12-16 09:54:51 +05:30
Navaneeth Pk
b383ed2ba4
Fixes z index issue of date picker widget (#1570)
* Fix z-index issue of datepicker

* lint

* Fix for modal

* Fix

* Remove usage of onComponentclick from tabs widget

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-15 23:14:44 +05:30
Arpit
119275f9ba
[improvement] Widget components #1475 - container widget (#1488)
* new implementation/image

* Revert "new implementation/image"

This reverts commit 637bd83108.

* new implementation/container-widget

* resolved

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-14 16:49:12 +05:30
Akshay
5b30aa2007
Chore: Setup pipeline (#1539)
* github actions for PR and push to develop branch

* test workflow

* move to workflows folder

* add setup node action

* modify build

* specify npm version

* config unit test

* specify host postgres

* specify container to run on

* add postgresql dependency

* add specify ws adapter for test

* add e2e test

* fix linting

* only log errors on tests

* update eslint config

* fix linting

* run e2e test in silent mode

* fix library app spec

* dont send email on test env

* fix org scope

* mock env vars

* remove reset modules

* force colors

* explicitly close db connection

* add eslint rule for floating promises

* update workflow

* fix floating promise

* fix lint

* update workflow

* run on all push and pulls

* update lint check files

* simplify workflow

* increase js heap size on env

* separate lint and build

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2021-12-10 08:43:05 +05:30
Navaneeth Pk
ae02ec49a9
Feature/calendar popover (#1442)
* Calendar popover

* Cleanup

* Fix scroll

* Resize issue fix

* Make calendar event popover optional

* Fix lint issues on CalendarPopOver.jsx

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-23 13:29:22 +05:30
Navaneeth Pk
354ccd7786
Tabs widget (#1438)
* Feature: Tab widget

* Fix container in container crash

* Container inside tabs

* props

* Fix

* Add icon

* Default tab property

* Fix lint issues with Tabs.jsx

* Introduce tab id to select between tabs

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-22 21:41:26 +05:30
Navaneeth Pk
20cccd1df7
Responsive canvas (#1363)
* Better canvas

* Better canvas

* Better canvas

* Fix for resize

* Fix for drag

* Fix for drag

* Fix for drag

* Adjust width of components by # of grid lines

* Adjust components to comply with gridline based width

* Fix the width of rigth sidebar

* Fix for subcontainer resize issue

* Fix for dropped widget width (sc)

* Fix subcontainer drag width

* Fix grid for sub container

* Fix viewer

* Fix

* Fix

* Use RnD for dragging within canvas

* bounds for subcontainers

* fix for subcontainers

* Fix for mouseover issue

* Fix

* Fix widget widths

* Fixes chart

* Fixes qr scanner and divider

* Remove scaleValue

* Mmerge fix

* Mmerge fix

* Fix for ormconfig

* Fixes for comments

* Add comment where the user clicked

* Disable dragging on viewer

* Max width for canvas

* Fix for widget click events

* Fix for radio button

* Rebase widget width and left offset for responsive canvas

* Fix

* Fix the width of file picker

* Fix for calendar widget

* Disable zoom selector

* Fixes comment positions

* css fixes

* Fix

* Recompute width and offset of subcontainer widgets based on its parent's width

* Calculate container width separately for modal children while migrating to responsive

* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-16 17:14:09 +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
Sherfin Shamsudeen
61d612ed64
Bugfix/component editing inside container (#641)
* Add support for editing and deleting components inside container

* Dont allow config handle click event to propagate

* Supply removeComponent method for Container component
2021-08-30 18:53:58 +05:30
Arpit
7f9f9cb418
backward compatibility for visibility (#640)
* show or hide widgets

* backward compatibility for visibility
2021-08-30 18:21:09 +05:30
Arpit
d6f5fd17dd
Feature: Show or hide widgets (#638) 2021-08-30 17:13:05 +05:30
navaneeth
d95cd5bb3c Feature: Mobile layput for container widget & it's children 2021-06-04 20:21:36 +05:30
navaneeth
11908a0b01 Fix for multiple drag previews for sub containers 2021-05-11 21:53:01 +05:30
navaneeth
743190d46c Feature: Elements should be draggable within container 2021-05-10 11:09:22 +05:30
Navaneeth Pk
8b481ae9f4
ESLint fixes (#138)
* ESLint fixes

* Eslinted
2021-04-30 13:40:57 +05:30
navaneeth
2e3e637eb2 Setup prettier, suggested fixes 2021-04-30 12:01:32 +05:30
navaneeth
6641107c32 Feature: Container component 2021-04-11 12:08:06 +05:30