Commit Graph

2805 Commits

Author SHA1 Message Date
Hetu Nandu
855fc1c00a
Fixes date widget crashing when no date format is mentioned (#322)
Fixed by using a proper default format string for ISO dates
2020-08-17 10:33:15 +05:30
satbir121
cbc4796921
Fixing icon story disabled prop. (#321) 2020-08-17 09:31:15 +05:30
satbir121
ac91bedb98
Table component ads (#251)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* feedback changes added in button and icon component

* type any removed in button component

* function naming corrected

* table component ui and sorting implemented

* table component default sorting implemented

* Fixing spinner issues

* Fixing bad merge

* table feedback implemented

* merge conflict resolved

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-08-17 08:55:35 +05:30
Hetu Nandu
f38cd1da1f
Intercom object check before execution (#312) 2020-08-14 17:12:58 +05:30
Hetu Nandu
a560761a53
Fixes for Intercom check and alias paths 2020-08-14 16:34:46 +05:30
Shrikant Sharat Kandula
a79951bae9
Don't always automatically create a blank personal org (#306)
* Don't always automatically create a blank personal org

It will still be created, only if a example template organization
has not been configured in the system.

* Name examples organization same as personal organization

* Minor fixes in tests

* Remove unused userService in clone tests
2020-08-14 15:30:52 +05:30
Hetu Nandu
7f8befc365
Update support menu (#259)
Add a default help menu with
* Report a Github issues link
* Documentation link
* Github discussions link
* Intercom link support
* App version id support
2020-08-14 15:17:47 +05:30
vicky-primathon
72d08b6c99
Fix-Operator in table filter made as empty by default (#272)
* Operator in filter made as empty be default

* Added props.placeholder as dependency for useEffect in CascadeField component
2020-08-14 14:30:59 +05:30
Hetu Nandu
d24d0ed17c
Fixes to data tree appsmith entities (#307)
* Fixes to data tree appsmith entities
* Add app mode `appsmith.mode`
* Add a common app data state for appsmith namespace entities
* Add autocomplete entries for btoa and atob
* Add urlString property in appsmith.url for full url
2020-08-14 13:13:01 +05:30
Abhinav Jha
e22a9c6dc6
Entity Explorer Fixes (#305)
* Fix: modal widget closes when navigating to the widgets pane from explorer

* Fix: Align API input tab with the headers

Fix: align delete and run buttons to the right in queries pane

* Fix: while dragging, the cursor must be 'grabbing'

* Set new widget name in editing mode

* Fix: While property pane is open, changing the widget name in entity explorer does not update the name in the property pane

* Fix: The expanded entity property value popup should not have a label, as its function is only to show the full version of truncated data

* Feature: Edit datasource name from entity explorer

* Fix: Allow users to navigate from the placeholder text

* Fix: When moving or copying apis, navigate to the moved or copied api
2020-08-14 12:48:30 +05:30
devrk96
ef2eb6107d
Tabs component Appsmith Design System (#300)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* tabs component implemented and theme type added

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* tab props fixed

* feedback changes added in button and icon component

* type any removed in button component

* key prop fixed and icon margin corrected

* Fixing spinner issues

* Removing unwanted files.

* tab header icon size fixed and story updated

* new tab added in tabs story

Co-authored-by: Satbir Singh <satbir121@gmail.com>
Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com>
2020-08-14 12:41:38 +05:30
akash-codemonk
476dc2bd88
Remove phone number (#299) 2020-08-14 12:04:25 +05:30
Shrikant Sharat Kandula
50e8ee7255
Fix link in invite emails to point to signup page (#268)
* Fix link in invite emails to point to signup page

* Auto-fill email in signup page and remove CreatePassword component
2020-08-14 11:31:50 +05:30
Abhinav Jha
51b2410372
Fix issue where the copy info text overlaps the property binding text (#286)
* Fix issue where the copy info text overlaps the property binding text

* Add padding to copy icon and change color
2020-08-14 11:25:06 +05:30
Arpit Mohan
07605dae0a
Enforcing non-empty credentials for Mongo during installation (#298)
* Enforcing non-empty credentials for Mongo when we spin up a Mongo container during installation

* Adding a check for server startup before completing the installation
2020-08-14 11:22:15 +05:30
satbir121
fa7dc0b247
Text and TextInput component ads (#249)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* feedback changes added in button and icon component

* type any removed in button component

* Text component created with typography and story

* Fixing spinner issues

* Textinput component ads (#252)

* text input component with story is implemented

* Update README.md

* Fixing spinner issues

* Fixing hexToRGBA import

* story error fixed and text component commented for now

* props condition fixed and added error input story

* unused import removed

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>

* story spacing added and component name fixed

* feedback changes implemented

* forward ref added

* feedback changes implemented

* text and textinput stories updated

* pr comments resolved

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
2020-08-14 10:28:03 +05:30
areyabhishek
70a1f5610a
Update README.md 2020-08-14 00:50:00 +05:30
vicky-primathon
02a2d8e0a3
Fix-table widget compact mode row height (#285)
* Table column header made sticky. Scrollbar background changed to be in consistent with the background for table body scroll and table header scroll

* Row height changed for short compact mode

* New "Tall" row size
2020-08-13 22:11:08 +05:30
satbir121
dab6d1ea3b
Adding base64 library to realm executor (#304)
* Adding base64 library to realm executor

* Changing base64 interface to btoa and atob

* Making base64 a dependancy
2020-08-13 22:07:15 +05:30
Trisha Anand
52e7ed4f02
Bug Fix : When role changes from developer to admin, the user was not being given make application public permission for the application (#302)
* During add role to an organziation, the application was only inheriting from subset of the organization permissions. Generalized this code to ensure that this doesnt happen again in the future when more permissions are introduced. Refactored some code as well.
2020-08-13 18:53:00 +05:30
Hetu Nandu
1b09c02f2e
Fork app for example apps (#292) 2020-08-13 15:03:44 +05:30
Arpit Mohan
a9e16ee6c0
Adding dummy check in server build to satisfy required status checks (#296)
This is a hack to get around the fact that Github Actions doesn't support conditional status checks for monorepo PRs. Hence, we create similar jobs in the both server & client builds. In the server build, those jobs are dummy jobs that do nothing but satisfy the all-encompassing green tick so that PRs can be merged without using Admin privileges.
2020-08-13 14:50:34 +05:30
satbir121
0fa2088571
Revert "Tabs component ads (#248)" (#297)
This reverts commit 1e4c9b01dc.
2020-08-13 13:44:59 +05:30
Abhinav Jha
2cb5e4442b
Tab Widget Fixes (#293)
* Issue: Tabs widget's child canvas widget's minHeight is not updating

* Fix: Warning removed for unused onTabChange event handler by removing event handler from props passed to ScrollableCanvasWrapper

* Removed tab container not working as droppable component if added again with same name fixed

* Selecting first tab as default tab when no tab is selected in tabs widget. Used getNextEntityName funciton to generate new tab name
2020-08-13 13:38:16 +05:30
vicky-primathon
e1676beba2
Table filters to be accessible in publish mode (#273)
Filters are only available on the client. This results in filters being available in published mode.
2020-08-13 13:26:10 +05:30
vicky-primathon
b62f5cf3c4
Table widget filter column clickable area encompasses the whole area within its borders (#278) 2020-08-13 13:24:46 +05:30
vicky-primathon
1def463767
Table filters popup width increased, so that condition is not trimmed (#281) 2020-08-13 13:23:50 +05:30
vicky-primathon
9a9a04626e
Sticky Table Header
Table column header made sticky. 
Scrollbar background changed to be in consistent with the background for table body scroll and table header scroll
2020-08-13 12:23:21 +05:30
vicky-primathon
ef570567f6
Table column sorting on single click (#282) 2020-08-13 12:15:28 +05:30
satbir121
1e4c9b01dc
Tabs component ads (#248)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* tabs component implemented and theme type added

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* tab props fixed

* feedback changes added in button and icon component

* type any removed in button component

* Fixing spinner issues

* Removing unwanted files.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-08-13 10:47:58 +05:30
Abhinav Jha
1ced3aa67a
Add sentry release and environment configurations (#277)
* Add sentry release and environment configurations

* Fixing nginx config issue

Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-08-13 10:16:06 +05:30
Hetu Nandu
fbbe32c8f7
Fix Modal widget overlay to cover top bar (#266) 2020-08-12 20:18:49 +05:30
Arpit Mohan
10f462b229
Adding a test for the valid scenario when returning the plugin form details (#295)
We use @SpyBean annotation to partially mock the PluginService class.
2020-08-12 20:09:56 +05:30
akash-codemonk
aab61cf5fd
Set current value instead of default value when there is an error (#214)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-08-12 18:28:05 +05:30
akash-codemonk
4abc0b2637
Remove dark mode for query editor (#294) 2020-08-12 18:24:16 +05:30
Abhinav Jha
38afc64a5d
Update: When clicking on a page in the entity explorer, the canvas of the page opens (#288) 2020-08-12 18:00:07 +05:30
Tejaaswini Narendra
68e048761a
fix: restructure code and show content based on permission (#261)
* fix: restructure code and show content based on permission
- Restructure Invite user forms into separate App and Org forms
- Show Modal content based on permissions.

* update: Permission handling.

* fix: Modify permission handling

* fix: check manage permission for manage users btn and show copy to clipboard always.

* Dummy commit to run the tests

* Fix: Test cases

* Another dummy commit to run the tests

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-08-12 17:11:56 +05:30
Shrikant Sharat Kandula
368ed79f4b
Removed OPA config (#291)
* Removed OPA config along with the bundle and rules files
2020-08-12 16:52:42 +05:30
Shrikant Sharat Kandula
30c595678d
Set transient fields when loading application by id (#287) 2020-08-12 15:35:50 +05:30
Trisha Anand
c3c8e532c6
Updated the invite and make public app migration script more performant so that it takes lesser time on big db (#289)
* Updated the migration script to make more db queries instead of searching in the local app memory

* Permission correction.
2020-08-12 15:35:04 +05:30
Abhinav Jha
fecc6d3bbf
Add develop deploy context in netlify.toml (#284) 2020-08-12 14:18:07 +05:30
satbir121
b3b06d4bdf
Moved FETCH_USER_DETAILS_ERROR to ReduxActionError (#283) 2020-08-12 13:31:25 +05:30
Trisha Anand
7ee21456d5
Share Changes : Adding users to organization permission updates (#262)
* Introduced new permissions for making app public and inviting users.

* WIP : Returning a subset of roles depending on the current user's role

* Added code and tests for generating hierarchical children given a role name

* Get all invite roles now returns roles depending on the current users permissions (aka - admin can invite users for all roles, developers can invite users for roles develoeprs and below)

* When invite api is called, check if the user has correct permissions ( invite permission) and check if the role for which the users are bieng invited is allowed (aka the current user has the permission to invite for the said role)

* Introduced a new permission at application level which is inherited from manage:organizations. This new permission gives the administrator of the organization to make any application public .

* Incorporated review comments.

* Minor code changes.

* Added migration script to add the new policies introduced as part of this new share modal changes.

* Null pointer exception handled due to improper data in the database.

* Integration testing bug fixes.
2020-08-12 13:23:44 +05:30
Tejaaswini Narendra
c77452775b
update: Invite user dropdown UI (#267) 2020-08-12 12:47:15 +05:30
akash-codemonk
7565ca69d2
Use local stored config for property pane (#212) 2020-08-12 12:29:27 +05:30
akash-codemonk
a0351bfe81
Get query ui from form config (#205)
* Get query ui from form config

* Update editor config selector

* Show error message when config is undefined

* Move FormLabel to components

* Show dark theme in query editor

* Allow query name to be focused
2020-08-12 11:57:35 +05:30
vicky-primathon
c0527a4816
Reset page number when searching in table widget (#274) 2020-08-12 10:52:19 +05:30
Abhinav Jha
c4de6a20a5
Fix: Entity property overflows (#275)
Fixes issue where entity property binding text overflows to the next line.
2020-08-11 18:19:17 +05:30
Nandan H A
da02f5eed5
curl command updated for POST operation (#279)
Co-authored-by: Nandan <nandan@thinkify.io>
2020-08-11 18:16:36 +05:30
vicky-primathon
6abd79537e
Fix: Cursor going to start when editing content in rich text editor widget (#265) 2020-08-11 18:01:50 +05:30