Commit Graph

512 Commits

Author SHA1 Message Date
akash-codemonk
20684116fc
Make executeonload a switch and move it to the right (#221)
- Move all form labels to the their individual components
2020-08-05 13:32:24 +05:30
Nikhil Nandagopal
e768e5d131
Fix/copy changes (#218)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

* added a question to skip custom domain if user is installing locally

* Inverted script question and

* Removed question to determine local installation

* Updated Popup CTA to Modal
Updated query templates to contain bindings
Added a message to display on API / Query errors

* updated styles for evaluated value
updated styles for auto complete

* added spaces to questions

* grouped data tree functions together in autocomplete

* Updated autocomplete styles

* Updated property pane styles to become more dense

* Fixed lightning menu styling

* fixed tests

* Fixed Cypress test

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-05 13:03:44 +05:30
Nikhil Nandagopal
f7cf7e1182
Fix/copy changes (#210)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

* added a question to skip custom domain if user is installing locally

* Inverted script question and

* Removed question to determine local installation

* Updated Popup CTA to Modal
Updated query templates to contain bindings
Added a message to display on API / Query errors

* updated styles for evaluated value
updated styles for auto complete

* added spaces to questions

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-04 17:51:02 +05:30
Hetu Nandu
b4906aad18
Fix tab focus issue in code editor inputs (#200)
The lightning menu popper was pulling focus when pressing TAB key. Added a prop to fix this
2020-08-04 11:15:13 +05:30
vicky-primathon
0474e339f3
Removed table widget row deselection (#209) 2020-08-03 19:14:34 +05:30
Tejaaswini Narendra
00e53af4ed
Fix UI Bugs (#168)
* Fix UI Bugs

- Double search box width and change text to Search app name
- Half the space between the org icon and the org name on home page
- Make org name bold and increase font to 16px
- Remove manage users button from invite modal if modal is opened in organisation settings page

* fix: Review Comments and other minor changes

- Clear TagList on form submit
- Fix CSS for search widget width
- Fix table height
- Make org name text bold for admin access.

* fix: Test Cases
2020-08-03 17:14:18 +05:30
Tejaaswini Narendra
b65cdf68b0
feat: Add org share option to application share modal (#166)
* feat: Add org share option to application share modal

* fix: Update design and implement copy to clipboard

* fix: Show share based on permission and update modal UI

- Update modal style
-  show application share button only to admins.

* fix: refine code
2020-08-03 14:44:08 +05:30
Hetu Nandu
f8c2bd5d42
Update binding highlight styles (#136)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-31 15:47:18 +05:30
vicky-primathon
527bb5898a
Fix-The tabs should scroll with the increase in the number of tabs. (#131)
* Fixed tabs widget bugs and other updates:
1. Moved drag icon to the left of tab name field in the tabs widget property pane
2. Change drag icon
3. Add scroll when the tabs occupy more width than the width of tabs widget.
4. Add selected tab name validation.
5. Hide overflow tabs.
6. Avoid vertical scrollbars in tabs widget header
2020-07-29 14:31:17 +05:30
vicky-primathon
e794c916e6
Fix-Row to be selected when button is clicked and row is not selected (#167)
* Row selection when button is clicked and row is not selected

* Added columnActions to useMemo for columns computation to support live action name updated and action change support
2020-07-28 19:56:27 +05:30
akash-codemonk
502733315b
Fix key value array not being able to set initial value (#150)
* Fix key value array not being able to set initial value. Now we allow multiple values to initialise for array input
2020-07-28 10:45:26 +05:30
vicky-primathon
8fb0dc02ad
Fix-Search component in Table widget updated with support for clearing search data (#96)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Download table data as CSV implemented

* table data download, unused code removed

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Code review changes

* Added table widget component heights as enum

* code review changes

* Search component in Table widget updated with support for clearing data, renamed properties

* Opening image in new tab on clicking in table widget

* Fixed table craching due to empty data filtering

* Empty extra space on loading removed in table widget

* Removed stopping of event propagation on table widget action button click

* Fixing for test cases

* Table header UI overflow fixed

* Clearing selected row on searching data in table widget

* fix for cypress test

* Table crash issue fix

* searchKeyword renamed to searchText. searchText added to entity definitions

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-24 19:28:28 +05:30
vicky-primathon
a2673aaa87
Fix-Open image in new tab on clicking it in table widget. (#119)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Download table data as CSV implemented

* table data download, unused code removed

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Code review changes

* Added table widget component heights as enum

* code review changes

* Search component in Table widget updated with support for clearing data, renamed properties

* Opening image in new tab on clicking in table widget

* Fixed table craching due to empty data filtering

* Empty extra space on loading removed in table widget

* Removed stopping of event propagation on table widget action button click

* Table header UI overflow fixed

* Clearing selected row on searching data in table widget

* fix for cypress test

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-24 16:02:31 +05:30
Hetu Nandu
d99d233539
Fix widget tests (#141)
* Add table row index and col index
* comment map tests
2020-07-23 11:03:12 +05:30
Hetu Nandu
fe43680abc
Action test fixes (#130)
* Fixes for tests
* remove marketplace tests
* fix some other tests
* Simplify update datasource
* Add cypress env variables
2020-07-21 19:31:51 +05:30
vicky-primathon
4f47a8ad3f
Feature/table ui download data (#52)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Download table data as CSV implemented

* table data download, unused code removed

* Code review changes

* code review changes

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-20 11:34:05 +05:30
vicky-primathon
290bb8d57c
Table UI breakages on scroll and empty cells fixed (#60)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Added table widget component heights as enum

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-16 16:09:07 +05:30
vicky-primathon
7114936554
Fix/action btn loading in table widget (#28)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Code refactors and added dependency map with meta props and table data for computing columns

* RenameColumnHeader function renamed to TableHeaderCell

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-14 13:25:46 +05:30
vicky-primathon
86b4ec562c
Table column show column fixed. Show icon changed. Columns list made … (#54)
* Table column show column fixed. Show icon changed. Columns list made static in visibility dropdown

* Code review comments handled

* Hiding visibililty options in published mode
2020-07-14 13:10:52 +05:30
Hetu Nandu
612f01b04a
Fix params not saving after url update (#85) 2020-07-14 12:23:33 +05:30
Tejaaswini Narendra
b035241013
fix: error page and get applications API (#77)
* fix: error page and get applications API

* fix: apptoaster check for show variable instead of error code.

* fix: Update naming and combine currentOrgId and OrgDetails.
2020-07-13 19:24:26 +05:30
vicky-primathon
0a1a3e5589
Lightning menu dropdown popper placement fixed in query editor (#59) 2020-07-13 18:36:44 +05:30
Abhinav Jha
5ec134eae7
Use Google Maps API key from configs (#76) 2020-07-10 13:05:27 +05:30
Abhinav Jha
94b28311c6
Use injected configuration from Nginx at runtime instead of build time (#30)
* Use envsubst and nginx templates to generate nginx configs which can substitute environment variables and inject into the index.html file

* Fix path in dockerfile. Add .gitignore and .env.example files. Fix nginx-linux template.

* Add all environment variables. Add prefix to all environment variables. Update scripts to attempt to substitute all environment variables with the prefix

* Setup dockerfile to execute a bash script. use env.example for fetching environment variables in development

* Toggle features based on injected configs. Fix nginx template substitution script.

* Update env.example file

* Remove debug code from start-nginx.sh

* Fix nginx config templates by adding quotes by default. Fix sed regex to include numerals. Toggle social login buttons on Login page based on the config.

* Update rapid api environment variable name. Toggle oauth buttons based on config in SignUp page. Update .env.example to be a union of server and client environment variables

* Adding a Map disabled message on Map widget

* Adding links to Privacy policy and TNC

* Use REACT_APP_ env variables with higher priority over injected config variables for toggling features

* Update netlify.toml by commenting out the build environment variables

* Remove env variables not required by the client

* Remove start-storybook entry from package.json

* Fix netlify.toml. Fallback algolia configs

* Add contexts to netlify.toml for successful deploys. Swith to using APPSMITH_MARKETPLACE_URL as the toggle for RapidAPI feature on the client. Remove comments in nginx config templates. Fix template used in dockerfile.

Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-07-07 15:52:17 +05:30
Hetu Nandu
d85376b90c
Remove current value popup from function call fields (#49) 2020-07-07 14:19:22 +05:30
Hetu Nandu
00f9451398
Remove current value from Embedded datasource path field (#48) 2020-07-07 13:44:46 +05:30
satbir121
d753374aa9
Using TinyMCE from cdn to remove the warning message. (#39)
* Removing tinymce api key message.

* Updating yarn lock.

* Fixing editor disabled.

* Default set on refresh.

Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 19:06:42 +05:30
Hetu Nandu
13e173fa77
Action save fixes (#33)
- Increased timeout for move action
- Table header typescript fix
- Fix data tree selectors for better performance
- Debounce update action saga by 500 ms
- Query delete fix
- Query save fix
2020-07-06 19:05:31 +05:30
vicky-primathon
1e67ea21c0
Widget on error action binding (#22)
Changes to fix the the UI/functionality breaking in widget action selectors when the onError action is configured first for an api or a query type action. Remove validation widget action selectors.
2020-07-06 13:46:42 +05:30
satbir121
bbbdbd50b5
Name of a newly created api and query is focused on mount. (#21)
* New api and query has name in edit mode

* Curl import new api.

* Changing createApi command for new ui.

* Edit Api name is not visible in UI.

* Removed edit api name click.

Co-authored-by: Satbir Singh <satbir@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 11:08:39 +05:30
vicky-primathon
593f616c13
NumericInput component breaks table widget when no data is in table, since props.pageCount becomes 0. So to fix this changed it to 1 when it is 0. (#29) 2020-07-03 16:33:56 +05:30
Hetu Nandu
4a6717889c
Streamline action save with widgets (#10)
- Remove drafts from actions
- Direct update action from forms
- Debounced saving of actions
- Add org id in default datasource
- Merge query and api run saga
2020-07-03 14:28:58 +05:30
vicky-primathon
10b1e40acd
Feature/table ui update pagination (#15)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* added onSearch to getTriggerPropertyMap

* debouncing search fixed

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Client side search key made as case insensitive and property of table search value names as searchKey

* Removed unused function form SearchComponent

* Colors used from constants

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated. (#16)

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-03 14:02:21 +05:30
vicky-primathon
49ff42ea72
Feature/table ui update search (#13)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* added onSearch to getTriggerPropertyMap

* debouncing search fixed

* Client side search key made as case insensitive and property of table search value names as searchKey

* Removed unused function form SearchComponent

* Feature/table ui update column visibility (#14)

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Colors used from constants

Co-authored-by: Arpit Mohan <me@arpitmohan.com>

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-03 13:56:04 +05:30
Nikhil Nandagopal
601d765efe
Feature/assets removal (#27)
* removed youtube and postman old logo

* removed API key

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-03 13:17:04 +05:30
Nikhil Nandagopal
9cd4791323
removed youtube and postman old logo (#25)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-03 12:42:28 +05:30
vicky-primathon
5df9395003
Created header for common functionalities in Table Widget (#12)
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-02 11:56:01 +05:30
satbir121
15efdc4dbd
Added algolia search logo. (#20)
Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-07-02 07:22:47 +05:30
Hetu Nandu
38aafb5027
Fix embedded datasource path (#2)
* Refactor CodeMirror component to be more configurable and testable (hints, markings)
* Update the existing datasource path component
* Better text highlighting for JSON fields
* Case insensitive hinting in autocomplete
2020-07-01 15:31:07 +05:30
akash-codemonk
224d0ee49c
Bug fixes (#3)
- Wrap evaluated value to oveflow vertically instead of horizontally
- Stop showing arrows for the port field in datasources
- Show create query option when there are no datasources
- Stop showing loader for query creation error
- Throw error where there is no body in query response
2020-07-01 12:51:02 +05:30
Satbir Singh
f55357029c Removed syncfusion completely. 2020-06-29 09:10:19 +00:00
Vicky Bansal
945326fe43 Merge branch 'fix/table-crash-issue' into 'release'
Action column index binded instead of taking it from state for column actions

See merge request theappsmith/internal-tools-client!766
2020-06-26 09:58:52 +00:00
Arpit Mohan
f62439445a Merge branch 'fix/table-widget-create-all-columns' into 'release'
Taking keys from all data points of table to generate columns instead of just first data point of table data.

See merge request theappsmith/internal-tools-client!779
2020-06-26 07:55:45 +00:00
Nikhil Nandagopal
3bb16489c4 Merge branch 'fix/lightning-menu-icon-hides-text' into 'release'
Fix/lightning menu icon hides text

See merge request theappsmith/internal-tools-client!778
2020-06-25 10:24:27 +00:00
Hetu Nandu
fb65b204a8 JSON stringify fixes 2020-06-25 10:04:57 +00:00
vicky_primathon.in
2758dd9689 Highlighting icon backround when field is in focused state but user hovers over icon space 2020-06-25 13:04:15 +05:30
vicky_primathon.in
9c33f83ae9 Taking keys from all data points of table to generate columns intead of just first data point of table data 2020-06-25 12:48:51 +05:30
Akash N
6f5c8ecca5 Remove scrollbars for function docs, autocomplete, current value and evaluated value. 2020-06-25 07:17:58 +00:00
vicky_primathon.in
74ac989815 Fixing the text not visible issue when the lightning menu is enabled on a field and field is in focused state 2020-06-25 12:20:18 +05:30
Akash N
1403141cc7 Expand evaluated value on click
- Show evaluatedValue based on input focus and content's hover state.
2020-06-24 08:22:27 +00:00