Commit graph

2302 commits

Author SHA1 Message Date
Arpit
5f1cc81e10
[multipage]redirects to homepage if page is invalid (#5107)
* redirects to homepage if page is invalid

* remove console
2023-01-02 17:36:48 +05:30
Manish Kushare
cfcb108b7d
[ Bug fixed ] : input field width is not fixed (#5057)
* bug fixed : codehinter width is not fixed

* fixed spacing issue in the rest api input url field

* bug fixed : minor shift in the content in the input field
2023-01-02 17:30:38 +05:30
vjaris42
456375c2db
add: autosave for newly created apps (#5069) 2023-01-02 16:49:21 +05:30
Kiran Ashok
312be78918
toast fixes (#5134) 2023-01-02 14:21:54 +05:30
Kiran Ashok
44c66423ef
changed work email to email (#5126) 2023-01-02 12:42:37 +05:30
Gandharv
f4ab2a2221
fix: scroll in debugger panel (#5110)
* fix: popover width

* fix: debugger scroll

* rename title to debugger

* css changes

* homepage pagination

* same width edit-launch btns -> appcard

* profile icons

* fix render deploy

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-12-30 17:23:20 +05:30
Midhun G S
637af22024
[v2-beta] Improvement - Editor (#5038)
* editor improvement

* review comments
2022-12-30 14:56:12 +05:30
Sherfin Shamsudeen
3e18acd476
Merge pull request #5106 from ToolJet/chore/develop-to-v2-beta
Merge develop to v2-beta
2022-12-30 14:22:16 +05:30
Kiran Ashok
32aa59fda4
split onboarding css , bugfixes , code improvements (#5050) 2022-12-30 12:09:07 +05:30
Gandharv
71e47e088f
Merge branch 'v2-beta' into chore/develop-to-v2-beta 2022-12-30 11:37:12 +05:30
Manish Kushare
4b5c65eeef
feature added : display loader in Run button when query is running (#5112) 2022-12-30 08:58:17 +05:30
vjaris42
71bac415bb
[Fix] :: App import from v2->v2 (#5100)
* filter: static datasources

* fix: null lastname on multisearch

* chore: add datasource type field while importing app
2022-12-30 00:56:37 +05:30
Arpit
1fcd9bb5e1
tj query requires filter options and where (#5102) 2022-12-29 18:14:20 +05:30
Arpit
9b51df49c5
remove max width (#5109) 2022-12-29 18:12:10 +05:30
Gandharv
e8e039ee63
fix: popover width (#5108) 2022-12-29 18:05:36 +05:30
gandharv
88fb4aca6f Merge branch 'develop' into chore/develop-to-v2-beta 2022-12-29 17:44:34 +05:30
Arpit
545f29d0a7
removes search placeholder icon (#5105) 2022-12-29 17:28:44 +05:30
Arpit
11ff100b3c
Popoulate default values (#5104) 2022-12-29 17:28:18 +05:30
Gandharv
dbdd228665
fix: homepage design changes (#5073)
fix: homepage design changes (#5073)
2022-12-29 17:19:10 +05:30
Gandharv
f9aa596994
feat: app builder design changes (#5041)
* feat: version manager, realtime avatars + popover addition
2022-12-29 17:18:24 +05:30
Arpit
0cb8507640
improvements to pagination (#5053)
improvements to pagination in tooljet database
2022-12-29 13:48:32 +05:30
Kavin Venkatachalam
021ba6f439
Fixes showing success message on every query run in viewer (#5094) 2022-12-29 13:19:04 +05:30
Sherfin Shamsudeen
bc4974da4e
Main (#5097)
* [Hotfix]: Fixes Showing Toast Message on Query Success in Viewer (#5077)

* Fixes showing success message on every query run in viewer

* Removed unwanted changes

* Bump patch version

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-12-29 13:18:20 +05:30
Arpit
ba73302d51
updated toast context (#5087) 2022-12-29 12:54:12 +05:30
vjaris42
840863c7ba
hide: search results when forms enabled (#5092) 2022-12-29 11:11:57 +05:30
Arpit
6826fdc8df
Tooljet db query - Filter condition should resolved dynamic variables used in the editor (#5080)
* fixes: filters were not resolved when a non string is passed

* check for undefined and null

* clean up
2022-12-28 21:54:22 +05:30
Arpit
acefdb8400
fixes: tj query query panel (#5083) 2022-12-28 21:15:09 +05:30
Kavin Venkatachalam
b9be30aff3 Fixes conflicts 2022-12-28 17:35:19 +05:30
arpitnath
b2b4c448f3 fixes conflicts 2022-12-28 15:01:31 +05:30
Sherfin Shamsudeen
d6a72b50bd Merge develop to v2-beta 2022-12-27 20:10:33 +05:30
Akshay
9c62b2d317
Feature: Make tooljetdb optional (#5062)
* make tooljetdb optional

* restrict routes when tooljetdb is disabled

* validate dbname before creating database

* fix comment

* format
2022-12-27 16:18:36 +05:30
Manish Kushare
0fa2bf9d12
bug fixed : some columns are missing in downloaded file (#5064) 2022-12-27 14:22:00 +05:30
Mekhla Asopa
c6440162dc
Automation for export import functionality (#4848)
* Added data-cy

* Updated spec with verify elements

* Updated spec with export app method

* Added data-cy for import and Add test case for app import

* Updated rename method in the export spec

* update variable in import spec

* Updated spec with version assertion
2022-12-27 14:03:59 +05:30
Midhun G S
cc0b3993f1
comments last name displayed as null (#5060) 2022-12-26 21:30:22 +05:30
Sherfin Shamsudeen
c5db1e8c95
Remove border-width for code hinter inside rest-methods-url div (#5054) 2022-12-26 18:46:41 +05:30
Arpit
6712bd2fb3
Internal storage - Pagination for Database table (#5040)
* init

* footer component with pagintion ui basic styles

* pagination:  apply a limit and offset rows through query params

* open create row drawer from footer button

* border color for dark theme footer button

* cleaned

* pagination

* fixes: input value

* moved functions to component level
2022-12-26 17:09:12 +05:30
Arpit
bfceb37da9
[Improvement] Internal storage - table validations (#5034)
* adds dto for create and rename tables, renametable service

* adds constraints for psql reserved keyword for column name

* validations for column default value
2022-12-26 17:06:25 +05:30
Mike
aa0359171d
fix: 4966 edit comments (#5004)
fix: 4966 edit comment upd
2022-12-26 15:46:45 +05:30
Mike
ddeedf1232
[docs] small grammar fix in editor (#5003) 2022-12-26 12:03:01 +05:30
vjaris42
120a7b310c
fix: last name null issues (#5043) 2022-12-23 13:27:08 +05:30
Akshay
602b1b4ad3
Feature: Tooljet Database (#4951)
* wip

* internal db per workspace

* fix async query

* feat: add storage layer route

* feat: add drawer component

* feat: add react-table to load data

* feat: add columns form

* feat: add create column form, create row form

* feat: add postgrest js

* add tooljet db controller to proxy requests to postgrest

* util: add postgrest filter builder helper utility

* feat: add filter popover

* use helper utility for building query

* add sortable filters

* add box shadow for filter popup

* use overlay trigger

* use react select

* add new column addition

* add dropdown for table header, table list

* Move filter.jsx

* feat: add sort popover

* feat: add postgrest js .order fn

* setup tooljetdb with restricted grants for users

* make db schemas added loaded dynamically on postgrest server

* fix query

* sign jwt token to auth user at postgrest

* update db schema user with workspace

* chore: add table listing

* update data and columns from api

* feat: add context api for sharing data

* add ability to create table, view tables and add columns

* use columns for sort from context api

* fix ormconfig

* feat: add table listing integration

* feat: add create table integration

* fix for rds deployment

* add internal table translation instead of schema

* remove tooljetdb as a datasource

* wrap placeholder on proxy query

* add active workspace guard

* scope tooljetdb by workspace

* update active workspace guard

* seperate proxy related concerns to different service

* make use of org id param

* rename storage layer to tooljet databse

* update specs

* feat: Update list when new table added

* feat: add create column

* chore: add orgId to url + misc changes

* chore: move popover to separate file

* remove unused var

* rename files

* feat: add multiple columns

* feat: add new row

* removes postgrest-js from pkg lock

* feat: add row data

* feat: add sorting

* feat: allow row deletion

* feat: add search

* feat: add filtering

* feat: add edit mode

* feat: add columns while edit table

* add view table action

* update setup for column constraint

* fix query

* integrate view_table, primary key field

* render toogle for boolean data type

* update view table query for primary key

* fetch metadata refactor

* add capability to set default values

* feat: allow deletion of record based on primary key

* feat: add default value while creating column

* send query from sort & filter component

* css changes

* allow empty data

* add requested changes

* add err message

* add common fn

* allow sort + filter

* remove unwanted defaults key

* css changes

* add more operators

* dark mode fixes

* add drawer footer

* add loader for list tables

* add dashboard design changes

* design changes

* add capability to drop table and delete column

* add breadcrumbs

* design changes

* add profile

* refactor tooljetdb controller

* update routes

* add empty page changes

* delete column fix

* fix delete column

* design changes

* fetch tables post delete

* homepage changes

* hide ellipsis on hover

* add org settings page

* add edit + create org

* add notification center

* fix: group permissions switch issue

* add logo

* remove anchor tag

* fix merge conflicts

* css changes

* add err boundary

* setup query editor

* css changes

* fix: merge conflicts

* add menuPortal prop to filterform and sort form

* fix seed

* fix: build

* design changes

* design changes + refactor code

* fix imports

* fix: drawer issue on delete table

* add search box changes

* fix: tablename max-length 255

* fix: set newly created table as selected item

* remove edit column option

* added badges to enterprise only features

* disable edit column

* table styles

* fix: popover position, placeholder default

* fix: display boolean values in table

* fix: tooljet database default type values

* css changes

* add query manager for tooljet db with create and list row

* dark mode fixes

* remove Header component

* add ability to delete tooljetdb rows from query manager

* add ability to update tooljetdb rows

* dark mode fixes

* css changes

* display actions icon on hover

* folder onclick change

* add empty page styles

* fix proxy requests

* feat: randomize icon creation

* add max items per page prop for pagination

* removes unwanted position attr

* add table name validation + disable submit btn while api fetch

* [Bugfix] internal storage toast  | trigger toasts for running preview db queries (#5019)

* resolves: no toasts are fired when preview query is run for db queries

* fire success toast for created and no content status text for query success

* remove invalid migration

* skip migration if tooljet db already created

* fix: app clone icon param

* fix: show confirmation box if filter options are empty in query (#5021)

* for now: show native confirmation box of the brower to confirm the delete all query

* typo

* Revert "typo"

This reverts commit b5ce5ed889.

* cleaned

* cleaned

* show confirmation box if filter options are empty in query

* [Refactor/Bugfix] database query (#5028)

* refactored list rows operations

* remove unwanted cls

* refactor create row

* reafactored update rows

* refactored delete rows

* padding fix for tj-query

* add static templates

* review changes

* remove unused file

* Chore: tooljetdb render setup (#5033)

* add postgrest for render preview deploy

* pin version

* add healthCheckPath

* remove health check

* handle database url parsing db params

* add defaults for tooljetdb env

* fix hostname

* handle env in migration files

* refactor dbconfig build

* fix pg db usage

* add parsed env context

* add tooljetdb env

* refactor db config utils

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-12-23 02:09:57 +05:30
Manish Kushare
0ef27c9fc5
[ Bug fixed ] : able to rename a query name to existing one (#5031)
* bug fixed : able to have rename a query to existing one

* refactored code and added toast error message
2022-12-22 19:57:52 +05:30
Manish Kushare
4a4c9be831
bug fixed : not able to view query, once we click on breadcrum if only single query present (#5032)
solved bug for save and create button
2022-12-22 19:34:46 +05:30
vjaris42
e49ef9777f
[Enhancement] :: Allow users to add custom query parameters for postgresql connections (#4912)
* add: custom endpoint for s3 hosts

* add: key-value pair editor for connection options

* add: newkeyvalue Pair button

* fix: reset header key-value pairs
2022-12-22 17:35:11 +05:30
Muhsin Shah C P
c5d74c4a27
Fixed the issue (#4790) 2022-12-22 17:16:50 +05:30
Kiran Ashok
60bc09f0ba
fix :: drag issue in column properties (#4840) 2022-12-22 17:01:36 +05:30
Arpit
8e1a3bab9c
[improvement] Multipages : sync undo redo to page level (#5010)
* undo/redo is page level

* resolves: auto save definitions and double redo/undo actions
2022-12-21 18:49:05 +05:30
John Bampton
c84d306fc3
[CLI] Fix spelling (#5027) 2022-12-21 15:09:47 +05:30
vjaris42
307f869ff9
Make encrypted fields editable (#5008)
* fix: data sources update

* fix: default state for custom s3 url

* refactor: move state to parent

* make encrypted fields default enabled for new datasources

* show edit toggle only while editing datasource

* chore: change toggle placement

* chore: replace edit toggle with button

* fix: password reset
2022-12-21 12:33:12 +05:30
vjaris42
68393cecb2
[Feature] :: Allow users to invite users in bulk (#4995)
* add: ability to bulk upload users

* refactor: inviting users asynchronously

* chore: add transaction wrap

* chore: fetch existing groups initially

* chore: add transaction wrap

* chore: add package-lock

* fix: namespace issue

* fix: empty group names
2022-12-21 12:32:39 +05:30