Commit Graph

3537 Commits

Author SHA1 Message Date
Keyur Paralkar
ba5262df2c
fix: fixed the default value of zero not present in parent form data on pageload (#9324)
* fix: fixed the default value of zero not present in parent form data on pageload

* test: added cypress test for Checking default value 0

* refactor: changed the DSL and added reset condition at the end of test

* refactor: removed the proxy variable

* refactor: corrected the typo
2021-12-02 11:36:24 +05:30
Uchechukwu Nwafor
74a9e7c892
fix: refresh profile image on the header when a new image is uploaded (#8550) 2021-12-02 11:26:41 +05:30
Aman Agarwal
df715297ec
fix: Adding empty array check for mapping keys (#9459) 2021-12-01 18:36:41 +05:30
Favour Ohanekwu
a9527f3e49
update ternserver when no custom def is available (#9472) 2021-12-01 04:50:15 +01:00
Abhinav Jha
5173ef418b
chore: Update Validations (#9177)
* Update Validations
===
- If number value is out of bounds, return minmax || parsed || 0
- If text has regex, match RegExp - earlier we were matching with
  string, which was always failing
- Prioritise  expected  value in TEXT validation RegExp case.

* Add tests for regex and update tests for other changes

* Add test for using expected type instead of regex in messages

* Update regex, as it was reported to be buggy
2021-11-30 22:21:41 +05:30
Tolulope Adetula
809a288bdc
fix: popups same width as parent (#7499)
* fix: select widget popup

* fix: select widget

* fix: Menu button

* fix: make Clear Var names

* fix: consistent dropdown width

* fix: define variable better

* fix: prettier error

* fix: variable name

* fix: select popup issue

* fix: PR issues add comments

* fix: remove unused css

* fix: add tests

* fix: more pop overs

* fix: menu button popup

* fix: Multiselect dropdown

* fix: failing test

* fix: add more tests

* fix: Failing Test
2021-11-30 02:38:46 -08:00
rashmi rai
b65258876f
fix: missing number of queries in active datasource (#7694) 2021-11-30 10:11:40 +00:00
Favour Ohanekwu
ec6c0c592e
fix: Properly save JSON to clipboard (#9416)
Properly copy JSON to clipboard
2021-11-30 06:49:22 +01:00
Favour Ohanekwu
b8ca5cb816
fix: remove moment interface objects from completions (#9379)
Remove interface objects from completions
2021-11-30 06:48:13 +01:00
Favour Ohanekwu
4675b4bb10
fix: Show correct toast type options in debugger (#9415)
Show correct toast type options
2021-11-30 06:46:40 +01:00
Bhavin K
6ea90e7c7b
feat: add document viewer widget (#7666)
* created new widget

* new lib for document viewer

* added cypress tests

* updated icon

* handling different url types with viewer

* add to ignore react-documents in jest transformIgnorePatterns

* added jest test, updated comments

* required changes

* updated cypress test

* updated icon svg

* doc viewer new renderers added

* comment as required

* updated test case

* added url / base64 validations

* updated url checking condition for space and updated test case

* cypress selector update

* updated url validations

* Merge branch 'release' into feature/new-document-viewer

* lazy load external lib
2021-11-29 15:37:49 +00:00
Yash Vibhandik
f6acbf1407
fix: #8530 Added Config for Menu JS Convertible (#8775)
* fix: #8530 updated config for menu color jsconvertible

* test case updated

* yarn lock update
2021-11-29 15:37:05 +00:00
Rishabh Rathod
bddafdcb7e
fix: Add default props dependency in dependency map (#9418)
* Add cloneDeep
* Add comments
2021-11-29 09:04:40 +00:00
Aswath K
669d901176
fix: MenuItem overflow (#9195) 2021-11-29 11:51:01 +05:30
Tolulope Adetula
f30e389167
fix: Evaluation issue with Button in table Widget (#9356)
* fix: Evaluation issue

* fix: add validation

* revert jest tests changes

* revert cypress test

Co-authored-by: root <pawan@appsmith.com>
2021-11-26 17:03:50 +05:30
Aman Agarwal
2ca413c152
fix: Correcting the throwing error to logging error for promisified triggers (#9385) 2021-11-26 15:30:24 +05:30
Confidence Okoghenun
0b18ea64f3
chore: Renames actions to event on property pane (#8579) 2021-11-26 15:02:04 +05:30
Hetu Nandu
8f2935f023
fix: Don't remove bindings when transfering action out of page (#9296) 2021-11-26 14:34:16 +05:30
Pawan Kumar
f738c5e087
fix: Alignment of point numbers in welcome pages (#9353)
* fix scroll in panel in property pane

* fix table widget button height issue

* fix alignment issues

* hide canvas selection in preview mode

* filter alignment issue fix

* fix app mode issue with iframe widget

* fix 404 alignment issues

* fix generate page alignemnt issues

* fix jsobjects empty container alignment issues

* fix comments width issue

* fix alignment issues
2021-11-26 11:46:08 +05:30
Keyur Paralkar
9fc0a038ec
fix: update tooltip record count prop table (#9297)
* docs: changed the tooltip text for total record count for table widget

* test: added unit test for testing tooltip text table widget

* refactor: added Tooltip message in the message constants
2021-11-26 10:44:00 +05:30
Bhavin K
a961c66ec3
fix: updated button group widget properties and GROUP_BUTTONS controls style (#9304) 2021-11-26 10:29:56 +05:30
rashmi rai
96d4c0b774
fix: fixing missing where key (#9215) 2021-11-25 18:48:40 +05:30
Rishabh Rathod
d7cdf6f84b
fix: Add escaping special characters before JSON.parse (#9293)
* Add escaping special characters before JSON.parse
2021-11-25 16:22:40 +05:30
Hetu Nandu
5d7f68a031
fix: Mute action execution errors when error callback is present (#9366) 2021-11-25 15:28:04 +05:30
Aswath K
41c7c344b4
fix: radio group widget crash when one of options becomes null (#9303) 2021-11-25 14:59:16 +05:30
Pawan Kumar
d96c4981ca
fix: Button size inside the Table widget has increased + Property pane's panel not scrollable + Alignment issues (#9318) 2021-11-24 17:55:07 +05:30
Vicky Bansal
bf513f5c60
fix: Hide scrollbar in header and show when user hovers over header in Table Widget (#9323)
Co-authored-by: root <pawan@appsmith.com>
2021-11-24 15:27:26 +05:30
Favour Ohanekwu
c98bbbe6ae
fix: properly update dependency map (#9169)
Properly update dependency map
2021-11-24 05:43:50 +01:00
Paul Li
3f87f4959e
fix: Table Widget Icon Button should be having a default variant (#8664)
* fix: Table Widget Icon Button should be having a default variant

-- Add update logic for button variant property

* fix: Table Widget Icon Button should have default variant

-- Revert old solution
-- Set default button variant to PRIMARY both in getTableColumns and in propertyConfig

* fix: Table Widget Icon Button should have default variant

-- Change comments for updateIconAlignment utility function
-- Create a migration for button variant

* fix: Table Widget Icon Button should have default variant

-- Remove unused index parameter from forEach statement

* fix: Table Widget Icon Button should have default button variant

-- Fix on misuse of forEach on primaryColumns object

* fix: Table Widget Icon Button should have default variant

-- Change buttonVariant to TERTIARY instead of PRIMARY
2021-11-23 22:10:13 +08:00
Bhavin K
ffefdcccd8
fix: added muted flag and updated helper text (#9259) 2021-11-23 15:10:43 +05:30
Pawan Kumar
8395f5e18f
feat: property pane docking (#7361)
* add tailwindcss

* docked property pane

* uncomment a line

* make entity explorer as drawer on unpin

* remove unused imports

* add pin state in  reducer

* add menu icon in header

* fix widget sidebar

* fix widgets sidebar

* style property pane

* update property pane css

* update icons in property pane

* update property pane header styles

* update spacing

* fix few ui issues

* wip: preview mode

* wip:preview mode

* remove unused import

* comments sidebar in app and edit mode

* fix order of import

* use selected state for property pane

* update scrollbar style

* add classes to sidebar and property pane

* make widgets editor fluid

* make widgets editor fluid and refactor logic

* resize the widgets editor if explorer is pinned

* add shortcut for preview mode

* fix link for tabs in edit mode

* zoom in/zoom out for 0.75

* fix chart widget + table widget crashing

* allow zooming of canvas

* fix weird canvas draw issue + update container for handling zoom

* add actions for is panning

* allow panning with grab cursor

* reset panning + zooming when entering preview mode

* add grabbing cursor when grabbing

* only prevent default when space key is pressed

* dont allow zoom in preview mode

* remove unused imports

* fix dont allow zoom in preview mode

* fix ux of panning on space hit

* make fluid as the default app layout

* chart spec

* fix dropdown_on change spec

* fix add widget table and bind spec

* remove draggable property pane spec

* fix container spec

* fix form widget spec

* fix jest test

* fix the function typo

* remove clicking of close button for property pane in cypress tests

* remove property pane actions test

* fix drag and drop test failing

* add cypress selector id to back button in property pane

* fix toggle js spec

* fix merge conflicts from new design system

* editor header

* fix product updates styles + widget card

* remove all unused imports

* fix dynamic layout spec

* fix entity explorer tab rename test failing

* fix table spec

* fix bind tabletextpagination spec

* fix js object spec

* fix entity explorer rename issue

* fix cypress test

* fix cypress command wrong commit

* fix tab spec

* fix property pane copy tests

* add zoom header

* zoom levels

* make property pane sidebar resizable

* add multi select property pane

* fix widget search bug

* update property pane width in state on drag end

* fix viewer header

* fix editor header

* update editor header + remove zooming

* update small style

* dont allow closing of explorer when resizing

* fix jest test

* fix dropdown widget jest test

* preview test case wip

* add entity explorer pinning tests + preview mode tests

* add tooltip in layout control + add padding bottom in property pane view

* incorporate aakash feedbacks

* fix preview mode margin issue

* remove panning code

* fix cypress failing test

* uncomment jest test

* remove redundant code

* fix maincontainer test

* incorporate review feedbacks

* incorporate aakash feedbacks

* review feedbacks

* incorporate review feedbacks

* incorporate qa feedbacks

* fix dynamic layout spec

* updated test based on latest change

* dsl updated

* Updated dsl

* Updated dsl

* resize deselects widget issue.

* fix canvas height issue

* fix typo

* incorporate qa feedbacks

* incorporate qa feedbacks

* incorporate qa feedbacks

* update color for setting control for widget name

* fix onboarding styles conflicts

* Updated tests

* fix application overflow issue

* updated test method

Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
Co-authored-by: Apple <nandan@thinkify.io>
2021-11-23 13:31:46 +05:30
Yash Vibhandik
75a25925b8
fix: #5980 added clear all filters button and close filter pane button (#8734)
* fix: #5980 added clear all filters button and close filter pane button

* height updated

* updated class names for test case
2021-11-23 11:53:26 +05:30
Yash Vibhandik
399eabd987
fix: #4758 added EvaluatedValuePopup over PrimaryColumnsControl to show errors and handled duplicate column name (#8770)
* fix: #4758 added EvaluatedValuePopup over PrimaryColumnsControl to show errors and handled duplicate column name

* highlighted duplicate column labels, show error message only when duplicate column label focused

* updated test case

* updated duplicate label indicator logic for test case
2021-11-23 11:35:01 +05:30
Tolulope Adetula
842c47bee2
fix: issues with key (#9239) 2021-11-22 10:53:05 -08:00
Favour Ohanekwu
bdc04dc94e
fix editor undefined issue (#9283) 2021-11-22 16:31:46 +01:00
onifade boluwatife
e466495b5b
fix: Date picker must exit on pressing esc key when 'close on selecting' is turned off (#8425)
* refactored date picker a little
* minor refactor of date picker
* update
2021-11-22 07:08:36 +00:00
haojin111
d9f98308c9
feat: product update modal v2 (#9020)
* updated product modal and invite user or application modal style

* added constant of invite button width

* added cypress on close button on update product modal

Co-authored-by: Albin <albin@appsmith.com>
2021-11-22 11:39:16 +05:30
Pranav Kanade
bffe28361a
fix: Show invite option for substring user emails of other shared users (#8962)
* show invitation option for overlapping email addr string if no exact match is found.

* added test case

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-11-22 10:33:43 +05:30
Confidence Okoghenun
07cd5af2df
chore: Fixes fat container welcome message (#8994) 2021-11-19 21:23:40 +05:30
Bhavin K
e9bee3e511
fix: handled component update value logic (#9232)
* handled component update value logic

* Update index.tsx
2021-11-19 17:35:40 +05:30
Bhavin K
2e2ffc9361
feat: updated condition select widget (#9242) 2021-11-19 15:24:46 +05:30
imgbot[bot]
3eec0594f7
chore: [ImgBot] Optimize images (#9208)
*Total -- 929.35kb -> 640.18kb (31.11%)

/deploy/helm/images/helm-ssl-config.png -- 194.07kb -> 104.73kb (46.03%)
/static/images/client-wsl-yt-video-thumbnail.png -- 690.06kb -> 490.46kb (28.93%)
/app/client/src/assets/icons/widget/table/checkbox-line.svg -- 0.20kb -> 0.19kb (7.77%)
/app/client/src/assets/icons/widget/table/checkbox-check.svg -- 0.21kb -> 0.20kb (7.41%)
/app/client/src/assets/icons/comments/commentCursor.svg -- 1.10kb -> 1.07kb (3.1%)
/app/client/src/assets/icons/widget/recorder/recorder_recording.svg -- 0.14kb -> 0.14kb (2.74%)
/app/client/src/assets/icons/widget/recorder/recorder_pause.svg -- 0.23kb -> 0.23kb (2.53%)
/app/client/src/widgets/AudioWidget/icon.svg -- 0.39kb -> 0.39kb (1.98%)
/app/client/src/assets/icons/widget/recorder/recorder_complete.svg -- 0.23kb -> 0.23kb (1.67%)
/app/client/src/assets/icons/comments/unpinIcon.svg -- 0.28kb -> 0.27kb (1.41%)
/app/client/src/assets/icons/control/underline1.svg -- 0.77kb -> 0.76kb (1.27%)
/app/client/src/assets/icons/ads/plus.svg -- 0.24kb -> 0.24kb (1.22%)
/app/client/src/widgets/TextWidget/icon.svg -- 0.26kb -> 0.26kb (1.13%)
/app/client/src/assets/icons/ads/arrow-right-line.svg -- 0.26kb -> 0.26kb (1.13%)
/app/client/src/assets/icons/ads/up-arrow.svg -- 0.26kb -> 0.26kb (1.11%)
/app/client/src/assets/icons/ads/down-arrow.svg -- 0.29kb -> 0.28kb (1.02%)
/app/client/src/assets/icons/ads/dropdown.svg -- 0.23kb -> 0.23kb (0.83%)
/app/client/src/assets/icons/menu/run.svg -- 0.41kb -> 0.41kb (0.71%)
/app/client/src/assets/svg/no_entities_found.svg -- 0.98kb -> 0.98kb (0.7%)
/app/client/src/assets/icons/ads/snippet.svg -- 0.57kb -> 0.56kb (0.69%)
/app/client/src/assets/icons/ads/share-2.svg -- 0.46kb -> 0.46kb (0.63%)
/app/client/src/assets/icons/widget/recorder/recorder_default.svg -- 0.94kb -> 0.93kb (0.63%)
/app/client/src/assets/icons/widget/button-group.svg -- 1.29kb -> 1.28kb (0.53%)
/app/client/src/widgets/ButtonGroupWidget/icon.svg -- 1.29kb -> 1.28kb (0.53%)
/app/client/src/assets/icons/menu/beta.svg -- 1.00kb -> 1.00kb (0.49%)
/app/client/src/assets/svg/checkmark.svg -- 0.23kb -> 0.23kb (0.43%)
/app/client/src/assets/icons/menu/js-function.svg -- 0.91kb -> 0.91kb (0.43%)
/app/client/src/assets/icons/menu/js-group.svg -- 1.81kb -> 1.80kb (0.38%)
/app/client/src/assets/icons/ads/file-copy-line.svg -- 0.86kb -> 0.85kb (0.34%)
/app/client/src/assets/icons/control/color-picker.svg -- 1.46kb -> 1.45kb (0.34%)
/app/client/src/assets/icons/ads/git-commit-line.svg -- 0.88kb -> 0.88kb (0.33%)
/app/client/src/assets/icons/ads/key-2-line.svg -- 1.28kb -> 1.28kb (0.31%)
/app/client/src/assets/icons/menu/js-file.svg -- 2.33kb -> 2.32kb (0.29%)
/app/client/src/assets/icons/widget/recorder/recorder_no_permission.svg -- 1.63kb -> 1.63kb (0.24%)
/app/client/src/assets/icons/ads/support.svg -- 1.23kb -> 1.22kb (0.24%)
/app/client/src/assets/icons/ads/cloudy-line.svg -- 1.38kb -> 1.38kb (0.21%)
/app/client/src/assets/icons/ads/user-v2.svg -- 1.55kb -> 1.54kb (0.19%)
/app/client/src/assets/icons/ads/upload-v2.svg -- 1.76kb -> 1.75kb (0.17%)
/app/client/src/assets/icons/ads/shield-success.svg -- 3.03kb -> 3.03kb (0.13%)
/app/client/src/assets/icons/ads/shield-error.svg -- 3.03kb -> 3.03kb (0.13%)
/app/client/src/assets/icons/ads/git-branch.svg -- 2.80kb -> 2.80kb (0.1%)
/app/client/src/assets/svg/loader-2-fill.svg -- 3.78kb -> 3.78kb (0.1%)
/app/client/src/assets/icons/ads/gear.svg -- 3.23kb -> 3.23kb (0.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-19 09:43:30 +05:30
balajisoundar
6e277d333e
fix: Table column sorting with null values (#8982)
Now cells with empty values (null &  ""), will get pushed to the bottom of the table while sorting.
2021-11-18 18:27:25 +05:30
Aswath K
701207718b
fix: Unable to drag disabled button (#8206) 2021-11-18 15:52:04 +05:30
Rishabh Saxena
68ceb88707
fix: git sync minor fixes (#9183) 2021-11-18 06:48:52 +00:00
balajisoundar
7978833011
test: first time user onboarding cypress tests (#9171) 2021-11-17 20:58:23 +05:30
Hetu Nandu
91253e8791
Fix issue where widget property evaluation substitution type was overriden (#9191) 2021-11-17 13:57:58 +00:00
Pawan Kumar
83ecb8cc8a
fix: second time file upload is failing in S3 crud page (#9213) 2021-11-17 19:03:47 +05:30
albinAppsmith
06ca32cd96
fix: Edit icon in API editor and toggle transition issue (#9013) 2021-11-17 12:06:18 +05:30
Yash Vibhandik
9c751ae58e
fix: #8528 Added default Icon column (#8733)
* fix: #8528 added defaultIconName for controlType ICON_SELECT and updated default value for column type icon button

* test case update
2021-11-16 16:12:20 +05:30