Skip to content

Commit

Permalink
Revert "Implement data transfer button (#114)"
Browse files Browse the repository at this point in the history
This reverts commit c0475f2.
  • Loading branch information
devbysp authored Oct 21, 2024
1 parent c0475f2 commit 6e332d7
Show file tree
Hide file tree
Showing 78 changed files with 162 additions and 1,379 deletions.
23 changes: 0 additions & 23 deletions .coverageignore
Original file line number Diff line number Diff line change
@@ -1,23 +0,0 @@
src/components/ItemCard/OntologyCardContent.tsx
src/components/ItemCard/ServiceCardContent.tsx
src/components/ItemCard/ShapeCardContent.tsx
src/components/cards/CardContainer.tsx
src/components/cards/DetailsCard.tsx
src/components/cards/SidebarCard.tsx
src/components/detailsPage/pages/ontologies/OntologyMainContent.tsx
src/components/detailsPage/pages/ontologies/components/actions/OntologyActions.tsx
src/components/detailsPage/pages/ontologies/components/suitableOfferings/OntologySuitableOfferings.tsx
src/components/detailsPage/pages/resources/ResourceDetailsPage.tsx
src/components/detailsPage/pages/resources/ResourceMainContent.tsx
src/components/headerWithImage/HeaderWithImage.tsx
src/components/nocontent/NoContent.tsx
src/components/ontologies/Ontologies.tsx
src/components/resources/ResourceSearchPage.tsx
src/components/resources/components/ResourceBuyingModal.tsx
src/components/resources/hooks/useTransferState.ts
src/components/serviceOfferings/ServiceOfferings.tsx
src/components/shapes/Shapes.tsx
src/pages/home/Home.tsx
src/services/edcServiceApi.ts
src/types/edc.model.ts
src/utils/timers.ts
8 changes: 1 addition & 7 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ REACT_APP_REALM_NAME=gaia-x
REACT_APP_EDGE_API_URI=https://portal.gxfs.dev/api
REACT_APP_FEDERATED_CATALOGUE_API_URL=https://fc-server.gxfs.gx4fm.org
REACT_APP_CLIENT_ID=federated-catalogue
REACT_APP_KEYCLOAK_API_URL=https://fc-keycloak.gxfs.gx4fm.org
REACT_APP_KEYCLOAK_API_URL=https://fc-keycloak.gxfs.gx4fm.org/
REACT_APP_SD_WIZARD_API=https://sd-creation-wizard-api.gxfs.gx4fm.org

REACT_APP_API_KEY=password
REACT_APP_DEFAULT_EDC_CONSUMER=https://edc-co.gxfs.gx4fm.org
REACT_APP_DEFAULT_EDC_DESTINATION_ACCOUNT=msgedcstorage
REACT_APP_DEFAULT_EDC_DESTINATION_CONTAINER=uc1-dest

