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): enhance admin UI #1292

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -7,6 +7,11 @@
- **Use Case Participation**
- fixed columns alignment ui issue [#1247](https://github.com/eclipse-tractusx/portal-frontend/pull/1247)

### Feature

- **Clearinghouse Self-Description**
- enhance admin UI for managing SD document retriggering [#1292](https://github.com/eclipse-tractusx/portal-frontend/pull/1292)

## 2.3.0-RC1

### Change
Expand Down
34 changes: 17 additions & 17 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ npm/npmjs/-/resolve/1.22.8, MIT AND ISC, approved, #15315
npm/npmjs/-/resolve/2.0.0-next.5, MIT AND ISC, approved, #3078
npm/npmjs/-/reusify/1.0.4, MIT, approved, clearlydefined
npm/npmjs/-/rimraf/3.0.2, ISC, approved, clearlydefined
npm/npmjs/-/rollup/4.24.0, MIT, approved, clearlydefined
npm/npmjs/-/rollup/4.24.0, MIT AND (ISC AND MIT), approved, #16917
npm/npmjs/-/run-parallel/1.2.0, MIT, approved, clearlydefined
npm/npmjs/-/safe-array-concat/1.1.2, MIT, approved, clearlydefined
npm/npmjs/-/safe-regex-test/1.0.3, MIT, approved, clearlydefined
Expand Down Expand Up @@ -690,22 +690,22 @@ npm/npmjs/@react-hook/latest/1.0.3, MIT, approved, clearlydefined
npm/npmjs/@reduxjs/toolkit/2.2.7, MIT AND (BSD-2-Clause AND ISC AND MIT) AND Apache-2.0, approved, #14170
npm/npmjs/@remix-run/router/1.19.2, MIT, approved, clearlydefined
npm/npmjs/@rollup/pluginutils/5.1.2, MIT, approved, #16428
npm/npmjs/@rollup/rollup-android-arm-eabi/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-android-arm64/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-darwin-arm64/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-darwin-x64/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-arm-gnueabihf/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-arm-musleabihf/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-arm64-gnu/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-arm64-musl/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-powerpc64le-gnu/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-riscv64-gnu/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-s390x-gnu/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-x64-gnu/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-linux-x64-musl/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-win32-arm64-msvc/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-win32-ia32-msvc/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-win32-x64-msvc/4.24.0, MIT, approved, clearlydefined
npm/npmjs/@rollup/rollup-android-arm-eabi/4.24.0, MIT AND (ISC AND MIT), approved, #16904
npm/npmjs/@rollup/rollup-android-arm64/4.24.0, MIT AND (ISC AND MIT), approved, #16918
npm/npmjs/@rollup/rollup-darwin-arm64/4.24.0, MIT AND (ISC AND MIT), approved, #16908
npm/npmjs/@rollup/rollup-darwin-x64/4.24.0, MIT AND (ISC AND MIT), approved, #16901
npm/npmjs/@rollup/rollup-linux-arm-gnueabihf/4.24.0, MIT AND (ISC AND MIT), approved, #16906
npm/npmjs/@rollup/rollup-linux-arm-musleabihf/4.24.0, MIT AND (ISC AND MIT), approved, #16914
npm/npmjs/@rollup/rollup-linux-arm64-gnu/4.24.0, MIT AND (ISC AND MIT), approved, #16910
npm/npmjs/@rollup/rollup-linux-arm64-musl/4.24.0, MIT AND (ISC AND MIT), approved, #16912
npm/npmjs/@rollup/rollup-linux-powerpc64le-gnu/4.24.0, MIT AND (ISC AND MIT), approved, #16916
npm/npmjs/@rollup/rollup-linux-riscv64-gnu/4.24.0, MIT AND (ISC AND MIT), approved, #16907
npm/npmjs/@rollup/rollup-linux-s390x-gnu/4.24.0, MIT AND (ISC AND MIT), approved, #16919
npm/npmjs/@rollup/rollup-linux-x64-gnu/4.24.0, MIT AND (ISC AND MIT), approved, #16915
npm/npmjs/@rollup/rollup-linux-x64-musl/4.24.0, MIT AND (ISC AND MIT), approved, #16911
npm/npmjs/@rollup/rollup-win32-arm64-msvc/4.24.0, MIT AND (ISC AND MIT), approved, #16909
npm/npmjs/@rollup/rollup-win32-ia32-msvc/4.24.0, MIT AND (ISC AND MIT), approved, #16913
npm/npmjs/@rollup/rollup-win32-x64-msvc/4.24.0, MIT AND (ISC AND MIT), approved, #16902
npm/npmjs/@rtsao/scc/1.1.0, MIT, approved, clearlydefined
npm/npmjs/@sinclair/typebox/0.27.8, MIT, approved, clearlydefined
npm/npmjs/@sinonjs/commons/3.0.1, BSD-3-Clause, approved, #12905
Expand Down
5 changes: 3 additions & 2 deletions src/assets/locales/de/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,13 +1070,14 @@
"heading": "Status der Eigenerklärung",
"description": "Diese Seite bietet einen Überblick über den aktuellen Stand der Eigenerklärungen für Administratoren.",
"reprocess": "Nachverarbeiten",
"complianceStatus": "Compliance-Status:",
"selfDescriptionFactoryInterface": "Self-Description Factory Schnittstelle",
"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."
"noDataMsg": "Keine Datensätze gefunden.",
"statusMsg": "Der Status der Self-Description Factory Schnittstelle kann nur durch Konfiguration (siehe Installationsanleitung) geändert werden"
},
"addUser": {
"headline": "Erstelle einen neuen User",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1075,13 +1075,14 @@
"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:",
"selfDescriptionFactoryInterface": "Self-Description Factory Interface",
"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."
"noDataMsg": "No records found.",
"statusMsg": "The status of the self-description factory interface can only be changed by configuration (see installation manual)"
},
"addUser": {
"headline": "Add User Account",
Expand Down
84 changes: 64 additions & 20 deletions src/components/pages/AdminClearingHouseSD/AdminClearingHouseSD.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@
}

.company-list-container {
max-height: 350px;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
height: 350px;
max-width: 100%;
overflow: auto;
padding: 0;
margin: 0;
list-style-type: none;
}

.legal-person-list {
padding-left: 25px;
}

.section {
Expand All @@ -58,18 +64,35 @@
}

.connectors-list {
gap: 10px;
margin-top: 24px;
max-height: 350px;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
height: 350px;
max-width: 100%;
overflow: auto;
padding: 0;
list-style-type: none;
padding-left: 25px;

.connector {
display: flex;
gap: 80px;
gap: 5px;
padding: 5px;
border-radius: 5px;
align-items: center;

span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
}

.name {
flex: 1;
}

.companyName {
flex: 2;
}
}
}

Expand All @@ -81,22 +104,43 @@
}
}

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

label {
margin-right: 10px;
font-weight: bold;
.status-title {
background-color: #edf0f4;
padding: 20px 25px;
margin-bottom: 20px;
display: flex;
}

.switch-container {
.status {
padding-left: 25px;
display: flex;
justify-content: space-between;
align-items: center;
margin-left: 5px;
}

.status-label {
font-weight: bold;
}

.switch-container {
background-color: #ffffff;
}
}

.list-container {
border: 1px solid rgb(220, 220, 220);
overflow: hidden;
border-radius: 24px;
}

.list-title {
background-color: #f9f9f9;
padding: 15px;
margin-bottom: 10px;
padding-left: 25px;
}

.no-data-msg {
Expand Down
Loading
Loading