Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clearinghouse self-description): add admin UI to retrigger document creation #1141

Merged
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
- **Connector Management**
- fixed customer link selection and fixed resetting values [#1119](https://github.com/eclipse-tractusx/portal-frontend/pull/1119)

### Feature

- **Clearinghouse Self-Description**
- Admin UI for Managing SD Document Retriggering [#1141](https://github.com/eclipse-tractusx/portal-frontend/pull/1141)

## 2.2.0-alpha.1

### Bugfixes
Expand Down
12 changes: 12 additions & 0 deletions src/assets/locales/de/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,18 @@
"metadata_url_required_error": "Metadaten-URL ist erforderlich",
"metadata_url_invalid_error": "Bitte geben Sie eine gültige Metadaten-URL ein"
},
"clearinghouseSelfDescription": {
"heading": "Status der Eigenerklärung",
"description": "Diese Seite bietet einen Überblick über den aktuellen Stand der Selbstbeschreibungen für Administratoren.",
evegufy marked this conversation as resolved.
Show resolved Hide resolved
"reprocess": "Nachverarbeiten",
"complianceStatus": "Compliance-Status:",
"legalPerson": "Juristische Person",
"legalPersonDesc": "Übersicht über Unternehmen mit fehlender Eigenerklärung einer juristischen Person",
"connectors": "Connectors",
"connectorsDesc": "Übersicht über Unternehmen mit fehlender Eigenerklärung der Konnektoren",
"errorMsg": "Fehler! Etwas ist schief gelaufen",
"noDataMsg": "Keine Datensätze gefunden."
},
"addUser": {
"headline": "Erstelle einen neuen User",
"subheadline": "Fügen Sie ein neues Benutzerkonto hinzu, indem Sie den Vor- und Nachnamen des Benutzers sowie die E-Mail-Adresse hinterlegen. Wählen Sie unterhalb der Eingabefelder die jeweiligen Benutzerrollen aus, die der Benutzer haben soll. Eine Rolle ist mindestens erforderlich, um dem Benutzer den Zugriff auf das Netzwerk zu ermöglichen.",
Expand Down
13 changes: 13 additions & 0 deletions src/assets/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"technicalSetup": "Technical Integration",
"connectorManagement": "Connector Management",
"applicationRequests": "Application Requests",
"clearinghouseSelfDescription": "Clearinghouse Self-Description",
"admin": "Administration",
"developer": "Development",
"invite": "Invite Business Partner",
Expand Down Expand Up @@ -1070,6 +1071,18 @@
"metadata_url_required_error": "Metadata url is required",
"metadata_url_invalid_error": "Please enter valid metadata url"
},
"clearinghouseSelfDescription": {
"heading": "Self-Description Document Status",
"description": "This page provides an overview of the current status of self-descriptions for administrators.",
"reprocess": "Reprocess",
"complianceStatus": "Compliance Status:",
"legalPerson": "Legal Person",
"legalPersonDesc": "Overview of companies with missing legal person self-description",
"connectors": "Connectors",
"connectorsDesc": "Overview of companies with missing connector self-description",
"errorMsg": "Error! Something went wrong",
"noDataMsg": "No records found."
},
"addUser": {
"headline": "Add User Account",
"subheadline": "Add a new user account by adding the user first and last name as well as the email address. Below the input fields select the respective user roles which the user should have. One role is minimum needed to enable the user to access the network.",
Expand Down
107 changes: 107 additions & 0 deletions src/components/pages/AdminClearingHouseSD/AdminClearingHouseSD.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/********************************************************************************
* Copyright (c) 2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

.admin-container {
padding: 50px 15px;

.loading-progress {
display: flex;
justify-content: center;
align-items: center;
height: 50vh;
}

.heading {
text-align: center;
}

.description {
text-align: center;
margin: 34px auto 64px;
width: 70%;
}

.company-list-container {
max-height: 350px;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}

.section {
margin-bottom: 20px;

ul {
margin-top: 24px;
list-style-type: none;
padding-left: 0;

li {
margin-bottom: 5px;
}
}

.connectors-list {
gap: 10px;
margin-top: 24px;
max-height: 350px;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;

.connector {
display: flex;
gap: 80px;
padding: 5px;
border-radius: 5px;
}
}

.btn-container {
display: flex;
margin-top: 20px;
align-items: flex-end;
justify-content: flex-end;
}
}

.compliance-status {
display: flex;
align-items: center;
margin-bottom: 40px;
margin-top: 50px;

label {
margin-right: 10px;
font-weight: bold;
}

.switch-container {
display: flex;
align-items: center;
margin-left: 5px;
}
}

.no-data-msg {
text-align: center;
margin-top: 24px;
margin-bottom: 24px;
}
}
Loading
Loading