Skip to content

Commit

Permalink
Merge pull request eclipse-tractusx#945 from eclipse-tractusx/release…
Browse files Browse the repository at this point in the history
…/v2.1.0-RC2

build(2.1.0-rc2): merge main into main
  • Loading branch information
evegufy authored Jul 22, 2024
2 parents 00e9a4b + 67a9368 commit df7a014
Show file tree
Hide file tree
Showing 24 changed files with 382 additions and 207 deletions.
36 changes: 35 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,40 @@
- Fixed incorrect usage of pre-commit hook
- Fix consistency issue in constants file. Use camel case for all page paths. Update corresponding usage in other files

## 2.1.0-RC2

### Feature

- **Imprint**:
- updated imprint page with anonymized data [#906](https://github.com/eclipse-tractusx/portal-frontend/pull/906)

### Bugfixes

- **Company Data Management**:
- removed unwanted input forms [#887](https://github.com/eclipse-tractusx/portal-frontend/issues/887)
- fixed crash issue in details page
- added error handling component in table [#888](https://github.com/eclipse-tractusx/portal-frontend/issues/888)
- **User Management**:
- fixed disable button state when deselect all checkboxes [#923](https://github.com/eclipse-tractusx/portal-frontend/pull/923)
- **Connector Management**:
- updated GET endpoint for 'Connect Company Connector' to consider technical user status [#938](https://github.com/eclipse-tractusx/portal-frontend/pull/938)
- **UI Language**
- updated translations in locale files [#935](https://github.com/eclipse-tractusx/portal-frontend/pull/935)
- **Application Requests**:
- made UI improvements [#911](https://github.com/eclipse-tractusx/portal-frontend/pull/911)
- **Connector Management**:
- show appropriate error information to the user along with refetch button [#923](https://github.com/eclipse-tractusx/portal-frontend/issues/923)
- **App marketplace**:
- show appropriate error information to the user along with refetch button [#910](https://github.com/eclipse-tractusx/portal-frontend/pull/910)
- **Service Marketplace**:
- show appropriate error information to the user along with refetch button [#910](https://github.com/eclipse-tractusx/portal-frontend/pull/910)

### Technical Support

- **Upgraded dependencies**
- bumped braces from 3.0.2 to 3.0.3 [#927](https://github.com/eclipse-tractusx/portal-frontend/pull/927)
- bumped ws from 8.16.0 to 8.18.0 [#928](https://github.com/eclipse-tractusx/portal-frontend/pull/928)

## 2.1.0-RC1

### Change
Expand All @@ -34,7 +68,7 @@
- **Connector Management**:
- released connector detail view including change connector url, view SD document, etc. Add details overlay [#848](https://github.com/eclipse-tractusx/portal-frontend/pull/848)

### Technical Maintenance
### Technical Support

- **Dependencies**:
- bumped GitHub actions [#846](https://github.com/eclipse-tractusx/portal-frontend/pull/846)
Expand Down
6 changes: 3 additions & 3 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npm/npmjs/-/base64-js/1.5.1, MIT, approved, clearlydefined
npm/npmjs/-/binary-extensions/2.3.0, MIT, approved, #13867
npm/npmjs/-/brace-expansion/1.1.11, MIT, approved, clearlydefined
npm/npmjs/-/brace-expansion/2.0.1, MIT, approved, clearlydefined
npm/npmjs/-/braces/3.0.2, MIT, approved, #14866
npm/npmjs/-/braces/3.0.3, MIT, approved, #14866
npm/npmjs/-/browserslist/4.23.0, MIT, approved, clearlydefined
npm/npmjs/-/bs-logger/0.2.6, MIT, approved, clearlydefined
npm/npmjs/-/bser/2.1.1, Apache-2.0, approved, clearlydefined
Expand Down Expand Up @@ -168,7 +168,7 @@ npm/npmjs/-/fastq/1.17.1, ISC, approved, clearlydefined
npm/npmjs/-/fb-watchman/2.0.2, MIT AND Apache-2.0, approved, #5379
npm/npmjs/-/file-entry-cache/6.0.1, MIT, approved, clearlydefined
npm/npmjs/-/file-selector/0.6.0, MIT, approved, #3230
npm/npmjs/-/fill-range/7.0.1, MIT, approved, clearlydefined
npm/npmjs/-/fill-range/7.1.1, MIT, approved, #14867
npm/npmjs/-/find-root/1.1.0, MIT, approved, clearlydefined
npm/npmjs/-/find-up/4.1.0, MIT, approved, clearlydefined
npm/npmjs/-/find-up/5.0.0, MIT, approved, clearlydefined
Expand Down Expand Up @@ -544,7 +544,7 @@ npm/npmjs/-/which/2.0.2, ISC, approved, clearlydefined
npm/npmjs/-/wrap-ansi/7.0.0, MIT, approved, clearlydefined
npm/npmjs/-/wrappy/1.0.2, ISC, approved, clearlydefined
npm/npmjs/-/write-file-atomic/4.0.2, ISC, approved, clearlydefined
npm/npmjs/-/ws/8.16.0, MIT, approved, clearlydefined
npm/npmjs/-/ws/8.18.0, MIT, approved, clearlydefined
npm/npmjs/-/xml-name-validator/4.0.0, Apache-2.0, approved, clearlydefined
npm/npmjs/-/xmlchars/2.2.0, MIT, approved, clearlydefined
npm/npmjs/-/y18n/5.0.8, ISC, approved, clearlydefined
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@catena-x/portal-frontend",
"version": "v2.1.0-RC1",
"version": "v2.1.0-RC2",
"description": "Catena-X Portal Frontend",
"author": "Catena-X Contributors",
"license": "Apache-2.0",
Expand Down
17 changes: 11 additions & 6 deletions src/assets/locales/de/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
"imprint": {
"title": "Abdruck",
"directors": "Verwaltungsrat",
"ceo": "HAUPTGESCHÄFTSFÜHRER",
"deputyCeo": "Stellvertretender Geschäftsführer",
"treasurer": "Schatzmeister",
"ceo": "CEO: [Platzhalter für CEO-Name]",
"deputyCeo": "Stellvertretender CEO: [Platzhalter für Name des stellvertretenden CEO]",
"treasurer": "Schatzmeister: [Platzhalter für Name des Schatzmeisters]",
"address": "Adresse",
"contact&support": "Kontakt & Support",
"contact&supportDesc": "Antworten auf viele Fragen finden Sie auf unserer Support-Seite. Sollte Ihre Frage nicht beantwortet werden, nutzen Sie bitte unser Kontaktformular. Alternativ können Sie uns auch per E-Mail unter [email protected] kontaktieren.",
"contact&Support": "Kontakt & Support",
"contact&SupportDesc": "Wenn Sie Hilfe benötigen, besuchen Sie bitte unsere Support-Seite oder nutzen Sie das Kontaktformular auf unserer Website. Für direkte Anfragen kontaktieren Sie uns über die bereitgestellten Kanäle auf der Kontaktseite.",
"privacy": "Privatsphäre",
"privacyDesc": "Für Fragen zum Datenschutz und Informationen darüber, welche Daten bei Ihnen erhoben werden, finden Sie alle Details unter folgendem Link:"
"privacyDesc": "Für Fragen zum Datenschutz und Informationen darüber, welche Daten bei Ihnen erhoben werden, finden Sie alle Details unter folgendem Link:",
"privacyPolicy": "Datenschutzrichtlinie",
"nameOfOrganization": "[Name der Organisation]",
"careOf": "c/o [Platzhalter für Dienstleistungsunternehmen]",
"street": "[Platzhalter für Straße]",
"postalCode&City": "[Platzhalter für Postleitzahl und Ort]"
},
"privacy": {
"title": "Privatsphäre",
Expand Down
57 changes: 31 additions & 26 deletions src/assets/locales/de/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Lang_en": "Sprache auf Englisch stellen"
},
"error": {
"deleteTechUserNotificationErrorDescription": "Please try it later again or contact your administrator.",
"deleteTechUserNotificationErrorDescription": "Bitte versuchen Sie es später noch einmal oder wenden Sie sich an Ihren Administrator.",
"tryAgain": "Try Again",
"errorBar": "Something went wrong. Try again",
"title": "Hoppla! Etwas ist schiefgelaufen.",
Expand Down Expand Up @@ -165,7 +165,7 @@
"admin": {
"registration-requests": {
"columns": {
"companyinfo": "Bewerbungsinformationen des Unternehmens",
"companyinfo": "Unternehmen",
"contact": "Kontakt",
"bpn": "BPN",
"age": "Alter",
Expand Down Expand Up @@ -204,7 +204,8 @@
"appProvider": "App Anbieter",
"onboardingProvider": "Onboarding Service Anbieter",
"serviceProvider": "Service Anbieter",
"noinfo": "no data available",
"noinfo": "Keine Daten verfügbar",
"noRolesAvailable": "Keine Rollen verfügbar",
"commercialRegisterNumber": "Handelsregisternummer",
"vatId": "VAT ID",
"leiCode": "LEI Code",
Expand Down Expand Up @@ -233,10 +234,10 @@
"error": "Bitte überprüfen Sie Ihre Eingabe erneut; Die Nachricht sollte nicht mit '=' beginnen."
},
"addBpn": {
"successTitle": "Update BPN number successfully completed",
"successDescription": "Update BPN number successfully completed.",
"successTitle": "Aktualisierung der BPN-Nummer erfolgreich abgeschlossen",
"successDescription": "Aktualisierung der BPN-Nummer erfolgreich abgeschlossen",
"errorTitle": "Something went wrong",
"errorDescription": "Something went wrong. Please try it later again or contact your administrator."
"errorDescription": "Something went wrong. Bitte versuchen Sie es später noch einmal oder wenden Sie sich an Ihren Administrator."
},
"filter": {
"all": "Alle",
Expand Down Expand Up @@ -322,7 +323,9 @@
"modularproduction": "Modular Production"
},
"noMatch": "Keine Treffer",
"for": "zu Ihrem Suchausdruck"
"for": "zu Ihrem Suchausdruck",
"dataLoadFailed": "Das Laden der Daten ist aufgrund fehlender Berechtigungsrechte fehlgeschlagen.",
"loadFailed": "Laden fehlgeschlagen"
}
},
"semantichub": {
Expand Down Expand Up @@ -937,42 +940,42 @@
},
"deleteUserConfirm": {
"header": "Delete user account",
"confirmTitle": "Are you sure you want to delete the user account of {userName}?",
"description": "By deleting the account, the access of this user to Catena-X as well as any rights and data access will get revoked.",
"note": "Note: If you delete the account now, you wont be able to reactivate it later.",
"confirmTitle": "Sind Sie sicher, dass Sie das Benutzerkonto von {userName} löschen möchten?",
"description": "Durch das Löschen des Kontos werden dem Benutzer der Zugriff auf Catena-X sowie sämtliche Rechte und Datenzugriffe entzogen.",
"note": "Hinweis: Wenn Sie das Konto jetzt löschen, können Sie es später nicht erneut aktivieren.",
"successTitle": "User successfully deleted",
"successDescription": "The user got successfully deleted. All rights have been disabled. Please note that the user might still be able to use the application for the next 10 minutes. Latest in 10 minutes the user is automatically logged out and a new login attempt will get declined",
"successDescription": "Der Benutzer wurde erfolgreich gelöscht. Alle Rechte wurden deaktiviert. Bitte beachten Sie, dass der Benutzer die Anwendung möglicherweise noch in den nächsten 10 Minuten nutzen kann. Spätestens nach 10 Minuten wird der Benutzer automatisch abgemeldet und ein neuer Anmeldeversuch wird abgelehnt",
"errorTitle": "Something went wrong",
"errorDescription": "Your user couldn't get deleted. Please try it later again or contact your administrator."
"errorDescription": "Ihr Benutzer konnte nicht gelöscht werden. Bitte versuchen Sie es später noch einmal oder wenden Sie sich an Ihren Administrator."
},
"suspendUserConfirm": {
"header": "Suspend user account",
"confirmTitle": "Are you sure you want to suspend the user account of {userName}?",
"description": "By suspending the account, the access of this user to Catena-X as well as any permissions and data accesses will get deactivated temporarily.",
"note": "Note: Suspended accounts can get reactivated anytime.",
"confirmTitle": "Sind Sie sicher, dass Sie das Benutzerkonto von {userName} sperren möchten?",
"description": "Durch die Sperrung des Kontos werden der Zugriff dieses Benutzers auf Catena-X sowie alle Berechtigungen und Datenzugriffe vorübergehend deaktiviert.",
"note": "Hinweis: Gesperrte Konten können jederzeit reaktiviert werden.",
"successTitle": "User successfully suspended",
"successDescription": "The user is successfully suspended and all rights are disabled.",
"successDescription": "Der Benutzer wurde erfolgreich gesperrt und alle Rechte wurden deaktiviert.",
"errorTitle": "Something went wrong",
"errorDescription": "Your user couldn't get suspended. Please try it later again or contact your administrator."
"errorDescription": "Ihr Benutzer konnte nicht gesperrt werden. Bitte versuchen Sie es später noch einmal oder wenden Sie sich an Ihren Administrator."
},
"resetPasswordConfirm": {
"header": "Password Reset",
"confirmTitle": "Are you sure you want to reset the password?",
"note": "The user {userName} will receive an email to reset the password.",
"successTitle": "Password Reset successfully triggered",
"successDescription": "The password reset request got send to {userName}.",
"note": "Der Benutzer {userName} erhält eine E-Mail zum Zurücksetzen des Passworts.",
"successTitle": "Passwort-Reset erfolgreich ausgelöst",
"successDescription": "Die Anfrage zum Zurücksetzen des Passworts wurde an {userName} gesendet.",
"errorTitle": "Something went wrong",
"errorDescription": "The password reset was unsuccessful. Please try it later again or contact the administrator."
"errorDescription": "Das Zurücksetzen des Passworts war nicht erfolgreich. Bitte versuchen Sie es später noch einmal oder wenden Sie sich an den Administrator."
},
"deleteOwnUserConfirm": {
"header": "Delete my user account",
"confirmTitle": "Are you sure you want to delete this user account?",
"description": "By deleting the account, the access of this user to Catena-X as well as any rights and data access will get revoked.",
"note": "Note: If you delete the account now, you wont be able to reactivate it later.",
"confirmTitle": "Sind Sie sicher, dass Sie dieses Benutzerkonto löschen möchten?",
"description": "Durch das Löschen des Kontos werden dem Benutzer der Zugriff auf Catena-X sowie sämtliche Rechte und Datenzugriffe entzogen.",
"note": "Hinweis: Wenn Sie das Konto jetzt löschen, können Sie es später nicht erneut aktivieren.",
"successTitle": "User successfully deleted",
"successDescription": "Your user got successfully deleted, you will get disconnected within the following 5 seconds.",
"successDescription": "Ihr Benutzer wurde erfolgreich gelöscht. Ihre Verbindung wird innerhalb der folgenden 5 Sekunden getrennt.",
"errorTitle": "Something went wrong",
"errorDescription": "Your user couldn't get deleted. Please try it later again or contact your administrator."
"errorDescription": "Ihr Benutzer konnte nicht gelöscht werden. Bitte versuchen Sie es später noch einmal oder wenden Sie sich an Ihren Administrator."
}
},
"idpmanagement": {
Expand Down Expand Up @@ -1379,6 +1382,8 @@
"noDataMessage": "No data available",
"subscriptionHeading": ">> there are already active subscriptions for the service {serviceName}",
"subscribeSuccessMsg": "Subscribed Successfully",
"dataLoadFailed": "Das Laden der Daten ist aufgrund fehlender Berechtigungsrechte fehlgeschlagen.",
"loadFailed": "Laden fehlgeschlagen",
"newServices": "New Services",
"recommendations": "Recommendations",
"allServices": "All Services",
Expand Down
17 changes: 11 additions & 6 deletions src/assets/locales/en/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
"imprint": {
"title": "Imprint",
"directors": "Board of Directors",
"ceo": "CEO",
"deputyCeo": "Deputy CEO",
"treasurer": "Treasurer",
"ceo": "CEO: [Placeholder for CEO Name]",
"deputyCeo": "Deputy CEO: [Placeholder for Deputy CEO Name]",
"treasurer": "Treasurer: [Placeholder for Treasurer Name]",
"address": "Address",
"contact&support": "Contact & Support",
"contact&supportDesc": "You can find answers to many questions on our support page. If your question is not answered, please use our contact form. Alternatively, you can also contact us by email at [email protected].",
"contact&Support": "Contact & Support",
"contact&SupportDesc": "For assistance, please refer to our support page or use the contact form provided on our website. For direct inquiries, contact us via the provided channels on the contact page.",
"privacy": "Privacy",
"privacyDesc": "For questions about data protection and information about what data is collected from you, you can find all the details under the following link:"
"privacyDesc": "For questions about data protection and information about what data is collected from you, you can find all the details under the following link:",
"privacyPolicy": "Privacy Policy",
"nameOfOrganization": "[Name of the Organization]",
"careOf": "c/o [Service Company Placeholder]",
"street": "[Placeholder for Street]",
"postalCode&City": "[Placeholder for Postal Code and City]"
},
"privacy": {
"title": "Privacy",
Expand Down
11 changes: 8 additions & 3 deletions src/assets/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"admin": {
"registration-requests": {
"columns": {
"companyinfo": "Company Application Info",
"companyinfo": "Company",
"contact": "Contact",
"bpn": "BPN",
"age": "Age",
Expand Down Expand Up @@ -203,7 +203,8 @@
"appProvider": "App Provider",
"onboardingProvider": "Onboarding Service Provider",
"serviceProvider": "Service Provider",
"noinfo": "no data available",
"noinfo": "No data available",
"noRolesAvailable": "No roles available",
"commercialRegisterNumber": "Commercial Register Number",
"vatId": "VAT ID",
"leiCode": "LEI Code",
Expand Down Expand Up @@ -321,7 +322,9 @@
"modularproduction": "Modular Production"
},
"noMatch": "No Match",
"for": "for your search term"
"for": "for your search term",
"dataLoadFailed": "Data Load Failed due to missing permission rights.",
"loadFailed": "Load Failed"
}
},
"semantichub": {
Expand Down Expand Up @@ -1346,6 +1349,8 @@
"noDataMessage": "No data available",
"subscriptionHeading": ">> there are already active subscriptions for the service {serviceName}",
"subscribeSuccessMsg": "Subscribed Successfully",
"dataLoadFailed": "Data Load Failed due to missing permission rights.",
"loadFailed": "Load Failed",
"newServices": "New Services",
"recommendations": "Recommendations",
"allServices": "All Services",
Expand Down
9 changes: 5 additions & 4 deletions src/components/overlays/EditPortalRoles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,11 @@ export default function EditPortalRoles({ id }: { id: string }) {
}

const checkConfirmButton = () =>
assignedRoles &&
selectedRoles &&
assignedRoles.length === selectedRoles.length &&
assignedRoles.every((value) => selectedRoles.includes(value))
selectedRoles.length === 0 ||
(assignedRoles &&
selectedRoles &&
assignedRoles.length === selectedRoles.length &&
assignedRoles.every((value) => selectedRoles.includes(value)))

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,7 @@ const CompanyDetailOverlay = ({
)}
</>
) : (
<Typography
sx={{
padding: '20px',
}}
variant="body1"
>
<Typography sx={{ padding: '20px' }} variant="body3">
{t('content.admin.registration-requests.overlay.noinfo')}
</Typography>
)}
Expand All @@ -241,17 +236,25 @@ const CompanyDetailOverlay = ({
key: '',
value: (
<>
{selectedCompany?.companyRoles?.map(
(role: { companyRole: string }) => (
<StatusTag
key={role.companyRole}
color="label"
label={getLocaleStr(role.companyRole)}
sx={{
marginRight: '8px',
}}
/>
{selectedCompany?.companyRoles?.length > 0 ? (
selectedCompany?.companyRoles?.map(
(role: { companyRole: string }) => (
<StatusTag
key={role.companyRole}
color="label"
label={getLocaleStr(role.companyRole)}
sx={{
marginRight: '8px',
}}
/>
)
)
) : (
<Typography sx={{ padding: '20px' }} variant="body3">
{t(
'content.admin.registration-requests.overlay.noRolesAvailable'
)}
</Typography>
)}
</>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ export const RequestList = ({
return (
<section id="registration-section-id">
<PageLoadingTable<ApplicationRequest, FetchHookArgsType>
sx={{
'.MuiDataGrid-cell': {
alignContent: 'center !important',
},
}}
autoFocus={false}
searchExpr={searchExpr}
rowHeight={90}
Expand Down
Loading

0 comments on commit df7a014

Please sign in to comment.