Commit graph

1765 commits

Author SHA1 Message Date
Syed Ansar
da86fd9762
Added query name to run query confirmation box (#3330) 2022-06-22 07:22:23 +05:30
MikelGV
3370845fc7
Text widget default value deleted (#3341) 2022-06-22 07:14:59 +05:30
Muhsin Shah C P
f63cf6fc2f
[enhancement] Removed version create modal pop up when opening a newly created app (#3334)
* Removed init version create modal

* removed success message
2022-06-21 19:01:59 +05:30
Ajith KV
de1261238d
Cypress test for the manage groups page (#3241)
* Added cypress test for manage groups

* Updated common selectors and text files

* Updated common utils file

* Added data-cy attribute for elements

* Updated folder create label

* Updated common utils file
2022-06-21 18:08:49 +05:30
Midhun G S
747ae657d3
Lint fixes (#3343) 2022-06-21 14:00:20 +05:30
Manish Kushare
4a78949aa4
Enhancement : added border radius property in the styles property of the List View Widget (#3287)
* added border radius property in the styles prop

* added migration file to add border-radius as 0 in the existing applications
2022-06-21 02:34:42 +05:30
Arpit
8af77d9bff
[Bugfix] Fixes LeftSide Inspector issues (#3326)
* fixes: selecting a component (from the JSON tree) selects the component in the editor and
opens widget inspector

* updates minWidth for the inspector popup

* fixes: render options for hovered nodes

* updates minwidth and value width
2022-06-21 02:29:11 +05:30
Akshay
e8997346ca
format json on export (#3285) 2022-06-20 17:36:19 +05:30
Ajith KV
e01c90a457
Cypress test for the manage SSO page in the single workspace. (#3317)
* Added cypress test for manage sso page in the single workspace

* Updated common utils file

* Added data-cy attributes for the elements

* Updated common selectors and common text file

* Updated the spec file
2022-06-20 16:59:12 +05:30
Kiran Ashok
bdeba5d5f7
Fixes typo in toast success in manage sso(#3325) 2022-06-20 16:31:04 +05:30
Sam Kohl
97e2962433
3066 incorrect message while enabling disabling password (#3110)
* Changed Form temp literal string to Password at line 14

* Fixed missing ) after temperate literal string change

* Removed unneccesary ) causing lint error
2022-06-20 10:56:52 +05:30
rw4nn
8a36cc75c7
Fixes text alignment of Fx button (#3304) 2022-06-20 09:24:53 +05:30
Sherfin Shamsudeen
50cf1f5911
Proper styling for query panel create/save button (#3315) 2022-06-18 00:52:16 +05:30
Sherfin Shamsudeen
d5fa6e9816 Merge branch 'main' into develop 2022-06-17 17:58:16 +05:30
Kavin Venkatachalam
b570fe2d40
Dropdown button in query manager (#3313) 2022-06-17 17:53:59 +05:30
Muhsin Shah C P
2fdcfcc117
[Feature] Added ability to update and delete app folders (#3132)
* Added migration to add forder_delete column

* Added new group permission

* Added deleteFolder ability

* Added delete folder api

* Added menu icon

* Added new defualt permissions of admin

* Implemented folder menu and delete action

* Implemented update folder name in frontend

* Added folder name update feature

* Refactoring code

* Added specs for update and delete apis
- Updated test-helper function with new permissions

* Resolved failing specs

* corrected method name & add count checking to delete spec

* added organizationId scope

* Changed toast and modal texts

* Resolved a mistake

* Added a check box for update permission

* Now, an user can only delete folders, if he has the permission to view all apps

* Edited update and delete spec cases

* Added error toasts

* Refactored code

* Resolved PR changes
- Changed permission name in the frontend
- Refactored the code

* capitalized all toasts
- Changed error message

* Fixed new user permission issue

* Update a spec

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-06-16 19:41:38 +05:30
Kavin Venkatachalam
337e033832
[Feature]: Run query while Creating/Saving (#3131)
* Run query while saving it

* Fixed data update while save & run query

* Fixed loading issue in the query

* Added check to avoid crash during create/run
2022-06-16 18:04:07 +05:30
Manish Kushare
22f9e1f97c
added HTML-CSS widget (#2938)
* added HTML widget

* removed console

* removed injecting css to the html page

* Shorten the div of default code for HTML widget

* Updated widget icon from tabler icons

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-06-16 17:58:11 +05:30
Sherfin Shamsudeen
1e9c22dcd5 Merge branch 'main' into develop 2022-06-16 17:55:37 +05:30
Manish Kushare
29db040eea
added instruction text property in file picker widget to add custom instructions (#2731)
* added instruction text property  in file pciker to make user unable to provide custom instructions

* Added default instruction text

* made the changes to make sure existing app do not crashes because of instructionText prop

* Solve issue -  existing file pickers wont display anything if we don't default to the default instruction text

* changes in operation.json file

* migration script for adding instructionText prop

* removed unwanted operations.json file

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2022-06-16 17:53:31 +05:30
Muhsin Shah C P
48a3f701aa
[hotfix] Date range picker is showing error inside the modal (#3289)
* Fixed issue

* Expose range picker dates on load and on default dates change

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-06-16 16:33:44 +05:30
Muhsin Shah C P
bcd62d874e
Fixed textColor issue (#3298) 2022-06-16 15:29:03 +05:30
Kavin Venkatachalam
802ad5e5df
[Feature]: Trigger actions from RunJS (#3115)
* Trigger actions from RunJS

* returned promise while running query in runjs

* Fixed preview issues

* Reusing executeAction function
2022-06-16 15:09:26 +05:30
Kiran Ashok
48dc072f17
Feature :: adding 'add datasource' option on datasource panel (#3191)
* adding datasource button

* lifting stateup :: completed

* naming update

* name change

* checks for udefined

* Revert "checks for udefined"

This reverts commit c542359e0f.

* icon updated

* fontweight removed
2022-06-15 16:16:51 +05:30
Ajith KV
a71c7b8a7f
fix: failing button widget cypress test (#3238)
* Updated cypress test for button widget

* Updated the custom command for create app

* Added data-cy attributes for elements

* Updated common selectors file
2022-06-15 15:57:03 +05:30
Kavin Venkatachalam
21ce5b5ea4
Fixed table border broken issue (#3227) 2022-06-15 14:24:08 +05:30
Manish Kushare
6f6d59fd20
display current version in the dashboard (#3244)
* display current version in the dashboard

* reverting the changes

* display version name in the dashboard using public config file
2022-06-15 13:26:02 +05:30
Ajith KV
a6c0277daf
Cypress test for the manage users page in the single workspace. (#3256)
* Added cypress test for manage users page in the single workspace

* Updated user selectors and user text file

* Added data-cy attributes for the elements

* Updated the folder structure
2022-06-14 17:19:58 +05:30
Gandharv
c2dfe4e30e
Change auto-save text when auto save fails (#3276) 2022-06-14 16:23:03 +05:30
Sherfin Shamsudeen
b705157f46
Do not fire event when step is programatically changed in step widget (#3280) 2022-06-14 14:01:24 +05:30
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
Kiran Ashok
b6c4b5204e
Manage sso link correction (#3271) 2022-06-14 07:23:05 +05:30
Sherfin Shamsudeen
cfc4421422 Fix typo on Steps widget event name 2022-06-13 17:50:24 +05:30
Kiran Ashok
bb6fc26f7e
[ Feature ]:: steps widget (#3200)
* tabs event

* completed event firing on selection tab

* steps widget basic structure & code

* active item logic

* logic for currentstep

* logic for steps theme

* event onSelect handled and exposed currentStepId

* fixing tooltip

* logic for colour updated

* updates

* bugfixes and color theme fix

* darkmode fixes

* some bugfixes

* cleanup

* reverting

* reverting unwanted change

* updating green theme

* pr changes : style changes

* pr change :: color style made dynamic :rocket

* style fix 🚀

* docs updated

* bugfix
2022-06-13 17:44:03 +05:30
Sherfin Shamsudeen
ad3a9ddec7
Do not zoom image on scroll if zoom buttons are not turned on (#3266) 2022-06-13 14:11:35 +05:30
Kiran Ashok
002ae8cea6
Support for background colour for tabs widget (#3254)
* style fix :: added bg colour option

* bg colour for content

* colour fix

* realtime fix
2022-06-13 14:11:09 +05:30
Sherfin Shamsudeen
037bdb5ed8
Substract 4 from canvas container widget of tabs subcontainer (#3264) 2022-06-13 12:26:43 +05:30
Sherfin Shamsudeen
0d4d8f4448
Use visibility instead of opacity to hide non-active tabs (#3243) 2022-06-09 16:37:15 +05:30
Sherfin Shamsudeen
738acff277
Remove needless resize of container children when clicked and dragged (#3240) 2022-06-09 16:01:02 +05:30
Gandharv
292673aa67
fix: re-render when cursor hovered on canvas (#3210)
* fix: re-render when cursor hovered on canvas

* rename

* remove redundant check

* add app_id as yjs docname
2022-06-09 15:36:11 +05:30
Akshay Sasidharan
8b6faf128a Merge branch 'main' into develop 2022-06-09 13:24:30 +05:30
Brent Schroeter
51c7629ba7
Remove frontend display name validation (#2494) (#3230) 2022-06-09 12:59:33 +05:30
Ajith KV
c0232c816b
Cypress test for the manage users page (#3187)
* Added cypress test for manage users page

* Updated common text file

* Updated common utils file

* Added data-cy attributes for the elements

* Modified cypress test for manage users

* Added data-cy attributes for elements
2022-06-09 12:29:53 +05:30
Sherfin Shamsudeen
65cc6b562e
Feature/tabs tabs (#3235)
* Fix

* Fix

* Fix

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-06-09 11:45:48 +05:30
Sherfin Shamsudeen
0071e43125
Stop container children from getting resized when handle is clicked (#3232) 2022-06-09 11:16:19 +05:30
Arpit
59f0db5d03
fixes leftsidebar inspector crash for n depth nodes with actions (#3206) 2022-06-08 20:40:14 +05:30
Kiran Ashok
5664803194
Feature :: event firing on tab selection in Tabs widget (#3193)
* tabs event

* completed event firing on selection tab

* pr changes :: renaming event

* updated event
2022-06-08 12:20:51 +05:30
Kavin Venkatachalam
5280e9d6e7
Move & Resize portal (#3224) 2022-06-08 12:18:47 +05:30
Akshay Sasidharan
86ea2ceb52 Merge branch 'main' into develop 2022-06-08 11:22:19 +05:30
gsmithun4
e5f4054c2b added env var to view-hide account setup link 2022-06-08 00:49:14 +05:30