Commit Graph

2159 Commits

Author SHA1 Message Date
devrk96
3f9d2e8d8d
Feature: Callout component (#535)
* callout component with story implemented

* text className import fixed

* callout color and background color fixed

* storywrapper import fixed

* fill property fixed

* background prop added
2020-09-15 12:40:53 +05:30
Hetu Nandu
f09b717b38
Retry dynamic import and lazy promises (#543) 2020-09-15 12:29:58 +05:30
Shrikant Sharat Kandula
e551043080
Fix plugin executions/test/structure breaks when auth is null (#544) 2020-09-15 12:09:49 +05:30
devrk96
2b808797f5
Cypress selector added in component system (#534)
* cypress-selector added in component system

* unused import removed
2020-09-14 22:28:54 +05:30
Shrikant Sharat Kandula
6c7e45d010
Add a connection type variable for Plugin implementations (#531)
* Add a connection type variable for Plugin implementations

This type variable is intended to represent the type of the
connection object, if any, that the plugin will use. This will
help make the implementations more robust by leveraging Java's
type checking instead of rudimentary type casts over the
connection objects.

* Fix missing typevar usage
2020-09-14 20:36:47 +05:30
Shrikant Sharat Kandula
3f5930e52e
Add datasource structure support for DB plugins (#523)
* Base interface for getting datasource structure for databases

* Add keys and constraints to structure for Postgres datasources

* Use connection from datasource context for computing structure

* Refactor context retrying into a separate method

* Add base datastructures for templates in entity explorer

* Fix spring circular dependency

* Add test for postgres datasource structure

* Generate column names and sample values for INSERT query

* Add LIMIT clause to generated SELECT query

* Fix tests for generated SELECT query

* Minor refactoring
2020-09-14 18:59:11 +05:30
akash-codemonk
1701df82c3
Add remaining moment defs (#537) 2020-09-12 11:54:20 +05:30
Nikhil Nandagopal
c0fcdef4b6 Merge branch 'master' into release 2020-09-11 17:08:15 +05:30
vicky-primathon
2cb7c7be97
Reset selected rows when table data is modified (#536) 2020-09-11 17:07:33 +05:30
vicky-primathon
c0b803fa99
Fix-table tooltip flicker (#510) 2020-09-11 16:55:48 +05:30
vicky-primathon
e343f9deaa
Table Widget: Date column type: user defined input and display format (#409) 2020-09-11 16:10:15 +05:30
Abhinav Jha
c02a19396f
Fix the stacking context of the sidebar (#533) 2020-09-11 13:50:33 +05:30
Trisha Anand
069dd53e32
Changing spelling of colour to match the front-end used spelling. (#532) 2020-09-11 12:31:07 +05:30
Arpit Mohan
2a3ccd7e25
Removing SSH Tunnel from Mongo & Postgres plugins (#529)
We don't yet support this feature hence removing it from the UI. Will add it back again once the backend supports SSH tunnelling.
2020-09-10 18:29:49 +05:30
Nikhil Nandagopal
3648d9f108
Added JS convertible for date picker 2020-09-10 16:24:32 +05:30
Nikhil Nandagopal
3b4db07697
Update welcomeUserTemplate.html 2020-09-10 16:20:00 +05:30
Nikhil Nandagopal
88b471cbd0
added code to merge page load responses if they return before action … (#528)
* added code to merge page load responses if they return before action load responses

* commit to trigger tests

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-10 16:12:16 +05:30
Nikhil Nandagopal
5fbe993541
Update welcomeUserTemplate.html 2020-09-10 16:01:35 +05:30
Trisha Anand
3337f423a1
Adding back API on load setting on the client side. (#526) 2020-09-10 15:47:30 +05:30
Nikhil Nandagopal
9063488acf
Update welcomeUserTemplate.html 2020-09-10 14:50:44 +05:30
Trisha Anand
9dcb7d5522
When on page load setting is changed, update layout must be called to update the onPageLoadActions field in the layout. (#467) 2020-09-10 14:30:30 +05:30
akash-codemonk
e5cb636ea4
Remove run on page load in api pane (#524)
* Remove run on page load in api pane

* Remove run on page load setting in query pane

* Revert removal of run query on page load
2020-09-10 13:13:01 +05:30
Nikhil Nandagopal
7724fe5d82
Feature/intercom (#521)
* removed duplicate user object
removed id field which is never populated
added help modal in applications page and intercom to load in help modal
shutdown intercom on signout to clear existing chats

* added analytics to help modal and invite user
unescaped bindings before evaluation to prune newlines

* updated action confirmation text

* added a check to ignore old properties which are no longer dynamic

* fixed test case

* fix tests

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-09-10 12:56:55 +05:30
Nikhil Nandagopal
02c3c199ac deprecated selectedOptionValueArr 2020-09-10 12:51:44 +05:30
Shrikant Sharat Kandula
42545d1e88
Add migration to fix incorrect action IDs for onLoad (#519)
* Add migration to fix incorrect action IDs for onLoad

* Remove redundant comments

* Fix migration to work with published onLoad actions as well

* Only update the action ID when correcting onLoad action IDs

* Fix migration name for correcting action IDs

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* Fix migration id for correcting action IDs

* Reformat code

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-09-10 11:37:32 +05:30
akash-codemonk
c55a9214e1
Fixes (#522)
- Remove cache fields from settings
- Call the event callback method with success false to fix button widget loading issue
2020-09-10 11:05:45 +05:30
satbir121
c1df5a95ac
Fixing storybook build (#517) 2020-09-09 13:20:38 +05:30
Hetu Nandu
96643507ec
Merge branch 'master' into release 2020-09-09 12:55:21 +05:30
vicky-primathon
fb34609c89
selectedRowIndexes changed to selectedRowIndices (#516)
Data type of selectedRowIndices changed to array of numbers
2020-09-09 12:42:15 +05:30
akash-codemonk
488d6f503b
Fix typo (#514) 2020-09-09 11:26:08 +05:30
vicky-primathon
da9274de10 Feature: Table Widget - multi row selection (#507) 2020-09-09 11:16:06 +05:30
Nikhil Nandagopal
c421ab12b1
removed duplicate user object (#513)
removed id field which is never populated
added help modal in applications page and intercom to load in help modal
shutdown intercom on signout to clear existing chats

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-09 10:48:36 +05:30
devrk96
34ff72b505
Feature: Radio group component (#481)
* Radio group component with story implemented

* radio group implemented using native input and label.

* radio component height fixed in story

* disabled name in theme corrected for radio

* align prop removed
2020-09-09 08:48:54 +05:30
devrk96
6fbab2078d
Feature: Checkbox component (#475)
* checkbox disabled state added and checked UI fixed

* checkbox imported corrected in story

* checkbox implemented using input and label elements.

* align and isChecked props removed

* used styled component for span
2020-09-09 08:47:49 +05:30
devrk96
5d28f8f14e
Feature: Tooltip component with story (#498)
* tooltip component implemented with story

* default props fixed

* used constant classes names

* blueprint classname corrected
2020-09-09 08:46:44 +05:30
vicky-primathon
f7931701d8
Feature: Table Widget - multi row selection (#507) 2020-09-08 18:34:51 +05:30
NandanAnantharamu
d8bbccb63a
Drag And drop widget (#503)
* Drag And drop widget

* Updated cordinates
2020-09-08 16:24:55 +05:30
devrk96
1cbff7211d
Feature: Toggle component (#490)
* Toggle component implemented with story

* props fixed

* lighten and darken colors implemented

* removed the unused css properties

* removed the used import in story

* toggle hover state fixed

* storywrapper import updated
2020-09-08 15:03:44 +05:30
devrk96
79c3bd6992
default icon selection issue fixed in stories (#495) 2020-09-08 15:00:17 +05:30
akash-codemonk
7271cd0a7a
Add few ternjs defs for moment (#508) 2020-09-08 14:13:46 +05:30
akash-codemonk
be2963061e
Add more options to action settings (#473) 2020-09-08 10:27:13 +05:30
Nikhil Nandagopal
96093426bf Merge branch 'release' 2020-09-07 23:13:05 +05:30
dependabot[bot]
41a51c2885
Bump bl from 2.2.0 to 2.2.1 in /app/server/scripts/node (#496)
Bumps [bl](https://github.com/rvagg/bl) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 12:52:35 +05:30
Shrikant Sharat Kandula
f5f66229ec
Get list of application IDs to be cloned as examples from template config (#442)
* Get list of application IDs to be cloned as examples

* Fix tests so that apps to be cloned are explicit

* Add migration to set applicationIds for example cloning

* Fix example org cloning tests
2020-09-07 11:40:28 +05:30
Trisha Anand
a8a7955f41
Added new fields colour and icon in application required for homepage redesign project (#499) 2020-09-07 11:13:58 +05:30
Trisha Anand
437d04f045
Added a field to denote confirmBeforeExecute field whose functionality would be handled by the client. (#487) 2020-09-07 11:12:08 +05:30
Nikhil Nandagopal
d7c10fb1e2 removed id field 2020-09-05 13:12:35 +05:30
Nikhil Nandagopal
0b1bc06b29 remapped identification to username field 2020-09-05 13:06:12 +05:30
Nikhil Nandagopal
38a82ae70a updated user object and pass the correct user id for user data 2020-09-05 12:58:29 +05:30
Shrikant Sharat Kandula
3353962719
Fix MongoDB plugin update commands produce an empty response (#469) 2020-09-04 10:56:09 +05:30