diff --git a/app/client/src/components/designSystems/appsmith/ImageComponent.tsx b/app/client/src/components/designSystems/appsmith/ImageComponent.tsx index 85fe606efe..6338f36318 100644 --- a/app/client/src/components/designSystems/appsmith/ImageComponent.tsx +++ b/app/client/src/components/designSystems/appsmith/ImageComponent.tsx @@ -49,6 +49,7 @@ class ImageComponent extends React.Component< style={{ display: "none", }} + alt={this.props.widgetName} src={this.props.imageUrl} onError={this.onImageError} onLoad={this.onImageLoad} diff --git a/app/client/src/components/editorComponents/DynamicActionCreator.tsx b/app/client/src/components/editorComponents/DynamicActionCreator.tsx index 6bbd6616cc..1105a6cc47 100644 --- a/app/client/src/components/editorComponents/DynamicActionCreator.tsx +++ b/app/client/src/components/editorComponents/DynamicActionCreator.tsx @@ -94,7 +94,7 @@ const handlePageNameArgSelect = ( `{{$1(${args.join(",")})}}`, ); }; - +/* eslint-disable @typescript-eslint/no-unused-vars */ const handlePageParamsArgSelect = ( changeValue: ValueType, currentValue: string, @@ -111,6 +111,7 @@ const handlePageParamsArgSelect = ( `{{$1(${args.join(",")})}}`, ); }; +/* eslint-enable @typescript-eslint/no-unused-vars */ const handleTextArgChange = ( changeValue: ValueType, @@ -172,6 +173,7 @@ const getPageNameSelectedValue = (value: string) => { const matches = [...value.matchAll(ACTION_TRIGGER_REGEX)]; return matches.length ? matches[0][2].split(",")[0] : "none"; }; +/* eslint-disable @typescript-eslint/no-unused-vars */ const getPageParamsSelectedValue = (value: ValueType) => { const match = getPageSelectedParamsObject(value as string); @@ -184,6 +186,7 @@ const getPageParamsSelectedValue = (value: ValueType) => { }); return keyPairs; }; +/* eslint-enable @typescript-eslint/no-unused-vars */ const getPageSelectedParamsObject = (value: string) => { const matches = [...value.matchAll(ACTION_TRIGGER_REGEX)]; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx index 673689d4b8..4a98c2d4d3 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx @@ -46,6 +46,7 @@ function UnderlinedLabel({ } : {} } + className={`t--property-control-label`} > {label} diff --git a/app/client/src/sagas/userSagas.tsx b/app/client/src/sagas/userSagas.tsx index b39b44ea55..9449d2f8a8 100644 --- a/app/client/src/sagas/userSagas.tsx +++ b/app/client/src/sagas/userSagas.tsx @@ -1,4 +1,4 @@ -import { call, takeLatest, put, all, delay } from "redux-saga/effects"; +import { call, takeLatest, put, all } from "redux-saga/effects"; import { ReduxAction, ReduxActionWithPromise, diff --git a/app/client/src/utils/Validators.ts b/app/client/src/utils/Validators.ts index abbf178da3..6eab54b00e 100644 --- a/app/client/src/utils/Validators.ts +++ b/app/client/src/utils/Validators.ts @@ -11,7 +11,7 @@ import { URL_HTTP_VALIDATION_ERROR, } from "constants/messages"; import { getTextArgValue } from "components/editorComponents/DynamicActionCreator"; -const URL_REGEX = /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/; +const URL_REGEX = /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([-.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/; export const VALIDATORS: Record = { [VALIDATION_TYPES.TEXT]: (value: any): ValidationResponse => {