* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* create migrations for group permissions setup
* define new entities and relationships
* revise migrations
* rename columns
* add migration to populate permission groups for existing users
* Feature: User access permission group usage (#883)
* create migrations for group permissions setup
* define new entities and relationships
* revise migrations
* rename columns
* add migration to populate permission groups for existing users
* revise migrations
* hide roles usage
* setup group permissions for apps and users
* fix defaultChecked
* fix update permission checkbox
* fix casl ability check to have params passed
* fix casl apps abilities to check with app specific permission
* add ability to delete groups
* conditionally render edit and delete options for all and admin users
* fix user role to group migration
* revise group management pages to disallow updating default group
* move manage users and groups to navbar dropdown
* show only addable apps and users on dropdowns
* rename header as profile settings
* scope addable apps and users by organization
* scope viewable apps on homepage
* hide manage groups link from non admins
* make permissions to be used with radio input
* add loading state for add apps/users buttons
* revise unit tests
* revise migrations
* fix e2e tests
* comment out dead code
* fix seeds script
* handle folder count
* captalize error toast
* hide manage users dropdown for non admins
* show fobidden error on blank homepage
* fix folder app count
* fix invalid state set
* make group name clickable for edit instead
* users with edit permission can deploy apps
* not show edit link on homepage if user dont have update permission
* remove unused entity from merge
* remove roles usage from manage org users page
* fix folder count and blank slate on homepage
* disable add buttons if there is no selections
* humanize default groups on view
* make app added onto groups have read permission by default
* not show app menu if user is not admin
* remove admin users from group user addition dropdown
* create default permissions for app cloned
* fix querying index page without page params
* fix admin scoped out from group add
* remove apps from header
* fix invitation url not shown
* scope admin deletion check by org
* scope public apps by organization
* add specs for group permissions e2e
* removed unused entity and add group permissions spec
* remove console logs
* remove unused permission
* scope public app count by org
* remove console log
* refactor manage group permission resources component
* update group permssion in org scope
* Add support for editing and deleting components inside container
* Dont allow config handle click event to propagate
* Supply removeComponent method for Container component