Commit Graph

7074 Commits

Author SHA1 Message Date
ashit-rath
39aa4e6d8d
feat: Consistent styling for widgets disabled state (#6983)
* checkbox and button default styling

* rate widget disabled styling

* added cursor: not-allowed to disable css
2021-09-08 11:45:11 +05:30
Nayan
61eaaf1aab
fix: stop creating private thread if someone tagged a user in their first comment (#7205) 2021-09-08 10:50:11 +06:00
ashit-rath
863d992d77
fix: Tabs widget - full height when showTabs is false (#6949)
* Fix - Tabs widget - full height when showTabs is false

* added conditional height for ChildrenWrapper based on tab visibility state
2021-09-08 10:13:11 +05:30
Rishabh Saxena
b61be1eb66
fix: persist draft comments on clicking outside (#7156) 2021-09-07 20:53:40 +05:30
arslanhaiderbuttar
603e282529
test: Select UI test cases (#6328)
* Select/MultiSelect widget UI test cases

* Select/MultiSelect Test Cases

Dropdown-AlertModal
Dropdown-FromModal
Dropdown-Call-Api
Dropdown-Call-Query
Toggle JS - Dropdown-Call-Query
Toggle JS - Dropdown-CallAnApi Validation
Verify Search box for selecting drop-down options
Verify Dropdown default value
Dropdown Icon Visibility
Explore Widget related documents
Dropdown Close
On Option Change Action
Copy paste dropdown
Dropdown-Delete
Toggle JS - Dropdown-Unckeck Visible field
Toggle JS - Dropdown-ckeck Visible field

* Added new file button file and fixed the bugs in chart and button

Added new file button file and fixed the bugs in chart and button

* Fixed JS toggle for Button widget

* Added go to edit page from published page

* Removed the multiselect test cases from dropdown

* Select ui test cases fixes

* Select UI test fixes
2021-09-07 13:41:36 +00:00
Rishabh Saxena
5f6a948acd
fix: try making create new thread transition better (#7200) 2021-09-07 19:05:01 +05:30
Abhijeet
19e21e10c0
fix: Fetch all the schemas present in the postgres DB (#7204)
* Remove schema check from tables query for postgres DB in fetch structure
2021-09-07 18:50:46 +05:30
Rishabh Rathod
fafe03a2e7
chore: jest state update on unmount error (#7141)
Add clearTimeout to avoid setState on unMount
2021-09-07 18:43:56 +05:30
Rishabh Rathod
027ed55611
fix: omit props passing to DOM element (#7181) 2021-09-07 18:42:04 +05:30
Rishabh Rathod
a2a5439741
fix: text overflow gen CRUD form (#7180)
Fix #7151 : Text overflows the row when the table's column name is more than 25 characters.
2021-09-07 18:41:27 +05:30
Rishabh Saxena
ea1d49775c
fix: handle resolved/deleted comment threads after they're fetched (#7185) 2021-09-07 18:25:38 +05:30
arslanhaiderbuttar
c5503ee9e8
List widget UI test cases (#5535)
* List Widget UI Test Cases

List Widget UI Test Cases:

Change the List Widget Name
Add or Modify items
Change the Background Color
Change the Item Background Color
Enable Disable Visible
Enable Disable Visible - JS
Adding Query/API
Copy Widget
Delete Widget
Change the list and item background color using JS Button

* Update List_spec.js
2021-09-07 12:48:38 +00:00
Rishabh Saxena
89b10b5520
fix: close notifications list on clicking a list item (#7178) 2021-09-07 18:15:17 +05:30
Rishabh Saxena
928242d79b
fix: center alignment for profile placeholder (#7197) 2021-09-07 18:15:04 +05:30
Nayan
a17be566a9
feat: Removed unnecessary fields from exported application (#7198)
Removed unnecessary fields from exported application
2021-09-07 18:33:45 +06:00
akash-codemonk
f4adea8371
feat: Show contextual search menu for debugger errors (#7078) 2021-09-07 14:45:11 +05:30
Nidhi
8b8e57f010
Use BigDecimal to maintain precision (#7189) 2021-09-07 09:14:13 +00:00
Ashok Kumar M
370a4800c2
fix: resize breaks DnD (#7174)
This is an important fix for a blocker in release. Force merging
2021-09-07 13:13:25 +05:30
arunvjn
4fcfe07c67
fix: snippets UI (#7173)
Changes to snippets tab color and removed play icon on snippet.
2021-09-07 05:21:07 +00:00
Pranav Kanade
eee2e97728
fix: safeguarding selected widgets saga (#7133) 2021-09-07 10:15:13 +05:30
Sumit Kumar
77a33f770d
fix: fix Arangodb plugin response on update commands (#7182)
* ArangoDB has two types of command - one that fetches a response and the other that updates a document. Currently, ArangoDB plugin treats all cmds like the one that returns a response, hence when update cmds are run then an empty response is returned to the client since there is nothing to fetch. This PR adds a check to fetch the response based on the type of cmd. Hence, for an update cmd the number of writes succeeded or failed would be returned as a response.
2021-09-07 09:38:23 +05:30
Nikhil Nandagopal
1d2bcb277b Updated Template 2021-09-06 23:30:19 +05:30
Arpit Mohan
07caedb7e5
ci: Using appsmith's fork of labeler for minor enhancement & easier config (#7177)
Now we can add multiple title regexes for a PR and the labeler will automatically tag the PR with the appropriate labels. This will be useful when generated the release notes in a categorized fashion.
2021-09-06 22:48:35 +05:30
Nikhil Nandagopal
e7b95d2fd9
fix: Updated Template (#7169)
* Updated Template

* Updated Template

* Updated Template
2021-09-06 22:28:48 +05:30
arunvjn
a056bca136
Added null check in tern autocomplete (#7160) 2021-09-06 21:28:36 +05:30
Tolulope Adetula
ffe7b1f9e8
fix: add expected structure example to api pane based on the new validation structure (#6886) 2021-09-06 20:27:15 +05:30
Anagh Hegde
31180a4b28
feat: API to save git config data (#6930)
* API to save git config data

* Store the git config data as global/default property in user data object

* Add API to fetch the config for the user
2021-09-06 19:50:12 +05:30
Arpit Mohan
275c2f2277
fix: Running the PR labeler when a PR is edited (#7168)
This ensures that the labels are correct & synchronized with the latest PR details
2021-09-06 19:10:20 +05:30
Abhijeet
168000be92
[skip_changelog] Feature/directory structure for version control (#6757)
* Insert git application metadata to application object, for git sync/version control feature there is a need to save the application in the structured format

* Added changelog to index application collection with git branch and remoteurl

* Rehydrate and dehydrate applications among different instances

* Added serailisation purpose while exporting the application to make distinction between version control and regular import-export flow 

* Git file operations moved to appsmith-git module

* Delete json reference from directory for deleted resource in DB

* Added git authentication in application metadata

* Replace String with Path to handle file path in git file structure
2021-09-06 18:18:18 +05:30
Arpit Mohan
178e848744
feat: Adding labels to PR based on their title (#7162) 2021-09-06 18:06:10 +05:30
Rishabh Saxena
685aa3b98c
feat: make comments publicly available (#7143) 2021-09-06 18:04:40 +05:30
Bhavin K
74cba639ae
feat: on chart widget set adaptive y-axis based on data (#6310)
* enhancement on chart props

* updates as required

* changed data for chart widget

* fixed build issue

* improve code

* update text

* Update propertyConfig.ts

* changed helpText

Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com>
2021-09-06 17:45:58 +05:30
Shrikant Sharat Kandula
6a52931b64
Update lockfile with current dependencies (#7117)
The yarn.lock file is currently out-of-sync with the dependencies we are using. So, running yarn install --frozen-lockfile fails with the following error:

    yarn install v1.22.10
    [1/5] 🔍  Validating package.json...
    [2/5] 🔍  Resolving packages...
    error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
    info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

This commit gets it back in shape.
2021-09-06 17:31:48 +05:30
Pawan Kumar
e3fe687a29
change data validation rule to array (#7091)
Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
2021-09-06 15:47:52 +05:30
Nayan
c4a7c1fb01
feat: add last edit information to application (#6948)
Adds the last edit time and editor username to the application when there is a change in the application.
2021-09-06 16:17:02 +06:00
Shrikant Sharat Kandula
7a0ec72304
fix: Treat missing server proxy endpoing as a warning (#7094)
Currently, in the editor Docker image, if the APPSMITH_SERVER_PROXY_PASS env variable is missing or set to empty, then the service will notify the user and refuses to start. This PR will change this behaviour to use a default value for this variable and attempt to start.
2021-09-06 15:30:45 +05:30
Bhavin K
9143ada0f3
fix: Validation property change in input widget (#6854)
Fixing challenge with the valid property as below:
1. Change the valid prop to an input control like regex
2. the valid field prop should be able to accept undefined apart from boolean
3. Change helper text to > ability to control input validity based on a JS expression.
2021-09-06 15:16:22 +05:30
Rishabh Saxena
a2b38c86eb
feat: init bottom bar skeleton, add feature flag for git (#7105) 2021-09-06 14:59:35 +05:30
albinAppsmith
3d85575979
style: Removed dark/light. theme switcher and made light theme default (#6979)
* Removed Theme switcher

* Changed default theme to light

* Auth screen dark theme changes

* auth screen ui ix

* Theme change Ui test removed

* bug fix
2021-09-06 14:37:52 +05:30
Pranav Kanade
b1a399b64a
fix: comment pins related issues (#7081)
* fix: the thread with the latest comment will be at the top.

* fixed the z index of unpublished pin

* making the layout control absolute

* removed comments

* reversed the ids order

* made sorting logic generic to work with list of ids

* minor refactor

* putting layout controller on top of canvas
2021-09-06 14:27:47 +05:30
Rishabh Saxena
cc0ff7fcc6
fix: account tabs for thread height in published mode (#7140) 2021-09-06 14:17:14 +05:30
Tolulope Adetula
db88ef86f4
fix: underline style for text (#6865)
* fix: underline style for text

* fix: add expected structure example

* Revert "fix: add expected structure example"

This reverts commit efd56886a26f87bb18cf6edc53bd246bfeb8e0f1.

* fix: test failing

* fix: widget crashing (#6980)

* fix: update omnibar search string for documentation for actions (#6722)

* [Mongo] Added default values for query for Find, Count and Distinct commands (#6960)

* Added smart defaults for query in Count, Distinct & Find commands

* Added test cases for smart inputs for query and limit for find, and query for count and distinct

* Distinct command output now results a JSON object instead of an array of strings (#6964)

* Fix: Break word when text widget content is long (#6211)

fixes #5319

* fix: widget crashing

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: balajisoundar <sbalaji1192@gmail.com>

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: balajisoundar <sbalaji1192@gmail.com>
2021-09-06 00:06:15 -07:00
Tolulope Adetula
742f0cf1ec
feat: compact mode in property pane (#6637)
* fix: compact mode

* fix: test

* fix: remove row height visibility

* fix: options label for compactMode

* feat: Add test

* Fix: failing test

* fix: test

* fix: test case.

* fix failing test

* fix: move position of rowHeight prop in property pane
2021-09-06 00:05:51 -07:00
Shrikant Sharat Kandula
0a08f9b807
fix: Rename user company to user's useCase (#7093)
We're not going to be collecting the company name for the self-hosted installation, but instead we'll be collecting the use-case that is being solved with Appsmith.
2021-09-06 12:28:47 +05:30
Shrikant Sharat Kandula
3adfaa5872
Include a default value for server proxy pass (#7042)
The env variable APPSMITH_SERVER_PROXY_PASS is missing a default value, and the start script in client image requires this. But since this env variable is not set on any _existing_ installations, they will break. So to fix that, we are adding an initial value to this variable to a sensible default.
2021-09-06 12:25:31 +05:30
Arpit Mohan
6638a2065b Create an exclude-label for changelog instead of include-label
Till we have an auto labeler, we should have an exclude list.
2021-09-06 11:49:14 +05:30
rashmi rai
590b33a370
css fix primary and secondary box in FieldArrayControl (#7116)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-06 11:23:46 +05:30
rashmi rai
c0748e5d5a
fixed missing toast (#7124)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-06 11:23:21 +05:30
Pranav Kanade
228990e9a5
changing the order of connect widget and suggested widgets (#7129) 2021-09-06 10:56:28 +05:30
haojin111
0cec3f461f
fix: Making only the back link clickable instead of the whole row (#6287)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-09-05 21:55:34 +00:00