* fixes: Typing , or on any code box will crash the app completely
* handle circular dependecies in the preview component and checks to resolved reserved keywords list
* remove comments
* exp: resolves reserved keywords to null if declared inside obj
* Remove unnecessary import for react-hot-toast
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Added a spinner for show before rendering template images
* Spinner with another lazyload lib
* Added additional property to track img changes
* Changed lazyload with spinner to a reusable component
* Set visibility, loadingState and disabledState of all components to be displayed as UI
* Set fxActive of visibility, loadingState and disabledState of all existing components to true
* Remove unnecessary console.log from migration
* fixes default value for restapi
* fixes default value for restapi
* restapi-url field width 100%
* removes extra padding from codehinter input field
* fixes querypanel code hinter margins
* fixes overlap fields firestore
* Fixes fx
* fix: jump effect while fx switch
* Revert "fix: jump effect while fx switch"
This reverts commit 75471678ce.
Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
* add position abs and zindex to comment loader
* remove react-spring, prevents slow fade in effect
* remove animation class
* dark mode code added
* reset edit comment id on comment saved
* alignment fixed for fx
* fixing text colour in dark mode fx
* formating all boolean values
* including number type
* updating functinal logic for number type
* style updated
* style updated
* fixing table text colour not showing bug
* fixing darkmode bg colour
* Flipping transition animation , without delay fix
* bugfix:: fixing styles margin updated
* fixing margin
* fixing padding for new number input
* Revert "fixing margin"
This reverts commit b74e524443.
* Set bottom margin for hinter column to 16px
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Adds walkthrough
* Fixes
* Added a condition for walkthrough
* Changed popup design
* Now walkthough only show after first version is created
* cleaning code
* Minor fixes
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
* implement google sheet oauh token refresh flow
* format lint
* make use of constructor name as instanceof fails
* remove unused import
* force consent to get refresh token on googlesheets ds
* fixes:component names should be generated uniquely
* refactor
* removed unwanted condition
* fire toast only when user presses enter or onBlur event fires
* error toast only one should be shown at once
* refactor
* removed not req change
* 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>
* Allow flipping non-code fields to code fields
* Revert "Allow flipping non-code fields to code fields"
This reverts commit 190e686994.
* Accept type prop to CodeHinter
* Allow CodeHinter to display UI elements instead of codebox
* Use style FxButton as flipper for code hinter
* Do not show Fx button on codehinter that allows only codebox
* Implement Select and Toggle flippable fields for code hinter
* Apply proper padding for Fx button on codehinter and its toggle component
* Make component properties remember their Fx status
* Avoid generating code when Fx is activated
* Add Fx to color field
* Add Fx to align property type
* Support json type for codehinter and remove unused Text type
* Extend codehinter width to 100%
* Fix bug that caused serverside pagination property to not work
* Remove unnecessary comments
* updating File picker
Text input
Text area
DateRangePicker
Datepicker
PasswordInput
NumberInput
TextInput
codeEditor, to include border radius style option
* change to number input
* theme file updated to remove override for border radius
* change to number input
* text input updated with border radius style
* updated with border radius
* date range picker border radius removed
* removing overiding class
* fixes: On clicking Go to all datasources, UI renders the same component again
* fixes: modal datasource state update issue
* removes unwanted comments
* Expose setPage action of table on application load itself
* Coalesce target pageIndex to 1 for set table page action
* Do not fire onPageChanged for set table page action
* Change exposed pageIndex when set table page action is fired
* Use setExposedVariable to set pageIndex on set table page action
* Do not display functions on side bar inspector
* add modal to create init version
* add init version and ability to auto save
* auto save only when editing version is set
* Feature: App version management ui revamp (#1873)
* add modal to create init version
* add init version and ability to auto save
* auto save only when editing version is set
* revamp version switching on editor
* skip save on app definition load
* handle click outside dropdown
* fix remove component and update styling
* fix auto save detail
* change wording of deployed to released
* remove console.log
* add spec for version creation from another version
* update version create model and hide save detail after shown
* enhancement : import option to dropdown in homepage
* updated style for dropdown item
* included hover styles
* custom hook for inline media query according to screen size
* updated position of dropdown to end align in large screen
* screen size updated
* pr review changes : cleanup and css moved to theme file from internal
* typo error updated
* fixing lint issues
* added circular progressbar widget
* added a basic documentation about the widget
* added progress attribute
* bounding issue is solved
* edited the widget doc
* Added new style
- Text color
- Text size
* Changed the documentation
* new modal body with sidebar
* sidebar list
* card ui component and render datasources in deck of cards
* style fixes-datasource modal
* modal card ui
* refactored cards
* Card refactored
* data source list modal
* modal margin topt
* modal datasource search bar
* styles fixes and searchbar
* style fixes for the search bar
* margin fixes
* added filter for datasources
* undo unwanted
* empty state ui
* handle back to all datasource from empty etate
* on type icon
* clear icon
* updated onexit
* refactored handlesearch
* suggestion datasource ui
* removes active class when suggestion ui is on
* styles fixes for suggestied ui
* added darkmode fixes
* styles fixes
* padding fixed for search box
* exp: hover effect on datsources card
* exp: hover effect on datsource tyes list
* fixes typos
* should not able to submit an empty value
* fixes unsued console.logs and white spaces
* plugin icon prop to card component
* fixed close icon
* fixes margintop for searchbar
* list size fix
* fixes datasource title
* fixes datasource list padding
* moving minio plugin to cloud storage type
* fixing typos and refactored
* improved search
* fixes search box sideeffect
* fixes back to all datasources list
* adding groups which lists all the groups the current user belongs in globals [inspector(leftsidebar))]
* adds a check for possibility exists for a missing ref
* 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
* disabled rnd dragging on maps widget canvas
* fixed: initial location field doesn't update map on the fly if lat and lng changed
* Exposed googleMapUrl
* Added text alignment property
* Replaced dropdown list with image radio buttons
- Added list of action buttons
- Added tooltips
* changed colors and icons
* tooltip is redesigned
* Added Json description feature
* Added a toggle button for toggle from chart data to json data
* toggle effects for chart-data and json-data is added
* documentation about json part is added
* replaced the position of json toggle . changed the section and label name
* marker color field will hide if plotly is enabled
* implemented tags widget
* added text color option, changed default tags
* added scrollbar & space between tags
* Required changes are added:
- Changed colors of buttons as per the document
- Now scrollbar only shows if it is needed
- Tags height will be static
* Changed documentation
- Added gif file
* Removed text color style option from inspector
- Changed md text file
* add launch icon
* Set categories for app templates
* Display button with dropdown for create new app
* Show modal when "create from template" is chosen
* Implement template selection modal category list
* Filter and list app templates based on selected category
* Display template screenshot on templates modal
* Align template screenshot vertically and horizontally centered
* Deploy template app when deploy button of template modal is clicked
* Display data sources in template preview
* Add search functionality to template modal
* Show "no results" if templates are not found
* Display category counts on template list
* Add styles for darkmode
* Dark mode style updates for template modal
* Add dark mode template screenshots
* Correct template screenshot proportion
* Change text on deploy button of template modal
* Remove links to apps and library from dashboard
* Remove library apps
* Remove unnecessary import of deleted component Library
* Show loading icon when template is being created
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* 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>
* feature-842 mongo support
* feature-842 fix
* json parse improvement
* Feature-842 date data type support
* feature-842 fix
* convert ejson to bson on mongo queries
* fix type on parse
* json parsing
* Typo error fix
* Insert Many Fix
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* [Chore] eslint fixes (#1704)
* lint fixes
* fixes lint errors
* Use react-select library for dropdown
* Support search event and loading state on dropdown
* Apply brand color to dropdown
* Apply brand coloring to dropdown options
* Remove unnecessary code
* Fix unnecessary firing of onSearchTextChange on dropdown
* Display blank on dropdown if value is undefined
* Fix bug that caused dropdown disable to not work
* If values passed to dropdown are not array, make it array
* Grey out dropdown text for disabled dropdown
Co-authored-by: Arpit <arpitnath42@gmail.com>
* 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
* make calendar week date formattable
* update version only if calendar is present
* Fix erroneous date format determination while migrating to custom week view date format
* Add documentation for calendar week view header date format style
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Install typesense npm package
* Implement CRUD operations using TypeSense
* Add documentation for typesense integration
* Rename apiKey to api_key and make it encrypted for typesense
* Add logo for typesense data source
* Add delete operation to typesense
* Add documentation for delete document
* Make protocol field a dropdown for TypeSense
* Additional documentation for TypeSense data source
* new implementation/modal
* title fixed
* removed use of component for getting exposed variable
* renamed useState var
* Rename variable canShowModel to canShowModal on Modal component
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* new implementation/image
* Revert "new implementation/image"
This reverts commit 637bd83108.
* new implementation/container-widget
* resolved
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* new implementation/rich-text-editor
* Ensure that Rich text editor exposes its default value on load
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* new implementation/daterange-picker
* resolved
* Bump default width of range picker from 8 to 10
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* text-input widget
* button widget
* fix text input widget
* number input widget
* checkbox widget
* refactor checkbox
* radio btn widget
* dropdown widget
* refactor textinput and number input
* updated state variable
* Remove usage of component and currentState prop in dropdown
* Reset dropdown value whenever option set is changed
* Make text input respond to changed in its default value property
* Radio button component fix
* default value for number input: fixed
* Fix validation on Text Input component
* Use useState hook to manage value of text input component
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* new implementation/image
* Revert "new implementation/image"
This reverts commit 637bd83108.
* new implementation/chart widget
* Remove the usage of currentState from chart component
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* upddated to new api & multiselect labels fixed
* backfill properties
* Expose default value of multiselect once the component is loaded
* Make multiselect reset to empty whenever option set is changed
* Whenever option set of multiselect changes, set it to default value if default value fits inside the new set of options
* Avoid crash in multiselect using ? operator.
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* 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
* 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>
* 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