Skip to content

feat: add support for disabling the save button while the permissions are loading #5257

feat: add support for disabling the save button while the permissions are loading

feat: add support for disabling the save button while the permissions are loading #5257

Triggered via pull request December 24, 2024 08:46
Status Failure
Total duration 1m 3s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
ci: src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/PermissionGroupRow.tsx#L131
Type '{ component: ButtonComponentType.link; icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; linkProps: { to: string; }; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.neutral; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
ci: src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/PermissionGroupRow.tsx#L142
Type '{ icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; onClick: () => void; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.negativeGrey; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
ci: src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/AppOrJobSelector.tsx#L114
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string | number>) => boolean; }'.
ci: src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/EnvironmentSelector.tsx#L60
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string>) => boolean; }'.
ci: src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/WorkflowSelector.tsx#L42
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string | number>) => boolean; }'.
ci: src/Pages/GlobalConfigurations/Authorization/UserPermissions/AddEdit/UserForm.tsx#L335
Type '{ required: true; label: string; isMulti: true; options: undefined[]; autoFocus: true; isClearable: true; placeholder: string; inputValue: string; value: OptionType<string, string>[]; ... 8 more ...; size: ComponentSizeType.large; }' is not assignable to type 'IntrinsicAttributes & Pick<SelectProps<string, true>, "value" | "options" | "autoFocus" | "onChange" | "placeholder" | "name" | "isLoading" | ... 20 more ... | "required"> & ... 4 more ... & { ...; }'.
ci: src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/UserPermissionRow.tsx#L207
Type '{ component: ButtonComponentType.link; icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; linkProps: { to: string; }; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.neutral; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
ci: src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/UserPermissionRow.tsx#L218
Type '{ icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; onClick: () => void; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.negativeGrey; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
ci
Process completed with exit code 2.
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636