WATCHPACK_POLLING=true

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"typescript": "3.3.1",
"url": "^0.11.3",
"util": "^0.12.5",
"uuid": "^9.0.0",
"vis-network": "^9.1.9",
"web-vitals": "^2.1.4"
},
Expand Down
13 changes: 1 addition & 12 deletions public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,17 +262,6 @@
"submit": "Submit",
"lAddress": "Address"
},
"buy-dialog": {
"edc-address": "EDC Management-Endpoint",
"enter-edc-address": "Bitte geben Sie den Management-Endpoint Ihres EDC ein",
"edc-destination-account": "Ziel Konto",
"enter-edc-destination-account": "Bitte geben Sie den ziel Konto ein",
"edc-destination-container": "Ziel Container",
"enter-edc-destination-container": "Bitte geben sie den zie Container ein",
"transfer-state": "Transfer Status",
"transfer-button": "Übertragen",
"cancel-button": "Abbrechen"
},
"filler": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Tortor posuere nec id purus turpis enim ornare dapibus vitae. Sit arcu sodales dui lectus varius magna turpis imperdiet. Bibendum amet enim aenean tincidunt diam faucibus. Tortor libero quis est feugiat mattis lorem. Dignissim aliquam amet eget etiam auctor facilisi nisl.",
"footer_slogan_cap": " powered by",
"footer_bmwk_eu": "Logo: Finanziert von der Europäischen Union, Gefördert durch Bundesministerium fpr Wirtschaft und Klimaschutz",
Expand Down Expand Up @@ -509,7 +498,7 @@
},
"details": {
"title": "Details",
"sidebar-buy-button": "Kaufen",
"sidebar-button-label": "Kontaktieren oder kaufen",
"contact-or-buy-button-notification": "Daten wurden übertragen",
"more-details": "Mehr Details",
"view-graph": "Graph anzeigen",
Expand Down
13 changes: 1 addition & 12 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,6 @@
"submit": "Submit",
"lAddress": "Address"
},
"buy-dialog": {
"edc-address": "EDC management-endpoint",
"enter-edc-address": "Please enter the management endpoint of your EDC",
"edc-destination-account": "Destination account",
"enter-edc-destination-account": "Please enter the destination account for data transfer",
"edc-destination-container": "Destination container",
"enter-edc-destination-container": "Please enter the destination container for data transfer",
"transfer-state": "Transfer state",
"transfer-button": "Transfer",
"cancel-button": "Cancel"
},
"filler": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Tortor posuere nec id purus turpis enim ornare dapibus vitae. Sit arcu sodales dui lectus varius magna turpis imperdiet. Bibendum amet enim aenean tincidunt diam faucibus. Tortor libero quis est feugiat mattis lorem. Dignissim aliquam amet eget etiam auctor facilisi nisl.",
"footer_slogan_cap": " ",
"footer_bmwk_eu": "Logo: Finanziert von der Europäischen Union, Gefördert durch Bundesministerium fpr Wirtschaft und Klimaschutz",
Expand Down Expand Up @@ -511,7 +500,7 @@
},
"details": {
"title": "Details",
"sidebar-buy-button": "Buy",
"sidebar-button-label": "Contact or buy",
"contact-or-buy-button-notification": "Data was transferred",
"more-details": "More details",
"view-graph": "View graph",
Expand Down
8 changes: 2 additions & 6 deletions src/Modal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* test coverage not required */
import React from 'react';
import ReactDOM from 'react-dom';
import styled from 'styled-components';
Expand Down Expand Up @@ -30,10 +29,7 @@ overflow: auto;
}
`;

/**
* Please use the typescript version of this modal {@link Modal}
*/
const DeprecatedModal = props => {
const Modal = props => {
return ReactDOM.createPortal(
<Dimmer onClick={props.onDismiss}>
<ModalDiv onClick={(e)=> e.stopPropagation()} {...props}>
Expand All @@ -45,4 +41,4 @@ const DeprecatedModal = props => {

};

export default DeprecatedModal;
export default Modal;
38 changes: 0 additions & 38 deletions src/common/components/buttons/GaiaXButton.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions src/common/components/dialogs/Modal/Modal.module.css

This file was deleted.

30 changes: 0 additions & 30 deletions src/common/components/dialogs/Modal/Modal.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions src/common/components/dialogs/Modal/ModalBody.module.css

This file was deleted.

15 changes: 0 additions & 15 deletions src/common/components/dialogs/Modal/ModalBody.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions src/common/components/dialogs/Modal/ModalFooter.module.css

This file was deleted.

15 changes: 0 additions & 15 deletions src/common/components/dialogs/Modal/ModalFooter.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions src/common/components/dialogs/Modal/ModalHeader.module.css

This file was deleted.

15 changes: 0 additions & 15 deletions src/common/components/dialogs/Modal/ModalHeader.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions src/common/components/dialogs/Modal/ModalXButton.module.css

This file was deleted.

19 changes: 0 additions & 19 deletions src/common/components/dialogs/Modal/ModalXButton.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/common/components/fields/Text/Text.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions src/common/exceptions/BusinessObjectNotFound.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/common/exceptions/MultipleBusinessObjectsFound.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/ItemCard/OntologyCardContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React, { FC } from 'react';
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router-dom';

import GaiaXButton from '../../common/components/buttons/GaiaXButton';
import Markdown from '../../common/markdown/Markdown';
import { Ontology } from '../../types/ontologies.model';
import Title from '../Title/Title';
import GaiaXButton from '../buttons/GaiaXButton';

import styles from './ItemCard.module.css';

Expand Down
Loading

0 comments on commit 6e332d7

Please sign in to comment.