Skip to content

Commit

Permalink
fix(overlays): fix consistency where form input is used (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
manojava-gk authored May 28, 2024
1 parent a6a8798 commit 6beb9c5
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 24 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

## Unreleased

### Bugfix

- Overlay
- Fix consistency issue in overlays where form input is used

### Feature

- Admin Credential
Expand Down
12 changes: 6 additions & 6 deletions src/assets/locales/de/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@
"addOverlay": {
"service": "Technical User Role",
"serviceSubHeading": "Select one of the following service roles:",
"username": "Username",
"description": "Beschreibung",
"username": "Username*",
"description": "Beschreibung*",
"spocHeadline": "Single Point of Contact (SPoC)",
"org": "Organization name",
"email": "E-Mail Address",
Expand Down Expand Up @@ -1894,18 +1894,18 @@
"description": "Select the certificate flow and upload your company certificate below. Please note - you are responsible for the certificate validity - only upload valid and official documents.",
"successTitle": "Certificate successfully uploaded.",
"successDescription": "The upload was successful. The document is now available under your company certificate management page as well as shared with all dataspace providers.",
"certificateTypeTitle": "Certificate Type",
"certificateTypeTitle": "Certificate Type*",
"certificateTypeError": "",
"certificateTypeLabel": "",
"certificateTypePlaceholder": "Please select",
"certificateSiteTitle": "Certificate Site/Level",
"certificateSiteTitle": "Certificate Site/Level*",
"certificateSiteError": "",
"certificateSiteLabel": "",
"certificateSitePlaceholder": "Please select",
"uploadDocumentTitle": "Certificate file upload",
"uploadDocumentTitle": "Certificate file upload*",
"note": "",
"comingsoon": "Coming soon",
"expiry": "Expiry Date",
"expiry": "Expiry Date*",
"dateplaceholder": "Enter a Date",
"dateError": "Select a valid date"
},
Expand Down
12 changes: 6 additions & 6 deletions src/assets/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,8 +1035,8 @@
"addOverlay": {
"service": "Technical User Role",
"serviceSubHeading": "Select one of the following service roles:",
"username": "Username",
"description": "Description",
"username": "Username*",
"description": "Description*",
"spocHeadline": "Single Point of Contact (SPoC)",
"org": "Organization name",
"email": "E-Mail Address",
Expand Down Expand Up @@ -1820,18 +1820,18 @@
"description": "Select the certificate flow and upload your company certificate below. Please note - you are responsible for the certificate validity - only upload valid and official documents.",
"successTitle": "Certificate successfully uploaded.",
"successDescription": "The upload was successful. The document is now available under your company certificate management page as well as shared with all dataspace providers.",
"certificateTypeTitle": "Certificate Type",
"certificateTypeTitle": "Certificate Type*",
"certificateTypeError": "",
"certificateTypeLabel": "",
"certificateTypePlaceholder": "Please select",
"certificateSiteTitle": "Certificate Site/Level",
"certificateSiteTitle": "Certificate Site/Level*",
"certificateSiteError": "",
"certificateSiteLabel": "",
"certificateSitePlaceholder": "Please select",
"uploadDocumentTitle": "Certificate file upload",
"uploadDocumentTitle": "Certificate file upload*",
"note": "",
"comingsoon": "Coming soon",
"expiry": "Expiry Date",
"expiry": "Expiry Date*",
"dateplaceholder": "Enter a Date",
"dateError": "Select a valid date"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const TechnicalUserAddFormTextfield = ({
error={!!errors[name as keyof Object]}
sx={{ marginBottom: '7px', color: '#000' }}
>
<Typography variant="body2">{label}</Typography>
<Typography variant="label3">{label}</Typography>
</InputLabel>
<TextField
error={!!errors[name as keyof Object]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,14 @@ export default function UploadCompanyCertificate({
) : (
<DialogContent>
<div className="upload-certificate">
<Typography variant="h4" className="title">
<Typography
variant="label3"
sx={{
display: 'block',
marginBottom: '-10px',
}}
className="title"
>
{t('content.companyCertificate.upload.certificateTypeTitle')}
</Typography>
<SelectList
Expand All @@ -154,7 +161,14 @@ export default function UploadCompanyCertificate({
keyTitle={'certificateType'}
disabled={certificateTypes?.length === 1}
/>
<Typography variant="h4" className="title">
<Typography
variant="label3"
sx={{
display: 'block',
marginBottom: '-10px',
}}
className="title"
>
{t('content.companyCertificate.upload.certificateSiteTitle')}
</Typography>
<Tooltips
Expand Down Expand Up @@ -187,10 +201,11 @@ export default function UploadCompanyCertificate({
</span>
</Tooltips>
<Typography
variant="h4"
variant="label3"
className="title"
sx={{
marginBottom: '20px',
marginBottom: '15px',
display: 'block',
}}
>
{t('content.companyCertificate.upload.expiry')}
Expand Down Expand Up @@ -219,10 +234,11 @@ export default function UploadCompanyCertificate({
label={''}
/>
<Typography
variant="h4"
variant="label3"
className="title"
sx={{
marginBottom: '20px',
marginBottom: '15px',
display: 'block',
}}
>
{t('content.companyCertificate.upload.uploadDocumentTitle')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ const ConfigurationDetailsOverlay = ({
}}
>
<DialogHeader
title={
<Typography variant="h3">
{t('content.edcconnector.configurationDetails.title')}
</Typography>
}
title={t('content.edcconnector.configurationDetails.title')}
intro={
<Box
sx={{
Expand Down

0 comments on commit 6beb9c5

Please sign in to comment.