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

GitHub integration UI #1209

Merged
merged 15 commits into from
Aug 8, 2023
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
Binary file added ui_src/src/assets/images/githubBanner.webp
Binary file not shown.
Binary file added ui_src/src/assets/images/githubBannerPopup.webp
Binary file not shown.
3 changes: 3 additions & 0 deletions ui_src/src/assets/images/githubBranchIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions ui_src/src/assets/images/githubIntegrationIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui_src/src/assets/images/tickCircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui_src/src/const/apiEndpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const ApiEndpoints = {
GET_ALL_INTEGRATION: '/integrations/getAllIntegrations',
DISCONNECT_INTEGRATION: '/integrations/disconnectIntegration',
REQUEST_INTEGRATION: '/integrations/requestIntegration',
GET_SOURCE_CODE_BRANCHES: '/integrations/getSourceCodeBranches',

//Configuration
GET_CLUSTER_CONFIGURATION: '/configurations/getClusterConfig',
Expand Down
36 changes: 35 additions & 1 deletion ui_src/src/const/integrationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import datadogBannerPopup from '../assets/images/datadogBannerPopup.webp';
import elasticBannerPopup from '../assets/images/elasticBannerPopup.webp';
import grafanaBannerPopup from '../assets/images/grafanaBannerPopup.webp';
import debeziumBannerPopup from '../assets/images/debeziumBannerPopup.webp';

import slackBannerPopup from '../assets/images/slackBannerPopup.webp';
import pagerdutyBanner from '../assets/images/pagerdutyBanner.webp';
import influxDBBanner from '../assets/images/influxDBBanner.webp';
Expand All @@ -25,6 +24,9 @@ import datadogBanner from '../assets/images/datadogBanner.webp';
import grafanaBanner from '../assets/images/grafanaBanner.webp';
import debeziumBanner from '../assets/images/debeziumBanner.webp';
import pagerDutyIcon from '../assets/images/pagerDutyIcon.svg';
import githubIntegrationIcon from '../assets/images/githubIntegrationIcon.svg';
import githubBannerPopup from '../assets/images/githubBannerPopup.webp';
import githubBanner from '../assets/images/githubBanner.webp';
import newrelicIcon from '../assets/images/newrelicIcon.svg';
import influxDBIcon from '../assets/images/influxDBIcon.svg';
import slackBanner from '../assets/images/slackBanner.webp';
Expand Down Expand Up @@ -59,6 +61,10 @@ export const CATEGORY_LIST = {
CDC: {
name: 'CDC',
color: ColorPalette[11]
},
SourceCode: {
name: 'Source Code',
color: ColorPalette[6]
}
};

Expand Down Expand Up @@ -270,6 +276,34 @@ export const INTEGRATION_LIST = {
</div>
)
},
GitHub: {
name: 'Github',
by: 'memphis',
banner: <img className="banner" src={githubBanner} alt="gitHubBanner" />,
insideBanner: <img className="insideBanner" src={githubBannerPopup} alt="slackBannerPopup" />,
icon: <img src={githubIntegrationIcon} alt="gitHubIcon" />,
description:
'GitHub is an open source code repository and collaborative software development platform. Use GitHub repositories to manage your Schemaverse schemas and Functions source code.',
category: CATEGORY_LIST['SourceCode'],
header: (
<div className="header-left-side">
<img src={githubIntegrationIcon} alt="gitHubLogo" />
<div className="details">
<p>GitHub</p>
<span>by memphis</span>
</div>
</div>
),
integrateDesc: (
<div className="integrate-description">
<p>Description</p>
<span className="content">
GitHub is an open source code repository and collaborative software development platform. Use GitHub repositories to manage your Schemaverse schemas
and Functions source code.
</span>
</div>
)
},
Elasticsearch: {
name: 'Elasticsearch observability',
by: 'memphis',
Expand Down
Loading