chore: update app version and enhance UI components
- Bumped NEXT_PUBLIC_APP_VERSION to 2.0.3 for the latest release. - Improved Cypress test for customer feedback page to handle delayed route transitions. - Refactored CompanyDetailsPage to enhance layout and added new components for better structure. - Updated TenderDetails to conditionally render location and currency information based on validity checks. - Added data-cy attributes to various form elements and tables for improved testing capabilities.
This commit is contained in:
@@ -18,6 +18,7 @@ type PropsType<T extends FieldValues> = {
|
||||
className?: string;
|
||||
icon?: React.ReactNode;
|
||||
defaultValue?: string;
|
||||
dataCy?: string;
|
||||
handleChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
||||
register?: UseFormRegister<T>;
|
||||
errors?: FieldErrors<T>;
|
||||
@@ -33,6 +34,7 @@ export function TextAreaGroup<T extends FieldValues>({
|
||||
className,
|
||||
icon,
|
||||
defaultValue,
|
||||
dataCy,
|
||||
handleChange,
|
||||
register,
|
||||
errors,
|
||||
@@ -77,6 +79,7 @@ export function TextAreaGroup<T extends FieldValues>({
|
||||
required={required}
|
||||
disabled={disabled}
|
||||
data-active={active}
|
||||
data-cy={dataCy}
|
||||
/>
|
||||
|
||||
{icon}
|
||||
|
||||
Reference in New Issue
Block a user