ToolJet/frontend
Arpit b48fd53ec2
[Feature] Kanban board widget (#3049)
* init kanban board widget

* kanban board

* reverts to beautifully

* kanban UI updates and dnd fixes

* bugfix: when dropped outside the col, should return back to it inital position

* updates min-width of the column

* container and widget styles

* style fixes: column container onDrag

* adds button for new group

* fixes new card overflow

* add btn for adding cards

* groups and cards updated

* add property definition

* improves draggable card position while drag is active

* handle delete group/col

* handle col/group title updates

* handles editing card title

* style fixes for input cursor

* cleanup

* card popover with codehinter fields

* minor card fixes

* updates exposed variable

* simplify boardData into cols and cards

* adds width and min-width style definations

* build board from queries

* handle draggable rbd-id

* removes add group card and delete group option

* fixes typos

* show empty state message

* fixes typos

* removes card extra border color

* fixes column typi and cards updates issue

* adds enableAddCard property defination

* adds accent color options

* default style accent color

* accent color fix

* revets popover with hinter

* fixes card drag and drop

* removes hook

* fixes: state synced with property defination updates(col and cards data)

* fixes: on re-arranging the card via dnd, update the card content

* handles if card columnId is updated

* adds card container layer

* clean up

* dark theme

* fixes card onDrop issue

* renamed the exposed variable data --> lists

* adds custom resolvers to the popover

* handle widget crash when non iterables are passed

* updates default card and col value

* fixes dnd issues for dynamic card values

* refactor: cleanup

* handles empty and undefined cardData

* fixes Height of widget is changing when popover thing is displayed.

* fixes: updating card data in widget inspector

* fixes: updating column data in widget inspector

* fixes adding cards for newly created groups/columns

* clean up

* Add kanban event onCardAdded and expose lastAddedCard

* Add onCardRemoved action and expsed lastRemovedCard variable

* Add events and variables for card movement and selection

* Add card edit feature for kanban widget

* Rename lastAddedRemoved to lastRemovedCard in kanban

* Rename lists to columns on kanban board

* Set max height of kanban column to respond to widget height

* Have "Add description" link if there is no description for Kanban cards

* kanban docs

* Change text from "add +" to "Add card" on kanban

* Validate card data before update

* Add tip about card id type on kanban documentation

* Add default min width and width for kanban

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 11:06:36 +05:30
..
__mocks__ Test: add app-util test setup (#2326) 2022-02-23 09:48:05 +05:30
assets/images [Feature] Kanban board widget (#3049) 2022-06-14 11:06:36 +05:30
config update routes for nginx conf and event gateway for being proxied (#3183) 2022-06-01 18:23:41 +05:30
ee/components/LoginPage Support for multiple workspaces 🚀 (#2778) 2022-05-05 12:38:42 +05:30
src [Feature] Kanban board widget (#3049) 2022-06-14 11:06:36 +05:30
.dockerignore Setup docker-compose for local development 2021-04-29 15:29:25 +05:30
.eslintrc.json Test: add app-util test setup (#2326) 2022-02-23 09:48:05 +05:30
.gitignore Initial commit for react app 2021-03-31 19:31:01 +05:30
babel.config.js Test: add app-util test setup (#2326) 2022-02-23 09:48:05 +05:30
firebase.json Firebase deploy config 2021-04-16 10:47:42 +05:30
package-lock.json [Feature] Kanban board widget (#3049) 2022-06-14 11:06:36 +05:30
package.json [Feature] Kanban board widget (#3049) 2022-06-14 11:06:36 +05:30
webpack.config.js Hotfixed : Favicon icon not displayed in preview and launch page (#3154) 2022-05-30 14:44:10 +05:30