-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #992 from memphisdev/cloud-dashboard
Cloud dashboard
- Loading branch information
Showing
15 changed files
with
498 additions
and
10 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Copyright 2022-2023 The Memphis.dev Authors | ||
// Licensed under the Memphis Business Source License 1.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// Changed License: [Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0), as published by the Apache Foundation. | ||
// | ||
// https://github.com/memphisdev/memphis/blob/master/LICENSE | ||
// | ||
// Additional Use Grant: You may make use of the Licensed Work (i) only as part of your own product or service, provided it is not a message broker or a message queue product or service; and (ii) provided that you do not use, provide, distribute, or make available the Licensed Work as a Service. | ||
// A "Service" is a commercial offering, product, hosted, or managed service, that allows third parties (other than your own employees and contractors acting on your behalf) to access and/or use the Licensed Work or a substantial set of the features or functionality of the Licensed Work to third parties as a software-as-a-service, platform-as-a-service, infrastructure-as-a-service or other similar services that compete with Licensor products or services. | ||
|
||
import './style.scss'; | ||
|
||
import React from 'react'; | ||
import { useHistory } from 'react-router-dom'; | ||
import pagerDutyIcon from '../../../../src/assets/images/pagerDutyIcon.svg'; | ||
import slackLogo from '../../../../src/assets/images/slackLogo.svg'; | ||
import s3Logo from '../../../../src/assets/images/s3Logo.svg'; | ||
import pathDomains from '../../../router'; | ||
|
||
const Integrations = () => { | ||
const history = useHistory(); | ||
|
||
return ( | ||
<div className="overview-components-wrapper"> | ||
<div className="overview-integrations-container"> | ||
<div className="overview-components-header integrations-header"> | ||
<p>Integrations</p> | ||
<label className="link-to-page" onClick={() => history.push(`${pathDomains.administration}/integrations`)}> | ||
Go to integrations | ||
</label> | ||
</div> | ||
<div className="integrations-list"> | ||
<div className="integration-item"> | ||
<img className="img-icon" src={slackLogo} alt="slack" /> | ||
<label className="integration-name">Slack</label> | ||
</div> | ||
<div className="integration-item"> | ||
<img className="img-icon" src={s3Logo} alt="s3" /> | ||
<label className="integration-name">S3 Bucket</label> | ||
</div> | ||
<div className="integration-item"> | ||
<img className="img-icon" src={pagerDutyIcon} alt="pagerduty" /> | ||
<label className="integration-name">PagerDuty</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Integrations; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.overview-integrations-container { | ||
position: relative; | ||
height: 100%; | ||
padding: 15px; | ||
.integrations-header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
.link-to-page { | ||
font-weight: 500; | ||
font-size: 12 !important; | ||
color: #6557ff !important; | ||
cursor: pointer; | ||
} | ||
} | ||
.integrations-list { | ||
display: flex; | ||
justify-content: space-between; | ||
margin-top: 10px; | ||
.integration-item { | ||
border: 1px solid #f1f1f1; | ||
border-radius: 4px; | ||
padding: 8px; | ||
width: 30%; | ||
.img-icon { | ||
height: 20px; | ||
width: 20px; | ||
} | ||
.integration-name { | ||
font-weight: 600; | ||
font-size: 14px; | ||
color: #2e2c34; | ||
margin-left: 10px; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Copyright 2022-2023 The Memphis.dev Authors | ||
// Licensed under the Memphis Business Source License 1.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// Changed License: [Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0), as published by the Apache Foundation. | ||
// | ||
// https://github.com/memphisdev/memphis/blob/master/LICENSE | ||
// | ||
// Additional Use Grant: You may make use of the Licensed Work (i) only as part of your own product or service, provided it is not a message broker or a message queue product or service; and (ii) provided that you do not use, provide, distribute, or make available the Licensed Work as a Service. | ||
// A "Service" is a commercial offering, product, hosted, or managed service, that allows third parties (other than your own employees and contractors acting on your behalf) to access and/or use the Licensed Work or a substantial set of the features or functionality of the Licensed Work to third parties as a software-as-a-service, platform-as-a-service, infrastructure-as-a-service or other similar services that compete with Licensor products or services. | ||
|
||
import './style.scss'; | ||
|
||
import React from 'react'; | ||
import { useHistory } from 'react-router-dom'; | ||
import { Divider } from 'antd'; | ||
import pathDomains from '../../../router'; | ||
import SchemaChart from './schemaChart'; | ||
|
||
const Schemaverse = () => { | ||
const history = useHistory(); | ||
return ( | ||
<div className="overview-components-wrapper"> | ||
<div className="overview-schema-container"> | ||
<div className="overview-components-header schemaverse-header"> | ||
<p> Schemaverse </p> | ||
<label className="link-to-page" onClick={() => history.push(`${pathDomains.schemaverse}/list`)}> | ||
Go to schemaverse | ||
</label> | ||
</div> | ||
<div className="total-data"> | ||
<span> | ||
<p className="total-measure">Total Schemas</p> | ||
<p className="total-value">50</p> | ||
</span> | ||
<Divider type="vertical" /> | ||
<span> | ||
<p className="total-measure">Enforced Schemas</p> | ||
<p className="total-value">50</p> | ||
</span> | ||
</div> | ||
<div className="total-data"> | ||
<SchemaChart | ||
schemas={[ | ||
{ name: 'Protobuf', usage: 15 }, | ||
{ name: 'Json', usage: 7 }, | ||
{ name: 'Avro', usage: 3 } | ||
]} | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Schemaverse; |
Oops, something went wrong.