Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ce-deploy-ui
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccce
dev
ce-deploy-ui
Commits
c0ac218a
Commit
c0ac218a
authored
6 months ago
by
Johanna Szepanski
Browse files
Options
Downloads
Patches
Plain Diff
Removed no longer used components
parent
e9e1b8ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!612
Release 5.0.0
,
!548
CE-3202-batch-jobs-in-details-view
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/Job/JobBadge.js
+0
-29
0 additions, 29 deletions
src/components/Job/JobBadge.js
src/components/Job/JobIcons.js
+0
-27
0 additions, 27 deletions
src/components/Job/JobIcons.js
src/components/Job/index.js
+1
-3
1 addition, 3 deletions
src/components/Job/index.js
with
1 addition
and
59 deletions
src/components/Job/JobBadge.js
deleted
100644 → 0
+
0
−
29
View file @
e9e1b8ee
import
{
IconBadge
}
from
"
@ess-ics/ce-ui-common
"
;
import
{
JobTypeIcon
}
from
"
./JobIcons
"
;
import
{
InternalLink
}
from
"
@ess-ics/ce-ui-common
"
;
export
function
JobBadge
({
operation
})
{
const
linkToIoc
=
(
<
InternalLink
to
=
{
`/iocs/
${
operation
.
iocId
}
`
}
label
=
{
`IOC details,
${
operation
.
iocName
}
`
}
>
{
operation
.
iocName
}
<
/InternalLink
>
);
return
(
<
IconBadge
icon
=
{
<>
<
JobTypeIcon
type
=
{
operation
.
type
}
colorStyle
=
"
black
"
/>
<
/
>
}
title
=
{
linkToIoc
}
subtitle
=
{
operation
.
host
.
fqdn
||
"
---
"
}
/
>
);
}
This diff is collapsed.
Click to expand it.
src/components/Job/JobIcons.js
+
0
−
27
View file @
c0ac218a
import
{
DeploymentStatusIcon
,
DeploymentTypeIcon
}
from
"
../deployments/DeploymentIcons
"
;
import
{
CommandTypeIcon
}
from
"
../common/Status
"
;
import
{
Box
,
Stack
,
Typography
}
from
"
@mui/material
"
;
import
{
PlayCircleFilled
,
...
...
@@ -11,10 +6,6 @@ import {
RemoveCircleOutline
}
from
"
@mui/icons-material
"
;
export
function
JobStatusIcon
({
status
})
{
return
<
DeploymentStatusIcon
status
=
{
status
}
/>
;
}
const
SemiCircle
=
()
=>
{
return
(
<
Box
...
...
@@ -122,21 +113,3 @@ export const JobTypeIconText = ({ type, iconProps, fontProps }) => {
<
/Stack
>
);
};
// TODO: This will be deleted in later MR
export
function
JobTypeIcon
({
type
,
colorStyle
,
labelPosition
})
{
const
icon
=
[
"
START
"
,
"
STOP
"
].
includes
(
type
)
?
(
<
CommandTypeIcon
type
=
{
type
}
colorStyle
=
{
colorStyle
}
labelPosition
=
{
labelPosition
}
/
>
)
:
(
<
DeploymentTypeIcon
type
=
{
type
}
labelPosition
=
{
labelPosition
}
/
>
);
return
icon
;
}
This diff is collapsed.
Click to expand it.
src/components/Job/index.js
+
1
−
3
View file @
c0ac218a
import
{
JobBadge
}
from
"
./JobBadge
"
;
import
{
JobDetails
}
from
"
./JobDetails
"
;
import
{
JobStatusIcon
,
JobTypeIcon
}
from
"
./JobIcons
"
;
import
{
JobTable
}
from
"
./JobTable
"
;
export
{
Job
Badge
,
JobDetails
,
JobStatusIcon
,
JobTypeIcon
,
JobTable
};
export
{
Job
Details
,
JobTable
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment