Naveen Pandurangi
fe9233adf4
Hide query panel tabs if a data source is not selected. ( #2505 )
...
* FIXES #2451
Hide query panel tabs if a data source is not selected.
* FIXES #2428
Increase the width of search field when focused
* Update code
2022-03-15 08:34:32 +05:30
Muhsin Shah C P
54562bfa05
Json preview of query pane is slowing down the app ( #2434 )
...
* Working on json preview
* Added new json preview lib
* Changed theme background
2022-03-08 14:57:28 +05:30
Karl Rezansoff
80b6f5170b
Disable preview and create query button when no datasource selected ( #2314 )
2022-02-22 10:24:03 +05:30
Arpit
c0e90ec729
Fixes icon and text alignment for query-pane datasource selection ( #2289 )
...
* fixes icon and text alignment for query-pane datasource selection & adds runjs icon
* fixes horizontal alignment for datasource icons and name
2022-02-19 23:42:50 +05:30
Arpit
eda1b0f431
Fixes querypanel reset when widget is clicked or dragged ( #2204 )
2022-02-12 21:30:10 +05:30
Gandharv
c6cebde78f
Remove blue border of source dropdown ( #2094 )
2022-02-03 12:38:23 +05:30
Arpit
3a62ac9820
[improvement] Query panel redesign ( #1947 )
...
* query panel headers styles
* create query button style update
* create query button style update
* create query button style update: mixins
* querypanel header nav-links updated
* querypanel header buttons
* restapi: url hinter styles
* fixes querypane header width, undo prev styles applied
* querypanel header icons margin fix
* restapi: header tab
* restapi: params tab
* restapi: body tab
* base url style fixed
* added alert component to @/_ui
* adds margin top to query-panel tabs
* bumped font weight of preview
* on hover query style updated
* selected query style update and along with dark themed
* adds new searchbox component, added search queries
* fixes query panel query lists icons margin
* query selected hover bg
* back icon should not be render if callback is a function
* airtable: queries redesigned
* stripe: queries redesigned
* fixed query-pane header responsiveness
* fixes tab title typo
* undp/redo select datasource only when mode='create'
* removes comments
* refactor restapi url codehinter styles
* fixes white spaces in query pane and query pane header
* minor updates for restapi query options styles
* removes tool-tip for lens svg icon for search: query-pane header
* adds button loading spinner with primary color
* fixes hover bg color for queries
* update: query hover bg color to lighter tint
* update query list icons: trash and play svgs
* adds icons to the selection component
* fixes tabs alignments restapi
* fixes codehonter text margin: restapi url
* fixes advanced-options-container margintop
* new UI query: dynamodb
* new UI query: elasticsearch
* new UI query: firestore
* new UI query: mongodb
* new UI query: mysql
* new UI query: psql
* new UI query: typesenseapi
* new UI query: gsheet
* new UI query: sendgrid
* new UI query: twillio
* new UI query: gcs
* new UI query: minio
* new UI query: aws
* update query bg color and hover bg color
* fixes run query icon for dark theme
* fixes input query title text alignment
* update query header title
* adds search queries placeholder and add icon when search box is displayed
* updated No results query text
* undo/redo rest-api tabs: fixes whote spaces
* undo/redo: rest-api tabs conde hinter placeholder paddinleft
* adding new queries when search box component is mounted:fix
* fixes creating a new query after filtering queries
* fixes dark theme for select search components
* reverts query pane header search box with add icon
* fixes input left margin
* fixes bottom padding rest api tabs
* fixes toggle button:not selected in dark theme
* fixes typos
* fixes preview button spinner size
* undo/redo: query-trash-icon.svg for queries and trash.svg for components
* query icons badge bg update[options]
* icon badge fix
* move static styles to theme.scss
* restapi: url field height increment
* fixes query name when adding a new query with filtered querylist
* fixes alignment issues of the query header icon
* revert back to 32px code hinter height
* adds apdding to code mirror line
* updates to react-select
* remove component unmounts and mounts side effect
2022-02-02 22:29:57 +05:30
Marco
616ee8ed7c
Fix: Make query manager dropdown visible in dark mode ( #2008 )
...
* Set up styles for dark mode vs. normal mode
* Fix datasource query dark mode visibility
* Remove unnecessary import
2022-02-01 08:42:57 +05:30
Akshay
7af79c091e
Fix: Namespaced data source connectivity issues ( #1914 )
...
* add mysql package dependency
* fix mssql
* fix redis
* make use of backward compatible opensearch package for es
* fix es request
2022-01-27 16:01:39 +05:30
marboleda
f89d30edb5
Allow dropdown option to be selected on Enter key press (Query Manager) ( #1899 )
...
* Replace react-select-search component with react-select one
* Remove react-select-search import and commented-out component
2022-01-23 14:45:25 +05:30
Karl Rezansoff
c56fd143d4
added dark theme to querymanager dropdown lists ( #1839 )
...
* added dark theme to querymanager dropdown lists
* set Operation dropdown to 100% width to match light mode
* removed filter on icons, removed commented out styling
2022-01-20 10:11:01 +05:30
Karl Rezansoff
fc5ea5f7a3
Querymanager add logo ( #1818 )
...
* added logos to querymanager
* fixed to pass eslint check
* fixed positioning of icons
2022-01-14 10:04:11 +05:30
Karl Rezansoff
1ff19c037a
added logos to querymanager ( #1744 )
...
* added logos to querymanager
* fixed to pass eslint check
2022-01-13 16:55:37 +05:30
Muhsin Shah C P
f4a158ca18
now toggle only works if we click on the input ( #1774 )
2022-01-12 13:56:48 +05:30
Akshay
823833b12e
Feature: Versioning data sources & queries ( #1620 )
...
* add migrations for versioning datasources and dataqueries
* eslint migrations folder
* update ormconfig to use app context in migrations
* make app to make use versioned data sources and queries in editor
* app import should honor data source and query versioning
* register ts-node path on running migrations
* load data queries when finding versions
* update e2e tests
* handle for invalid oauth2 datasources
* update e2e tests
* introduce db migrations access lock to handle concurrent backfill
* scope migrations by missing version id
* fix import export without data source/query versions
* fix import
* fix spec
* handle invalid data on migration
* fix import
* remove console logs
* handle new app imports
* fix version check
* fix async creation
* explicitly add timestamps on version import
2022-01-04 13:34:12 +05:30
Arpit
62e4d7363f
Fixes UI retaining the code from the prev query transformation ( #1703 )
2022-01-04 09:51:59 +05:30
Arpit
bf4ac12a7b
lint fixes ( #1686 )
2021-12-30 17:27:02 +05:30
Gandharv
ab9ba8d748
Remove max-min query manager option ( #1593 )
...
* remove max-min query manager option
* remove icons
2021-12-20 09:24:11 +05:30
Gandharv
89c7b1b89f
Make query manager re-sizeable ( #1569 )
...
* add drag handle to query manager
* remove console
* fix on resize options getting set to defaults
* remove prevent default from mouse move
2021-12-15 09:32:43 +05:30
Gandharv
6c90a1667b
Feature: undo/redo for canvas 🔥 ( #1446 )
...
* feat: add restore shortcut when component is deleted
* change toast messages to hot toast from toastify
* change toast messages to hot toast from toastify
* change toast messages to hot toast from toastify
* on key press match clear the pressed keys
* add react hotkeys hook and delete use-shortcuts custom hook
* change toast messages to hot toast from toastify
* add immer lib
* applyPatches from immer + add undo redo on appdefination changes
* remove notification on undo
* add can-undo + can-redo checks
* add missing can-redo to handlePatchAdd
* add component versioning on componentDefinitionChanged
* set default value of loading state to interpolated boolean false for table
* set canUndo on initial load to false
* fix last element not getting removed on undo
* Remove console log
* add migration to change loadingState for existing tables
* set loadingstate value based on the previous value
* fix: app crash on inspector opening
* add check for selectedComponentId inside components def
* update template definitions for loadingState
* fix alert for success, error, info for button notifications
2021-12-11 04:41:24 +05:30
Arpit
b9754c4b6b
[Feature] popup modal for code hinter ( #1465 )
...
* portal for code hinter popup
* codehinter portal styles
* portal editor height
* update icons
* hinter changes
* refactoring to a separate dir
* code hinter - portal
* component details added in the portal header
* portal header: source name fixed
* portal header: inlcludes field name in the header
* display field names for rest api
* display field names for transformation
* handle for empty component names
* portal preview code bg
* foreUpdate
* foreUpdate
* refactored and using same codemirror component to render portal's editor
* clone codemirror to two different component
* fixed - need click to render the field data
* force update
* table component cell types: included
* chart component types: included
* alignment of the preview area
* btn color adapts to theme-fix
* remove console.logs
* disable portal editor for event manager
* scss unsued ruleset removed
* name fixes and remove unsued var
* .
* null check
* removed hardcode componentName
* app z-indexes: added z-index for suggestion-hints
* hook exhaustive-deps
* portal custom hook
* updated function name
* icon position fix
* hinter fails to open in certail scenarios: fixed
2021-12-10 08:39:23 +05:30
Gandharv
8591dc4362
Add new navbar changes ( #1538 )
...
* Add new navbar changes
* css fixes
* canvas bg color picker
* css fixes
* add minimize icon
* add spacing when query panel closed
* add svg icon files
* reduce create button size and align to middle
* fix global settings styles
* retain selected data source on panel height change
2021-12-09 09:13:32 +05:30
navaneeth
c4b24e645e
Merge remote-tracking branch 'origin/main' into develop
2021-12-08 13:55:22 +05:30
Gandharv
886da251cd
fix query manage old state retained on add query ( #1537 )
2021-12-08 13:39:20 +05:30
Navaneeth Pk
3477f7ff15
Support for running JavaScript as a query ( client-side execution ) ( #1507 )
...
* Custom js feature
* Disable transformations
* Fix
* Fix
* Fix
* Icon
* Rename variable OthetSources to OtherSources
* Fix
* Fix
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-08 13:03:08 +05:30
Gandharv
372bfe7a18
fix: query manager closing on view updates ( #1478 )
2021-12-02 14:17:48 +05:30
Gandharv
b61d07e0c5
Refactor: move default options to schema files ( #1425 )
...
* refactor: move default options to schema files
* fix: use options instead of source.options
* add default empty object when defaults not present in schema
* add null checks for gsheets and slack component
* removes un-necessary console log
* delete constancts file
* delete default options file for data sources
2021-11-22 13:52:32 +05:30
Gandharv
1ddd170539
Add schema for data query editor ( #1361 )
...
* Initial commit for data query schema changes
* db: add mssql schema
* api: add graphql schema
* api: add redis data query editor
* db: add my sql db
* api: dataquery - add airtable api schema
* api: dataquery - add dynamodb api schema
* database: dataquery - add database api schema
* database: dataquery - add elastic search api schema
* database: dataquery - add mongo db schema
* database: dataquery - add postgre sql schema
* api: dataquery - add slack schema
* api: dataquery - add google sheets schema
* database: dataquery - add gcs schema
* fix: dynamodb styles
* fix: elastic search styles
* fix: firestore styles
* fix: remove line numbers + add className prop + add initialValue prop
* remove line numbers
* cleanup: remove jsx files of data queries
* cleanup: fix merge conflicts
* fix: on edit dropdowns not retaining value
* fix: remove unnecessary log statement
2021-11-17 23:29:00 +05:30
Arpit
a203253131
Feature: adds code preview for codeboxes ( #1011 )
...
* preview codeHinter default=true
* adding preview code for codeHinter for table widgets
* previw for codeHinter in eventManager and RestAPI headers tab fixed
* added classes to header tabs
* fixed preview for transformations
* widgets preview for title
* preview for advance tab QueryManager
* preview box for datasource queryeditor
* sql code hinter UI spaces fixed
2021-11-15 11:48:09 +05:30
Arpit
51d6537b02
Request confirmation before running query if true ( #857 )
...
* fixes state of toggles and currentTab of dataQueries
* show confirm modal when query confirmation request is switched true
* simple and better fix:updating the helper function solves the issue
* minor fix for eslint-class declaration rule
* fire toast on queries running with requestConfirmation switched to true
2021-09-29 15:00:27 +05:30
Arpit
a9f7dc02fe
Fixes state of toggles and currentTab of dataQueries ( #851 )
2021-09-28 22:33:40 +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
Gandharv
5bb0594973
Enable suggestion box for codehinter ( #737 )
...
* enable suggestion box for codehinter
* add heading as type of the preview
* add preview only on focus
* remove box shadow
* add background to widget inspector documentation footer link
* doc footer updats
* add condition where boolean value was not getting printed
* use index as key
2021-09-15 21:10:59 +05:30
Akshay
f637a80fd6
Feature: data query deletion ( #734 )
...
* add feature for data query deletion
* fix after query deletion default query selection is not being done
* move delete option and hide option unless mouse is hovered on query
* show dialog box confirmation before query deletion
2021-09-13 22:54:47 +05:30
Akshay
2d20e262c9
Feature: Data query runs can also run events ( #666 )
...
* add capability to add events on data query runs
* UI fixes
* change popover placement to top
2021-09-06 20:10:51 +05:30
Gandharv
bd98fbdeee
fix: query pane margin ( #683 )
2021-09-03 10:31:01 +05:30
navaneeth
d4127736d6
Move the logic for option serializing to server
2021-08-30 23:15:31 +05:30
Gandharv
365e9e3cb3
Redesigned Rest api query builder 🎉 ( #612 )
...
* feat: add rest api new design
* fix page break on create/save query
* remove console.log
* align the i/p fields
* rename files
* remove border from i/p
* remove hover styles
* fix: filter empty headers, url_params, body
* fix when editmode headers empty
* fix the options on preview getting null
* fix navlink color on dark mode
* add color for non active tab in dark mode
2021-08-30 16:55:27 +05:30
navaneeth
1fdc4a1f23
Stability fixes for REST API query editor
2021-08-29 21:33:40 +05:30
navaneeth
116fc1f9f3
Feature: OAuth support for REST API sources
2021-07-25 22:50:19 +05:30
navaneeth
fae1fa7272
Policies and tests for running queries
2021-07-24 11:43:21 +05:30
navaneeth
cf39721b47
datasource id of rest api query should be null
2021-07-17 16:11:57 +05:30
navaneeth
ae07a60ae0
Show detailed errors as toasts for previews
2021-07-17 13:06:21 +05:30
Navaneeth Pk
4081c09cc3
Dark mode for preview rjv ( #377 )
2021-07-04 01:10:57 +05:30
Navaneeth Pk
23df1b981f
UI fixes for query editor ( #375 )
2021-07-03 22:37:50 +05:30
Navaneeth Pk
76fa78b675
Fix lint issue ( #367 )
2021-07-03 19:51:37 +05:30
Navaneeth Pk
150961b591
Feature/dark mode ( #366 )
...
* Dark mode part 1
* Dark mode part 2
* Dark mode part 3
* Dark mode part 4
* Dark mode part 5
* Dark mode part 6
* Dark mode part 7
* Dark mode part 7
* Dark mode part 8
* set light mode as default
* Dark mode part 9
* Dark mode part 10
* Dark mode part 11
2021-07-03 19:47:47 +05:30
Prasad Walvekar
c7446d4046
Chore: Rename class to className ( #345 )
2021-06-28 13:10:14 +05:30
Viraj Bahulkar
03e42fa844
Add datasource pre-fix to REST queries ( #261 )
2021-06-17 11:26:53 +05:30
Navaneeth Pk
e3243c1134
[BugFix] Fix for corrupt query options when pane is maximized ( #215 )
2021-06-09 18:10:08 +05:30
navaneeth
e321500cb5
Minor UI fixes
2021-06-04 09:31:09 +05:30
navaneeth
ab03d55d50
Remove external svg dependencies
2021-05-31 16:08:18 +05:30
navaneeth
9986534628
Updated query preview pane layout
2021-05-24 21:43:02 +05:30
navaneeth
feb6b5f082
Fixed layout for query manager
2021-05-24 18:39:00 +05:30
navaneeth
916a124f92
Fix for query previews not working in edit mode
2021-05-24 09:03:53 +05:30
navaneeth
5f1c0ec47b
Improved server-side error handling on frontend
2021-05-23 23:27:47 +05:30
navaneeth
98fd9e7451
Consistent loading status for query manager buttons
2021-05-22 20:32:26 +05:30
navaneeth
2644852367
Expand reactjson objects for query previews
2021-05-22 18:34:24 +05:30
navaneeth
39e15df815
Scroll to preview panel on query completion
2021-05-22 18:29:33 +05:30
navaneeth
f4aac792b7
Refactor query manager to preview queries without editor dep
2021-05-22 18:27:36 +05:30
navaneeth
f4f1b5fa2f
Fix for REST API query to support previews
2021-05-22 17:32:11 +05:30
navaneeth
a7e94367e1
Feature: Preview new queries
2021-05-22 17:20:55 +05:30
navaneeth
49aa29fb01
Feature: Query previews 🎉
2021-05-22 16:59:27 +05:30
navaneeth
e322b64206
Feature: Run queries from query manager list
2021-05-22 12:59:44 +05:30
navaneeth
2e346f6ff0
Normalize icon colors
2021-05-20 10:36:32 +05:30
navaneeth
de4d39ba40
Fix for query manager source reset on maximize
2021-05-17 16:04:21 +05:30
navaneeth
adb88c254e
Feature: Connect to mongo using connection strings
2021-05-13 22:08:13 +05:30
navaneeth
a418a6ebae
Feature: Query editor for DynamoDB, list table query
2021-05-13 19:01:55 +05:30
navaneeth
75925c4e3b
Lodash support for transformations
2021-05-13 15:24:58 +05:30
navaneeth
1833a798f6
Minor UI bug fixes
2021-05-13 12:55:54 +05:30
navaneeth
3fd6f31395
UI changes fo REST API query editor
2021-05-09 10:55:00 +05:30
navaneeth
737c33f150
Query editor for mongodb
2021-05-04 18:10:44 +05:30
navaneeth
407de9f58e
Query editor for slack
2021-05-04 12:15:04 +05:30
navaneeth
2121dd1d1c
Code hinter for transformations
2021-05-03 19:57:32 +05:30
navaneeth
33f6b8b215
Feature: Code hinting using codemirror 🎉
2021-05-03 13:40:23 +05:30
navaneeth
89bdd82080
Multiple bug fixes for rest api queries
2021-05-02 14:57:26 +05:30
navaneeth
46d54a70cc
Auto resize for query editors & transformations
2021-05-02 11:47:22 +05:30
navaneeth
0e2b7a47f5
Fix for JSON tree data issues of state inspector
2021-05-01 23:35:44 +05:30
navaneeth
cfb339d2cb
Feature: Enable transformations for all sources
2021-04-30 21:45:42 +05:30
navaneeth
173222c36e
Feature: Query name should be unique within an app
2021-04-30 18:13:29 +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
a0f9762443
Highlight plaintext field on mouseover
2021-04-29 22:26:33 +05:30
navaneeth
a08269fc36
Feature: Change query names, validate query names
2021-04-29 22:09:09 +05:30
navaneeth
421adfd337
Feature: Elasticsearch query editor
2021-04-28 13:36:14 +05:30
navaneeth
fdf23e439b
Fix inconsistent display behavior of tooltips
2021-04-26 23:57:37 +05:30
navaneeth
d864e3a49d
Tooltip for run action of query editor
2021-04-26 23:45:44 +05:30
navaneeth
25c642d626
Show feedback on button while query is running on editor
2021-04-26 23:38:49 +05:30
navaneeth
5624deb3dd
Feature: Run queries from query editor, bugfixes
2021-04-26 23:24:41 +05:30
navaneeth
91bf4bc525
Minimize query editor, bug fixes for query manager
2021-04-26 12:43:20 +05:30
navaneeth
a068915812
Query builder for google sheets
2021-04-22 16:29:14 +05:30
navaneeth
00c18b63fd
Empty states for queries and sources
2021-04-21 19:37:02 +05:30
Navaneeth Pk
6fa71618ef
BugFix for: Cannot change query on editor ( #111 )
2021-04-19 22:55:26 +05:30
navaneeth
d590afcd18
Feature: Redis query editor
2021-04-19 22:19:57 +05:30
navaneeth
2156c19e5e
Frontend: Authorise OAuth2 services
2021-04-18 14:59:44 +05:30
navaneeth
5da5dbbe57
Display loaing state for query creation/updation
2021-04-16 19:14:54 +05:30
navaneeth
78ee171868
Fix for multiple alerts being triggered
2021-04-14 09:56:44 +05:30
navaneeth
8fb25f5d75
Firestore query editor for get doc & get collection
2021-04-13 22:22:51 +05:30
navaneeth
d52cf98cb2
Featue: Show notification on query success
2021-04-11 08:44:29 +05:30
navaneeth
0206fa783b
Feature: request confirmation before running queries
2021-04-10 10:03:00 +05:30